From 7dc177cf44a1d86ef99843275bb0a5afb3ebca11 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 3 Nov 2021 17:57:31 +0100 Subject: [PATCH] home: wm: i3: avoid loading icon on notifications Because my script are obviously not startup id aware, hovering on the notification leads to having a loading cursor. --- home/wm/i3/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/home/wm/i3/default.nix b/home/wm/i3/default.nix index 6a8144a..ad2eb36 100644 --- a/home/wm/i3/default.nix +++ b/home/wm/i3/default.nix @@ -281,10 +281,10 @@ in ) { # Media keys - "XF86AudioRaiseVolume" = "exec ${changeAudio} up 5"; - "XF86AudioLowerVolume" = "exec ${changeAudio} down 5"; - "Control+XF86AudioRaiseVolume" = "exec ${changeAudio} up 1"; - "Control+XF86AudioLowerVolume" = "exec ${changeAudio} down 1"; + "XF86AudioRaiseVolume" = "exec --no-startup-id ${changeAudio} up 5"; + "XF86AudioLowerVolume" = "exec --no-startup-id ${changeAudio} down 5"; + "Control+XF86AudioRaiseVolume" = "exec --no-startup-id ${changeAudio} up 1"; + "Control+XF86AudioLowerVolume" = "exec --no-startup-id ${changeAudio} down 1"; "XF86AudioMute" = "exec pamixer --toggle-mute"; "XF86AudioMicMute" = "exec pamixer --default-source --toggle-mute"; @@ -295,10 +295,10 @@ in { # Screen management "XF86Display" = "exec arandr"; - "XF86MonBrightnessUp" = "exec ${changeBacklight} up 10"; - "XF86MonBrightnessDown" = "exec ${changeBacklight} down 10"; - "Control+XF86MonBrightnessUp" = "exec ${changeBacklight} up 1"; - "Control+XF86MonBrightnessDown" = "exec ${changeBacklight} down 1"; + "XF86MonBrightnessUp" = "exec --no-startup-id ${changeBacklight} up 10"; + "XF86MonBrightnessDown" = "exec --no-startup-id ${changeBacklight} down 10"; + "Control+XF86MonBrightnessUp" = "exec --no-startup-id ${changeBacklight} up 1"; + "Control+XF86MonBrightnessDown" = "exec --no-startup-id ${changeBacklight} down 1"; } { # Sub-modes