2024-05-05 10:56:29 +02:00
|
|
|
icons_format = "{icon}"
|
2022-12-15 22:31:50 +01:00
|
|
|
|
|
|
|
|
[icons]
|
2022-12-16 19:16:17 +01:00
|
|
|
icons = "awesome"
|
2022-12-15 22:31:50 +01:00
|
|
|
|
|
|
|
|
[icons.overrides]
|
2024-02-12 15:03:23 +01:00
|
|
|
microphone = ""
|
|
|
|
|
volume = ""
|
2024-04-10 14:41:08 +02:00
|
|
|
bat = "\uf240"
|
|
|
|
|
music = "\uf1bc"
|
2022-12-15 22:31:50 +01:00
|
|
|
|
|
|
|
|
[theme]
|
2022-12-16 19:16:17 +01:00
|
|
|
theme = "native"
|
2022-12-15 22:31:50 +01:00
|
|
|
|
|
|
|
|
[theme.overrides]
|
|
|
|
|
warning_fg = "#000000"
|
|
|
|
|
warning_bg = "#F4Bf75"
|
|
|
|
|
critical_fg = "#000000"
|
|
|
|
|
critical_bg = "#F92672"
|
2022-12-16 20:35:34 +01:00
|
|
|
end_separator = ""
|
2022-12-15 22:31:50 +01:00
|
|
|
|
|
|
|
|
[[block]]
|
|
|
|
|
block = "music"
|
|
|
|
|
player = "spotify"
|
|
|
|
|
separator = " — "
|
2022-12-16 23:35:49 +01:00
|
|
|
format = " $icon {$combo $prev $play $next|-} "
|
2022-12-15 22:31:50 +01:00
|
|
|
|
|
|
|
|
[[block]]
|
|
|
|
|
block = "sound"
|
|
|
|
|
driver = "pulseaudio"
|
|
|
|
|
max_vol = 100
|
2024-02-12 15:03:39 +01:00
|
|
|
format = " $icon{ $volume.eng(w:2)|} "
|
2022-12-15 22:31:50 +01:00
|
|
|
|
2022-12-16 20:26:48 +01:00
|
|
|
[[block.click]]
|
|
|
|
|
button = "left"
|
2025-09-03 17:06:13 +02:00
|
|
|
cmd = "workstation-client pulseaudio output toggle"
|
2022-12-16 20:26:48 +01:00
|
|
|
update = true
|
|
|
|
|
|
2022-12-15 22:31:50 +01:00
|
|
|
[[block]]
|
|
|
|
|
block = "sound"
|
|
|
|
|
driver = "pulseaudio"
|
|
|
|
|
device_kind = "source"
|
2024-04-10 14:41:28 +02:00
|
|
|
format = " $icon "
|
2022-12-17 01:18:35 +01:00
|
|
|
|
|
|
|
|
[block.theme_overrides]
|
|
|
|
|
warning_fg = { link = "idle_fg" }
|
|
|
|
|
warning_bg = { link = "idle_bg" }
|
|
|
|
|
idle_fg = { link = "warning_fg" }
|
|
|
|
|
idle_bg = { link = "warning_bg" }
|
2022-12-15 22:31:50 +01:00
|
|
|
|
2022-12-16 20:26:48 +01:00
|
|
|
[[block.click]]
|
|
|
|
|
button = "left"
|
2025-09-03 17:06:13 +02:00
|
|
|
cmd = "workstation-client pulseaudio input toggle"
|
2022-12-16 20:26:48 +01:00
|
|
|
update = true
|
|
|
|
|
|
2022-12-15 22:31:50 +01:00
|
|
|
[[block]]
|
2022-12-16 19:16:17 +01:00
|
|
|
block = "net"
|
2024-05-04 21:40:02 +02:00
|
|
|
format = " $icon{ $signal_strength|}{ $ssid.str(max_width:10) | }"
|
2022-12-15 22:31:50 +01:00
|
|
|
|
2022-12-16 19:16:17 +01:00
|
|
|
[[block]]
|
|
|
|
|
block = "battery"
|
|
|
|
|
interval = 10
|
2024-04-10 14:41:28 +02:00
|
|
|
format = " $icon $percentage $time "
|
2024-04-26 11:22:41 +02:00
|
|
|
charging_format = " $icon $percentage "
|
2022-12-16 19:16:17 +01:00
|
|
|
missing_format = ""
|
|
|
|
|
|
2022-12-15 22:31:50 +01:00
|
|
|
[[block]]
|
|
|
|
|
block = "toggle"
|
2022-12-16 20:19:52 +01:00
|
|
|
format = " $icon "
|
2025-09-03 17:06:13 +02:00
|
|
|
signal = 1
|
|
|
|
|
command_on = "workstation-client present toggle ; pkill -SIGRTMIN+1 i3status-rs"
|
|
|
|
|
command_off = "workstation-client present toggle ; pkill -SIGRTMIN+1 i3status-rs"
|
|
|
|
|
command_state = "[[ $(workstation-client present status) == on ]] && echo active"
|
2022-12-15 22:31:50 +01:00
|
|
|
|
2024-05-06 10:08:51 +02:00
|
|
|
[[block]]
|
|
|
|
|
block = "toggle"
|
|
|
|
|
format = " $icon "
|
2025-09-03 17:06:13 +02:00
|
|
|
command_on = "workstation-client theme light"
|
|
|
|
|
command_off = "workstation-client theme dark"
|
|
|
|
|
command_state = "[[ $(workstation-client theme status) == light ]] && echo 1"
|
2024-05-06 10:08:51 +02:00
|
|
|
|
2022-12-15 22:31:50 +01:00
|
|
|
[[block]]
|
|
|
|
|
block = "toggle"
|
2022-12-16 20:19:52 +01:00
|
|
|
format = " $icon "
|
2025-09-03 17:06:13 +02:00
|
|
|
command_on = "workstation-client redshift start"
|
|
|
|
|
command_off = "workstation-client redshift stop"
|
|
|
|
|
command_state = "[[ $(workstation-client redshift status) == active ]] && echo 1"
|
2022-12-15 22:31:50 +01:00
|
|
|
signal = 0
|
|
|
|
|
|
|
|
|
|
[[block]]
|
|
|
|
|
block = "toggle"
|
2022-12-16 20:19:52 +01:00
|
|
|
format = " $icon "
|
2025-09-03 17:06:13 +02:00
|
|
|
command_on = "workstation-client spotify start"
|
|
|
|
|
command_off = "workstation-client spotify stop"
|
|
|
|
|
command_state = "[[ $(workstation-client spotify status) == active ]] && echo 1"
|
2022-12-15 22:31:50 +01:00
|
|
|
signal = 0
|
|
|
|
|
|
|
|
|
|
[[block]]
|
|
|
|
|
block = "custom"
|
2022-12-16 19:16:17 +01:00
|
|
|
json = true
|
|
|
|
|
command = "ping -n -q -w 2 -c 1 8.8.8.8 >/dev/null 2>/dev/null && printf '{\"text\":\"\",\"state\":\"Info\"}' || printf '{\"text\":\"\",\"state\":\"Critical\"}'"
|
2022-12-15 22:31:50 +01:00
|
|
|
|
2022-12-16 19:43:59 +01:00
|
|
|
[[block]]
|
|
|
|
|
block = "custom"
|
2025-09-03 17:06:13 +02:00
|
|
|
command = "workstation-client weather get"
|
|
|
|
|
# caching is handled by the workstation daemon
|
|
|
|
|
interval = 60
|
2022-12-16 19:43:59 +01:00
|
|
|
|
2022-12-15 22:31:50 +01:00
|
|
|
[[block]]
|
|
|
|
|
block = "time"
|
|
|
|
|
interval = 1
|
2024-02-12 15:03:57 +01:00
|
|
|
format = " $timestamp.datetime(f:'[CW %V] %a %d.%m.%Y %H:%M:%S', l:de_DE) "
|