summary refs log tree commit diff stats
path: root/users
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-11-03 21:37:12 +0100
committersils <sils@sils.li>2023-11-03 21:37:12 +0100
commit641c9bf0ec9285be450415e97997e1a352172694 (patch)
tree1f56c6d988e0be6a3adb909f6263d7a43143aa0a /users
parentfeat(u/sils): add swayosd (diff)
downloadnix-config-641c9bf0ec9285be450415e97997e1a352172694.tar.gz
nix-config-641c9bf0ec9285be450415e97997e1a352172694.zip
feat(u/sils/hyprland): add keybindings
Diffstat (limited to 'users')
-rw-r--r--users/sils/hyprland/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/users/sils/hyprland/default.nix b/users/sils/hyprland/default.nix
index 30b242b..47e5eae 100644
--- a/users/sils/hyprland/default.nix
+++ b/users/sils/hyprland/default.nix
@@ -125,6 +125,7 @@
         "$mainMod, L, exec, swaylock" # screenlock
         ''$mainMod, S, exec, grim -l 0 -g "$(slurp)" - | wl-copy'' # screenshots
         ''$mainMod, K, exec, zsh -exec "ssh-agent && keepassxc"'' # opens keepass after starting ssh-agent
+        '', code:102, exec, zsh -exec "ssh-agent && keepassxc"''
 
         # Move focus with mainMod + arrow keys
         "$mainMod, left, movefocus, l"
@@ -160,6 +161,14 @@
         "$mainMod, mouse_down, workspace, e+1"
         "$mainMod, mouse_up, workspace, e-1"
       ];
+      binde = [
+        ",XF86MonBrightnessUp, exec, brightnessctl s +3%"
+        ",XF86MonBrightnessDown, exec, brightnessctl s 3%-"
+        ",XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle"
+        ",XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%"
+        ",XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%"
+        ",XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle"
+      ];
 
       # Move/resize windows with mainMod + LMB/RMB and dragging
       bindm = [