From 86a972fd61fbe3fb4a79d3cac4a913314e0cb9f7 Mon Sep 17 00:00:00 2001 From: Sweetbread Date: Wed, 25 Jun 2025 17:25:12 +0300 Subject: [PATCH] hyprland: add media app binds --- modules/user/patterns/hyprland.nix | 4 ++++ user/sweetbread/modules/hyprland.nix | 2 ++ 2 files changed, 6 insertions(+) diff --git a/modules/user/patterns/hyprland.nix b/modules/user/patterns/hyprland.nix index 876c3f9..e3092ab 100644 --- a/modules/user/patterns/hyprland.nix +++ b/modules/user/patterns/hyprland.nix @@ -215,6 +215,10 @@ ", XF86AudioPlay, exec, ${lib.getExe pkgs.playerctl} play-pause" ", XF86AudioPrev, exec, ${lib.getExe pkgs.playerctl} position 5-" ", XF86AudioNext, exec, ${lib.getExe pkgs.playerctl} position 5+" + + ", XF86Explorer, exec, ghostty -e sh -c yazi" + ", XF86Mail, exec, thunderbird" + ", XF86WWW, exec, google-chrome-stable" # TODO: Replace hard-code to some variable # Brightness control ", XF86MonBrightnessDown, exec, ${lib.getExe pkgs.brightnessctl} set 5%- " diff --git a/user/sweetbread/modules/hyprland.nix b/user/sweetbread/modules/hyprland.nix index 562162e..8da118f 100644 --- a/user/sweetbread/modules/hyprland.nix +++ b/user/sweetbread/modules/hyprland.nix @@ -89,6 +89,8 @@ " , Print, exec, grimblast --notify --freeze copy output" "CTRL, Print, exec, grimblast --notify --freeze copy area" "ALT , Print, exec, grimblast --notify --freeze copy active" + + '', XF86Calculator, exec, ghostty --title=pulsemixer -e pulsemixer'' ]; }; };