From 1a37f4ef64b1957c5c4b36de9ba5d8c2abd9809e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Mon, 13 May 2024 11:25:09 +0200 Subject: [PATCH] i3: Fix presentation mode toggle --- i3/i3status-rust/config.toml.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/i3/i3status-rust/config.toml.j2 b/i3/i3status-rust/config.toml.j2 index 69247ab..42b67d6 100644 --- a/i3/i3status-rust/config.toml.j2 +++ b/i3/i3status-rust/config.toml.j2 @@ -67,9 +67,9 @@ missing_format = "" [[block]] block = "toggle" format = "  $icon " -command_on = "$HOME/.i3/scripts/presentation-mode toggle ; pkill -SIGRTMIN+0 i3status-rs" -command_off = "$HOME/.i3/scripts/presentation-mode toggle ; pkill -SIGRTMIN+0 i3status-rs" -command_state = "[[ $($HOME/.i3/scripts/presentation-mode status) == on ]] && echo active" +command_on = "$XDG_CONFIG_HOME/i3/scripts/presentation-mode toggle ; pkill -SIGRTMIN+0 i3status-rs" +command_off = "$XDG_CONFIG_HOME/i3/scripts/presentation-mode toggle ; pkill -SIGRTMIN+0 i3status-rs" +command_state = "[[ $($XDG_CONFIG_HOME/i3/scripts/presentation-mode status) == on ]] && echo active" [[block]] block = "toggle"