diff --git a/Configs/.config/hypr/keybindings.conf b/Configs/.config/hypr/keybindings.conf index a8f0885..779f49a 100644 --- a/Configs/.config/hypr/keybindings.conf +++ b/Configs/.config/hypr/keybindings.conf @@ -18,6 +18,7 @@ $passwordManager = keepassxc # https://wiki.hyprland.org/Configuring/Keywords/ $mainMod = SUPER + # Application shortcuts bind = $mainMod, W, exec, $terminal bind = $mainMod SHIFT, W, exec, [float; size 750 500; move 55% 10%] $terminal @@ -35,6 +36,7 @@ bind = $mainMod SHIFT, E, exec, emote bind = $mainMod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy bind = $mainMod, N, exec, swaync-client -t -sw + # Change wallpaper bind =$mainMod ALT, P, exec, waypaper --random --folder ~/Pictures/Wallpapers @@ -53,29 +55,17 @@ bind = ALT, Tab, cyclenext, bind = ALT, Tab, bringactivetotop, -# Lock session +# Sessions and power bind = $mainMod, L, exec, $HOME/.config/wlogout/current_wall.sh && loginctl lock-session - -# Launch wlogout menu bind = $mainMod, P, exec, $HOME/.config/waybar/scripts/logoutlaunch.sh 1 - -# Toggle display -bindl = $mainMod ALT, D, exec, hyprctl dispatch dpms toggle - -# Suspend +bindl = $mainMod ALT, D, exec, hyprctl dispatch dpms toggle # Toggle display bindl = $mainMod ALT, S, exec, $HOME/.config/wlogout/current_wall.sh && systemctl suspend -# Screenshot of the whole screen +# Screenshots bind = , Print, exec, grim -c - | wl-copy && wl-paste > ~/Pictures/Screen/$(date +%F_%H-%M-%S)_grim.png && notify-send "Grim" "Screenshot of whole screen taken" -t 2000 - -# Screenshot a window bind = $mainMod, PRINT, exec, hyprshot -m window -t 2000 -o ~/Pictures/Screen -f $(date +%F_%H-%M-%S)_hyprshot.png - -# Screenshot of a region bind = SHIFT, Print, exec, hyprshot -m region -t 2000 -o ~/Pictures/Screen -f $(date +%F_%H-%M-%S)_hyprshot.png - -# Screenshot of a region and upload to Chibisafe bind = $mainMod SHIFT, PRINT, exec, $HOME/.config/hypr/scripts/screenshot_to_chibisafe.sh @@ -85,18 +75,21 @@ bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d + # Resize with mainMod + CONTROL + arrow keys binde = $mainMod CONTROL, right, resizeactive, 24 0 binde = $mainMod CONTROL, left, resizeactive, -24 0 binde = $mainMod CONTROL, up, resizeactive, 0 -24 binde = $mainMod CONTROL, down, resizeactive, 0 24 + # Move windows with mainMod + SHIFT + arrow keys bind = SUPER SHIFT, right, movewindow, r bind = SUPER SHIFT, left, movewindow, l bind = SUPER SHIFT, up, movewindow, u bind = SUPER SHIFT, down, movewindow, d + # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 @@ -109,6 +102,7 @@ bind = $mainMod, 8, workspace, 8 bind = $mainMod, 9, workspace, 9 bind = $mainMod, 0, workspace, 10 + # Move active window to a workspace with mainMod + SHIFT + [0-9] bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 2, movetoworkspace, 2 @@ -121,18 +115,22 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 + # Special workspace (scratchpad) bind = $mainMod, S, togglespecialworkspace, magic bind = $mainMod SHIFT, S, movetoworkspace, special:magic + # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 + # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow + # Laptop multimedia keys for volume and LCD brightness bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-