Created
September 2, 2022 22:40
-
-
Save lidgnulinux/c206f253878663d117460ff72eb1103c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"icon_theme" : "Papirus-Dark", | |
/*"font" and "font_size" are fonts for the taskbar*/ | |
"font" : "Ubuntu Mono derivative Powerline", | |
"font_size" : 15, | |
/* "color" and "background_color" must be set with number from 0.0 to 1.0 [red, green, blue]*/ | |
"color" : [0.9 ,0.9 ,1], | |
"background_color" : [0.1, 0.3, 0.5], | |
/*"size" of taskbar in pixels. If not set, default size is 49 pixels*/ | |
"size" : 23, | |
"start_items" : [ | |
{ | |
"type" : "launcher", | |
"icon" : "window-pin", | |
"exec" : "swaymsg sticky enable" | |
}, | |
{ | |
"type" : "launcher", | |
"icon" : "user-desktop-symbolic", | |
"tooltip" : "Minimize all window & show desktop", | |
"exec" : "swaymsg [app_id='.*'] move scratchpad" | |
}, | |
{ | |
"type" : "launcher", | |
"icon" : "window-duplicate", | |
"tooltip" : "Bring back minimized window", | |
"exec" : "swaymsg [app_id='.*'] focus" | |
} | |
] | |
/*"end_items" : [ | |
{ | |
"type" : "launcher", | |
"icon" : "dialog-close", | |
"tooltip" : "Close Window", | |
"exec" : "swaymsg kill" | |
}, | |
{ | |
"type" : "clock", | |
"time_format" : "%H:%M", | |
"exec" : "qterminal -e bash -c 'cal;read'" | |
//"exec" : "zenity --calendar --text= --title=`date +%Y-%m-%d`" | |
}, | |
{ | |
"type" : "battery", | |
"icon_battery_full" : "battery-full-symbolic", | |
"icon_battery_good" : "battery-good-symbolic", | |
"icon_battery_medium" : "battery-medium-symbolic", | |
"icon_battery_low" : "battery-low-symbolic", | |
"icon_battery_empty" : "battery-empty-symbolic", | |
"icon_battery_charging" : "battery-low-charging-symbolic", | |
"icon_battery_charged" : "battery-full-charged-symbolic", | |
//"no_text" : "empty", | |
"exec" : "qps" | |
}, | |
{ | |
"type" : "launcher", | |
"icon" : "network-wireless", | |
"exec" : "qterminal -e nmtui" | |
}, | |
{ | |
"type" : "launcher", | |
"icon" : "audio-volume-muted", | |
"exec" : "pactl set-sink-volume @DEFAULT_SINK@ 0%" | |
}, | |
{ | |
"type" : "launcher", | |
"icon" : "audio-volume-medium", | |
"exec" : "pactl set-sink-volume @DEFAULT_SINK@ -5%" | |
}, | |
{ | |
"type" : "launcher", | |
"icon" : "audio-volume-high", | |
"exec" : "pactl set-sink-volume @DEFAULT_SINK@ +5%" | |
}, | |
{ | |
"type" : "launcher", | |
"icon" : "application-exit-symbolic", | |
"tooltip" : "Exit from Sway", | |
"exec" : "swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' -B 'Power off' 'systemctl poweroff'" | |
} | |
]*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment