Change eww to sb

This commit is contained in:
2025-11-28 17:05:55 -08:00
parent 2990b54902
commit e222fc8f33
6 changed files with 0 additions and 0 deletions

18
status-bar/sb-toggle-systray Executable file
View File

@ -0,0 +1,18 @@
#!/usr/bin/env zsh
local config_flags=()
if ((${#} >= 1)); then
config_flags+=("-c" "${1}")
fi
local value="$(eww ${config_flags} get show-systray)"
case "${value}" in
'false')
value='true'
;;
*)
value='false'
;;
esac
eww ${config_flags} update show-systray="${value}"