From b5071b889b1d8131eaf6f8e2528c9a9872b3aaa5 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Thu, 10 Oct 2024 16:33:21 +0200 Subject: [PATCH] Update --- home/system/hyprland/bindings.nix | 72 +++++++++++++++---------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/home/system/hyprland/bindings.nix b/home/system/hyprland/bindings.nix index 34441d3..c70703e 100644 --- a/home/system/hyprland/bindings.nix +++ b/home/system/hyprland/bindings.nix @@ -1,47 +1,47 @@ { pkgs, ... }: { wayland.windowManager.hyprland.settings = { bind = [ - "$mod, RETURN, exec, ${pkgs.kitty}/bin/kitty" # Kitty - "$mod, E, exec, ${pkgs.xfce.thunar}/bin/thunar" # Thunar - "$mod, B, exec, ${pkgs.qutebrowser}/bin/qutebrowser" # Qutebrowser - "$mod, K, exec, ${pkgs.bitwarden}/bin/bitwarden" # Bitwarden - "$mod, L, exec, ${pkgs.hyprlock}/bin/hyprlock" # Lock - "$mod, X, exec, powermenu" # Powermenu - "$mod, SPACE, exec, menu" # Launcher - "$shiftMod, SPACE, exec, hyprfocus-toggle" # Toggle HyprFocus + "$mod,RETURN, exec, ${pkgs.kitty}/bin/kitty" # Kitty + "$mod,E, exec, ${pkgs.xfce.thunar}/bin/thunar" # Thunar + "$mod,B, exec, ${pkgs.qutebrowser}/bin/qutebrowser" # Qutebrowser + "$mod,K, exec, ${pkgs.bitwarden}/bin/bitwarden" # Bitwarden + "$mod,L, exec, ${pkgs.hyprlock}/bin/hyprlock" # Lock + "$mod,X, exec, powermenu" # Powermenu + "$mod,SPACE, exec, menu" # Launcher + "$shiftMod,SPACE, exec, hyprfocus-toggle" # Toggle HyprFocus - "$mod, Q, killactive," # Close window - "$mod, T, togglefloating," # Toggle Floating - "$mod, F, fullscreen" # Toggle Fullscreen - "$mod, left, movefocus, l" # Move focus left - "$mod, right, movefocus, r" # Move focus Right - "$mod, up, movefocus, u" # Move focus Up - "$mod, down, movefocus, d" # Move focus Down - "$shiftMod, up, focusmonitor, -1" # Focus previous monitor - "$shiftMod, down, focusmonitor, 1" # Focus next monitor - "$shiftMod, left, layoutmsg, addmaster" # Add to master - "$shiftMod, right, layoutmsg, removemaster" # Remove from master + "$mod,Q, killactive," # Close window + "$mod,T, togglefloating," # Toggle Floating + "$mod,F, fullscreen" # Toggle Fullscreen + "$mod,left, movefocus, l" # Move focus left + "$mod,right, movefocus, r" # Move focus Right + "$mod,up, movefocus, u" # Move focus Up + "$mod,down, movefocus, d" # Move focus Down + "$shiftMod,up, focusmonitor, -1" # Focus previous monitor + "$shiftMod,down, focusmonitor, 1" # Focus next monitor + "$shiftMod,left, layoutmsg, addmaster" # Add to master + "$shiftMod,right, layoutmsg, removemaster" # Remove from master - "$mod, PRINT, exec, screenshot window" # Screenshot window - ", PRINT, exec, screenshot monitor" # Screenshot monitor - "$shiftMod, PRINT, exec, screenshot region" # Screenshot region - "ALT, PRINT, exec, screenshot region swappy" # Screenshot region then edit + "$mod,PRINT, exec, screenshot window" # Screenshot window + ",PRINT, exec, screenshot monitor" # Screenshot monitor + "$shiftMod,PRINT, exec, screenshot region" # Screenshot region + "ALT,PRINT, exec, screenshot region swappy" # Screenshot region then edit - "$shiftMod, S, exec, ${pkgs.qutebrowser}/bin/qutebrowser :open $(wofi --show dmenu -L 1 -p ' Search on internet')" # Search on internet with wofi - "$shiftMod, C, exec, clipboard" # Clipboard picker with wofi - "$shiftMod, E, exec, ${pkgs.wofi-emoji}/bin/wofi-emoji" # Emoji picker with wofi - "$mod, F2, exec, night-shift" # Toggle night shift - "$mod, F3, exec, night-shift" # Toggle night shift + "$shiftMod,S, exec, ${pkgs.qutebrowser}/bin/qutebrowser :open $(wofi --show dmenu -L 1 -p ' Search on internet')" # Search on internet with wofi + "$shiftMod,C, exec, clipboard" # Clipboard picker with wofi + "$shiftMod,E, exec, ${pkgs.wofi-emoji}/bin/wofi-emoji" # Emoji picker with wofi + "$mod,F2, exec, night-shift" # Toggle night shift + "$mod,F3, exec, night-shift" # Toggle night shift ] ++ (builtins.concatLists (builtins.genList (i: let ws = i + 1; in [ - "$mod, code:1${toString i}, workspace, ${toString ws}" - "$mod SHIFT, code:1${toString i}, movetoworkspace, ${toString ws}" + "$mod,code:1${toString i}, workspace, ${toString ws}" + "$mod SHIFT,code:1${toString i}, movetoworkspace, ${toString ws}" ]) 9)); bindm = [ - "$mod, mouse:272, movewindow" # Move Window (mouse) - "$mod, R, resizewindow" # Resize Window (mouse) + "$mod,mouse:272, movewindow" # Move Window (mouse) + "$mod,R, resizewindow" # Resize Window (mouse) ]; bindl = [ @@ -50,10 +50,10 @@ ]; bindle = [ - ", XF86AudioRaiseVolume, exec, sound-up" # Sound Up - ", XF86AudioLowerVolume, exec, sound-down" # Sound Down - ", XF86MonBrightnessUp, exec, brightness-up" # Brightness Up - ", XF86MonBrightnessDown, exec, brightness-down" # Brightness Down + ",XF86AudioRaiseVolume, exec, sound-up" # Sound Up + ",XF86AudioLowerVolume, exec, sound-down" # Sound Down + ",XF86MonBrightnessUp, exec, brightness-up" # Brightness Up + ",XF86MonBrightnessDown, exec, brightness-down" # Brightness Down ]; };