diff --git a/i3/i3status-rust/config.toml.j2 b/i3/i3status-rust/config.toml.j2 index 038c2b6..f93f579 100644 --- a/i3/i3status-rust/config.toml.j2 +++ b/i3/i3status-rust/config.toml.j2 @@ -71,6 +71,13 @@ command_on = "$HOME/.i3/scripts/presentation-mode toggle ; pkill -SIGRTMIN+0 i3s command_off = "$HOME/.i3/scripts/presentation-mode toggle ; pkill -SIGRTMIN+0 i3status-rs" command_state = "[[ $($HOME/.i3/scripts/presentation-mode status) == on ]] && echo active" +[[block]] +block = "toggle" +format = "  $icon " +command_on = "systemctl --user start color-theme-light" +command_off = "systemctl --user stop color-theme-light" +command_state = "[[ $(systemctl --user is-active color-theme-light) == active ]] && echo active" + [[block]] block = "toggle" format = "  $icon "