ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Set​Window​Title

by gwenzek ST3 Linux

Configure the title of your Sublime Text windows

Details

Installs

  • Total 8
  • Win 0
  • OS X 0
  • Linux 8
Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 1 0 0 0 0 1 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Overview

This plugin allows you to configure the title of your Sublime Text windows. Every time you switch view, save a view, start editing a view, it will update the window title.

Installation

This package is avalaible on PackageControl.

Requirement

On Windows it should work out of the box. On Linux the plugin assume you have installed xdotool. If you have any ideas on how to do that on MacOS, please submit a PR.

Configuration

Please look at the settings to read the documentation.

Room for improvement

  • Currently the bash script that modifies the window title needs the PID of the target window. As there is no ST API for that, the script list all ST windows and rename the one with a name matching the expected name. If there was a reliable way to find the PID of the correct window then we could drop the get_official_name method, and simplify the script a lot.

  • For some reason some chars aren't displayed correctly (Linux).

Thanks

Thanks to cjdoris for implementing Windows support.