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

Guna

by poucotm ST3

ūüćĀ Simple, Functional, Conspicuous Theme with a Clock for Sublime Text 3

Details

Installs

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

Readme

Source
raw.‚Äčgithubusercontent.‚Äčcom

Image of Guna Image of Guna

Package Control PayPal

Fonts

Guna uses Dejavu Sans as default font for UI and Roboto Condensed is used only for status bar. But you can change them in user settings among 5 fonts - Dejavu Sans, Source Sans Pro, Open Sans, Roboto, Roboto Condensed. The editor font is Meslo in screenshots above. For Sublime Text 3 (3143) on Windows, in order to apply Roboto Condensed, you may have to add ‚Äútheme_font_options‚ÄĚ: ‚Äúgdi‚ÄĚ in Preference.sublime-settings.

Theme Activation

Simply, run Guna in command palette (cmd/ctrl+shift+p). You don't need to edit theme and color_scheme directly in settings. I recommend that you select View > Side Bar > Hide Open Files for better view. When Guna removed, it automatically restores theme and color scheme as the last before activating Guna. Guna supports SublimeLinter not to override color-scheme.

Settings

DO NOT directly edit Preferences.sublime-settings. Use User/Guna.sublime-settings by selecting Preferences > Package Settings > Guna > settings menu. That is more comfortable. It will take effect in a second. There is no need to restart sublime text. Various options are ready to control UI like show/hide clock, colors, fonts, etc. Please, refer to Guna.sublime-settings

Clock Color

The color of clock expresses the status of active view.

Image of Guna : Normal state
Image of Guna : Dirty or scrach state
Image of Guna : Read only state
Image of Guna : Alert state (only controlled by API)

Full Screen On Start

ctrl+f11(Windows/Linux), cmd+ctrl+f11(OSX) are full screen toggle keys on full screen start mode. You can turn on that mode in Guna.sublime-settings. The menu bar will be hidden in full screen mode and shown in normal mode. I recommend that you simply override original full screen toggle key as guna_toggle_full_screen. It acts as original when you turn off that mode.

Key Map

f5(Windows/Linux), alt+f5(OSX) are assigned for refresh folder list in side bar.

API

You can control Guna's screen through Guna's APIs. Currently, there are two functions for displaying alert situation. If you want to see the example, simply type raise in Sublime console.

(example - status bar label)
Image of Guna

(example - status bar background)
Image of Guna

# API import

from Guna.core.api import GunaApi

# API functions

GunaApi.alert(flag=0, onoff=False):
    """
    Makes the clock, status bar red for alarming

    flag = GunaApi.ALERT_CLOCK | GunaApi.ALRT_STATUS_LABEL | GunaApi.ALERT_STATUS_BG
    """

GunaApi.alert_message(flag=0, message='', timeout=4, action=0):
    """
    Makes red with a status message in a timeout(seconds).
    Within a timeout, a new message request will be ignored (will be replaced as a queue).

    action = GunaApi.FLICKER
    """

Environment

Mainly designed and developed at Sublime Text 3 (3126) on Windows7 with non-high dpi display. Operation is not guranteed at lower versions. Occasionally, tested on OSX / Linux, the views are not exaclty same.

File Type Icons

Guna doesn't have it's own file type icons except for Verilog/Systemverilog. In screenshots above, A File Icon is used, and recommended.

Donate

Doate Image
Thank you for donating. It is helpful to continue to improve the plug-in.

Credits

License

Guna is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.