From 402fd29c46c1bb01f082f2a2c526f41a215c2530 Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 21 Aug 2025 18:11:07 -0400 Subject: [PATCH] hyprlock and music keybinds added --- home.nix | 1 + hyprland/binds.nix | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/home.nix b/home.nix index 0905aad..d632ae4 100644 --- a/home.nix +++ b/home.nix @@ -56,6 +56,7 @@ github-desktop hyprpicker wl-clipboard + wev # # It is sometimes useful to fine-tune packages, for example, by applying # # overrides. You can do that directly here, just don't forget the # # parentheses. Maybe you want to install Nerd Fonts with a limited number of diff --git a/hyprland/binds.nix b/hyprland/binds.nix index d12a957..e8745f3 100644 --- a/hyprland/binds.nix +++ b/hyprland/binds.nix @@ -61,6 +61,8 @@ in "$mod, b, exec, brave" "$mod, space, exec, pkill rofi || rofi -show drun" "$mod, s, exec, pkill hyprpicker || hyprpicker -ar" + ", XF86Explorer, exec, hyprlock" + ", F1, exec, hyprlock" ", XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ && notify-send 'Volume Up'" ", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- && notify-send 'Volume Down'" ", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle && notify-send 'Mute Toggled'" @@ -75,6 +77,11 @@ in ", F5, exec, playerctl previous && notify-send 'Previous Song'" ", F7, exec, playerctl play-pause && notify-send 'Pause/Play Toggled'" ", F8, exec, playerctl stop && notify-send 'Music Stopped'" + + + ", F4, workspace, 3" + ", XF86Tools, workspace, 3" + ] ++ workspaces; -- 2.54.0