diff options
| author | Caroline Larimore <caroline@larimo.re> | 2024-05-27 17:26:19 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2024-05-27 17:26:19 -0700 |
| commit | 405d3b55ea025613dcd4d63e30b67cd9cf17b9fd (patch) | |
| tree | 4796008bfc36fc1ba59a99151d3f8236241f9322 /home | |
| parent | 4fc94da19e1a467920aef5d6892d23c4043a30b3 (diff) | |
Disable startup-notifications for media controls and screenshots
Diffstat (limited to 'home')
| -rw-r--r-- | home/i3.nix | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/home/i3.nix b/home/i3.nix index 0593dc0..e62caee 100644 --- a/home/i3.nix +++ b/home/i3.nix @@ -91,6 +91,7 @@ ]; "${ws8}" = [ { class = "qbittorrent"; } ]; + "${ws9}" = [ { title = "cmus"; } ]; }; startup = [ @@ -115,11 +116,11 @@ # Screenshots #TODO: screen and full should be swapped, but currently screen is fucky :'( - "Shift+Print" = "exec ${pkgs.flameshot}/bin/flameshot screen -c"; - "Print" = "exec ${pkgs.flameshot}/bin/flameshot full -c"; - "${mod}+Shift+s" = "exec ${pkgs.flameshot}/bin/flameshot gui -c"; - "Mod1+Shift+s" = "exec ${pkgs.flameshot}/bin/flameshot gui -c"; - "${mod}+Ctrl+Shift+s" = "exec ${pkgs.flameshot}/bin/flameshot launcher -c"; + "Shift+Print" = "exec --no-startup-id ${pkgs.flameshot}/bin/flameshot screen -c"; + "Print" = "exec --no-startup-id ${pkgs.flameshot}/bin/flameshot full -c"; + "${mod}+Shift+s" = "exec --no-startup-id ${pkgs.flameshot}/bin/flameshot gui -c"; + "Mod1+Shift+s" = "exec --no-startup-id ${pkgs.flameshot}/bin/flameshot gui -c"; + "${mod}+Ctrl+Shift+s" = "exec --no-startup-id ${pkgs.flameshot}/bin/flameshot launcher -c"; # Media keys "XF86AudioRaiseVolume" = "exec --no-startup-id ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ +2%"; @@ -127,11 +128,11 @@ "XF86AudioMute" = "exec --no-startup-id ${pkgs.pulseaudio}/bin/pactl set-sink-mute @DEFAULT_SINK@ toggle"; "XF86AudioMicMute" = "exec --no-startup-id ${pkgs.pulseaudio}/bin/pactl set-source-mute @DEFAULT_SOURCE@ toggle"; - "XF86AudioPlay" = "exec \"playerctl --player=cmus,firefox,%any play-pause\""; - "XF86AudioPause" = "exec \"playerctl --player=cmus,firefox,%any play-pause\""; - "XF86AudioStop" = "exec \"playerctl --player=cmus,firefox,%any stop\""; - "XF86AudioNext" = "exec \"playerctl --player=cmus,firefox,%any next\""; - "XF86AudioPrev" = "exec \"playerctl --player=cmus,firefox,%any previous\""; + "XF86AudioPlay" = "exec --no-startup-id \"playerctl --player=cmus,firefox,%any play-pause\""; + "XF86AudioPause" = "exec --no-startup-id \"playerctl --player=cmus,firefox,%any play-pause\""; + "XF86AudioStop" = "exec --no-startup-id \"playerctl --player=cmus,firefox,%any stop\""; + "XF86AudioNext" = "exec --no-startup-id \"playerctl --player=cmus,firefox,%any next\""; + "XF86AudioPrev" = "exec --no-startup-id \"playerctl --player=cmus,firefox,%any previous\""; # Media controller widget "${mod}+m" = "exec --no-startup-id eww-toggle music --arg pos=center --arg gaps=false"; |