Use conflicting systemd units for color mode

This commit is contained in:
2024-05-06 10:19:17 +02:00
parent 6071fe4f8f
commit 07a8338e77
4 changed files with 12 additions and 3 deletions

View File

@@ -75,7 +75,7 @@ command_state = "[[ $($HOME/.i3/scripts/presentation-mode status) == on ]] && ec
block = "toggle"
format = "  $icon "
command_on = "systemctl --user start color-theme-light"
command_off = "systemctl --user stop color-theme-light"
command_off = "systemctl --user start color-theme-dark"
command_state = "[[ $(systemctl --user is-active color-theme-light) == active ]] && echo active"
[[block]]