dotfiles/sysmenu/config

94 lines
1.5 KiB
Text
Raw Permalink Normal View History

2021-09-26 01:52:03 -04:00
[global]
background = #2A2A2E
foreground = #FFFFFF
highlight = #3D4558
padding_y = 8
padding_x = 8
[font:fira]
family = Fira Code
size = 11
[menu:lan]
items = label:ssid label:myip button:pingtest
x = 1632
2022-05-22 15:32:36 -04:00
y = 32
2021-09-26 01:52:03 -04:00
[menu:redshift]
items = button:redshift label:rs_period label:rs_temp
2022-05-22 15:32:36 -04:00
x = 1632
y = 32
2021-09-26 01:52:03 -04:00
[menu:system]
2022-05-22 15:32:36 -04:00
items = label:user button:lock button:sleep button:reboot button:poweroff
2021-09-26 01:52:03 -04:00
x = 5
2022-05-22 15:32:36 -04:00
y = 32
2021-09-26 01:52:03 -04:00
[button:logout]
text = Logout
command = i3-msg exit
2022-05-22 15:32:36 -04:00
[button:lock]
text = Lock
command = slock
2021-09-26 01:52:03 -04:00
[button:pingtest]
text = Ping Test
command = ~/.script/inet/is-back
condition = $(if ! pidof ping; then echo true; fi)
[button:poweroff]
text = Poweroff
command = poweroff
[button:reboot]
text = Reboot
command = reboot
[button:redshift]
text = Redshift
command = ~/.config/sysmenu/script/redshift_tog.sh
2022-05-22 15:32:36 -04:00
[button:sleep]
text = Sleep
command = ~/.script/sleep.sh
2021-09-26 01:52:03 -04:00
[button:term]
text = Open Terminal
command = wezterm
2022-05-22 15:32:36 -04:00
[button:wally]
text = Wally
command = wally
2021-09-26 01:52:03 -04:00
[label:cal]
font = fira
text = $(cal)
eval = true
strip = right
[label:myip]
font = fira
2022-05-22 15:32:36 -04:00
text = $(~/.script/myip.sh)
2021-09-26 01:52:03 -04:00
eval = true
[label:rs_period]:
#text = $(redshift -p 2> /dev/null | grep "Period" | awk '{ print $2 }')
text = $(~/.config/sysmenu/script/redshift_period.sh)
eval = true
[label:rs_temp]
#text = $(redshift -p 2> /dev/null | grep "temperature" | awk '{ print $3 }')
text = $(~/.config/sysmenu/script/redshift_temp.sh)
eval = true
[label:ssid]
font = fira
2022-05-22 15:32:36 -04:00
text = $(~/.config/sysmenu/script/ssid.sh)
2021-09-26 01:52:03 -04:00
eval = true
[label:user]
font = fira
text = $(whoami)@$(hostname)
eval = true