commit 26fd83c463f495c942e2ebbe7dd5285fdfc257e5
parent 159f68e424f4aabc69c5a40f6fee00fe3b562fe2
Author: Leah (ctucx) <leah@ctu.cx>
Date: Wed, 12 Jan 2022 17:50:40 +0100
parent 159f68e424f4aabc69c5a40f6fee00fe3b562fe2
Author: Leah (ctucx) <leah@ctu.cx>
Date: Wed, 12 Jan 2022 17:50:40 +0100
programs/sway: add background-image and update some keybinds
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/configurations/programs/sway.nix b/configurations/programs/sway.nix @@ -108,6 +108,12 @@ }; }; + output = { + "*" = { + bg = "~/Pictures/photos.ctu.cx/Bahnbilder/2019.06/20190622-153441.jpg fill"; + }; + }; + assigns = { "1: Web" = [{ app_id = "firefox"; }]; "2: Mail" = [{ app_id = "thunderbird"; }]; @@ -121,8 +127,6 @@ workspaceAutoBackAndForth = true; keybindings = { - "${modifier}+Delete" = "exec true"; - "${modifier}+Return" = "exec ${cfg.config.terminal}"; "${modifier}+Space" = "exec ${pkgs.wofi}/bin/wofi --style ${./wofi/style.css} --conf ${./wofi/config} --show drun"; "${modifier}+l" = "exec ${pkgs.systemd}/bin/loginctl lock-session"; @@ -140,9 +144,15 @@ "XF86AudioMute" = "exec ${pkgs.pulseaudio}/bin/pactl set-sink-mute @DEFAULT_SINK@ toggle"; "XF86AudioMicMute" = "exec ${pkgs.pulseaudio}/bin/pactl set-source-mute @DEFAULT_SOURCE@ toggle"; - "XF86AudioPlay" = "exec ${pkgs.playerctl}/bin/playerctl play-pause"; + #laptop + "XF86AudioPlay" = "exec ${pkgs.playerctl}/bin/playerctl play-pause"; "XF86AudioNext" = "exec ${pkgs.playerctl}/bin/playerctl next"; - "XF86AudioPrev" = "exec ${pkgs.playerctl}/bin/playerctl previous"; + "XF86AudioPrev" = "exec ${pkgs.playerctl}/bin/playerctl previous"; + + #desktop + "XF86LaunchA" = "exec ${pkgs.playerctl}/bin/playerctl play-pause"; + "XF86MyComputer" = "exec ${pkgs.playerctl}/bin/playerctl next"; + "XF86Search" = "exec ${pkgs.playerctl}/bin/playerctl previous"; "${modifier}+Shift+e" = "exec swaynag -t warning -m 'Do you really want to exit sway?' -b 'Yep' 'swaymsg exit'";