55 lines
2.2 KiB
Text
Executable file
55 lines
2.2 KiB
Text
Executable file
# This is a demo config to show some of the most important commands more easily.
|
|
# This is meant to be changed and configured, as it is intentionally kept sparse.
|
|
# For a more advanced configuration example see my dotfiles:
|
|
# https://github.com/FelixKratz/dotfiles
|
|
CONFIG_DIR="/Users/federico/.config/sketchybar"
|
|
PLUGIN_DIR="$CONFIG_DIR/plugins"
|
|
|
|
##### Bar Appearance #####
|
|
# Configuring the general appearance of the bar, these are only some of the
|
|
# options available. For all options see:
|
|
# https://felixkratz.github.io/SketchyBar/config/bar
|
|
# If you are looking for other colors, see the color picker:
|
|
# https://felixkratz.github.io/SketchyBar/config/tricks#color-picker
|
|
|
|
sketchybar --bar height=28 \
|
|
position=top \
|
|
sticky=off \
|
|
padding_left=10 \
|
|
padding_right=10 \
|
|
color=0x15ffffff
|
|
|
|
##### Changing Defaults #####
|
|
# We now change some default values that are applied to all further items
|
|
# For a full list of all available item properties see:
|
|
# https://felixkratz.github.io/SketchyBar/config/items
|
|
|
|
sketchybar --default icon.font="Hack Nerd Font:Bold:17.0" \
|
|
icon.color=0xffffffff \
|
|
label.font="Hack Nerd Font:Regular:14.0" \
|
|
label.color=0xffffffff \
|
|
padding_right=5 \
|
|
padding_left=5 \
|
|
label.padding_left=4 \
|
|
label.padding_right=4 \
|
|
icon.padding_left=4 \
|
|
icon.padding_right=4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### Adding Left Items #####
|
|
# We add some regular items to the left side of the bar
|
|
# only the properties deviating from the current defaults need to be set
|
|
|
|
sketchybar --add item window_handler left \
|
|
--set window_handler script="$PLUGIN_DIR/windows.py" \
|
|
icon.drawing=off \
|
|
--subscribe window_handler front_app_switched space_windows_change space_change display_change
|
|
|
|
|
|
|
|
sketchybar --update
|