From f32bd338a4ae0d95e4d5162af8a132cd5e6cab99 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 21 Jul 2024 22:32:00 -0400 Subject: [PATCH] hosts/mauville: add sway bindings --- hosts/petalburg/home.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hosts/petalburg/home.nix b/hosts/petalburg/home.nix index b5350ac0..2d10efee 100644 --- a/hosts/petalburg/home.nix +++ b/hosts/petalburg/home.nix @@ -9,8 +9,8 @@ wayland.windowManager = { hyprland.settings = { bind = [ - ",xf86launch4,exec,${lib.getExe self.inputs.pp-adjuster.packages.${pkgs.system}.default}" ",xf86launch2,exec,${lib.getExe pkgs.playerctl} play-pause" + ",xf86launch4,exec,${lib.getExe self.inputs.pp-adjuster.packages.${pkgs.system}.default}" ]; exec-once = [''${ @@ -33,6 +33,12 @@ map_to_output = "'Samsung Display Corp. 0x4152 Unknown'"; }; }; + + keybindings = { + "XF86Launch2" = "exec ${lib.getExe pkgs.playerctl} play-pause"; + "XF86Launch4" = "exec ${lib.getExe self.inputs.pp-adjuster.packages.${pkgs.system}.default}"; + }; + output = {"Samsung Display Corp. 0x4152 Unknown".scale = "2.0";}; }; };