FullScreenStatus
Detect programmatically if Sublime Text is running on full screen or distraction free mode
Details
Installs
- Total 3K
- Win 1K
- Mac 1K
- Linux 405
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 | Oct 8 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 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 | 1 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
FullScreenStatus
FullScreenStatus is a Sublime Text plugin that is designed to be used by other plugins. It helps to detect if Sublime Text is running on full screen mode, distraction free mode or normal mode. Current Sublime Text version (ST 3 Build 3047) does not provide this information via its API.
Overview
Installation
Package Control
The preferred method of installation is via Sublime Package Control.
- Install Package Control
- Open command palette with Ctrl Shift P
- Type
install package
and hit return. A list of available packages will be displayed. - Type
FullScreenStatus
and hit return. The package will be downloaded into the appropriate directory.
Using Git
- Go to your
Packages
directory. You can locate yourPackages
directory by using the menu item Preferences > Browse Packages… Inside the
Packages
directory, clone FullScreenStatus repository using the command below:git clone https://github.com/maliayas/SublimeText_FullScreenStatus.git FullScreenStatus
Usage
import sublime
if sublime.active_window().settings().get('fss_on_full_screen'):
# ST is running on full screen.
if sublime.active_window().settings().get('fss_on_distraction_free'):
# ST is running on distraction free mode.
Source
Source code of this project is hosted at https://github.com/maliayas/SublimeText_FullScreenStatus. Contributions are welcome via pull requests.
License
FullScreenStatus is released under the MIT License.