From 119221fc7e1743c1103f78059c30e1513408a1d0 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Sun, 31 Mar 2024 14:03:23 +0200 Subject: [PATCH] [hyprland] assigned mod+P for hypridle --- nix/home/hyprland/hyprland-bindings.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/nix/home/hyprland/hyprland-bindings.nix b/nix/home/hyprland/hyprland-bindings.nix index e8b38e7..c73b48f 100644 --- a/nix/home/hyprland/hyprland-bindings.nix +++ b/nix/home/hyprland/hyprland-bindings.nix @@ -10,25 +10,29 @@ # bindings $mainMod = SUPER - # basic key bindings + # primary key bindings bind = $mainMod, Return, exec, alacritty bind = $mainMod, B, exec, blueman-manager bind = $mainMod, C, exec, alacritty --class clipse --command clipse $PPID bind = $mainMod, D, exec, ~/.dotfiles/apps/wofi/wofi.sh bind = $mainMod, E, exec, nautilus --new-window - bind = $mainMod, F, fullscreen bind = $mainMod, J, togglesplit bind = $mainMod, K, exec, alacritty --class scratchbox bind = $mainMod, L, exec, hyprlock bind = $mainMod, M, exit, bind = $mainMod, N, exec, alacritty --class nmtui --command ~/.dotfiles/apps/hyprland/nmtui.sh - bind = $mainMod, P, pseudo + bind = $mainMod, P, exec, ~/.dotfiles/apps/hyprland/hypridle.sh toggle bind = $mainMod, Q, killactive bind = $mainMod, S, exec, ~/.dotfiles/apps/screenshot/screenshot.sh area bind = ALT SHIFT, S, exec, ~/.dotfiles/apps/screenshot/screenshot.sh screen bind = $mainMod, T, exec, alacritty --class nostt --command nostt bind = $mainMod, V, togglefloating + # alternative key bindings + bind = ALT, F, fullscreen + bind = ALT, P, pseudo + bind = ALT, V, togglefloating + # manage lockscreen bindl = ,switch:on:Lid Switch, exec, ~/.dotfiles/apps/swaylock/lock.sh