diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/hypr/hyprland.conf | 48 |
1 files changed, 25 insertions, 23 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 0d90157..6f7fc32 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -11,7 +11,7 @@ monitor = , preferred, auto, 1 device:at-translated-set-2-keyboard { kb_layout = no,us - kb_options = grp:alt_shift_toggle + # kb_options = grp:alt_shift_toggle } input { @@ -90,12 +90,16 @@ bindl=,switch:on:Lid Switch, exec, hyprctl keyword monitor "eDP-1, 1600x900, 0x bindl=,switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, disable" # Change focused window -bind = $modkey, H, movefocus, l -bind = $modkey, J, movefocus, d -bind = $modkey, K, movefocus, u -bind = $modkey, L, movefocus, r -bind = $modkey SHIFT, J, layoutmsg, swapnext -bind = $modkey SHIFT, K, layoutmsg, swapprev +binde = $modkey, H, movefocus, l +binde = $modkey, J, movefocus, d +binde = $modkey, K, movefocus, u +binde = $modkey, L, movefocus, r +binde = $modkey ALT, J, layoutmsg, swapnext +binde = $modkey ALT, K, layoutmsg, swapprev +binde = $modkey SHIFT, H, resizeactive, -10 0 +binde = $modkey SHIFT, L, resizeactive, 10 0 +binde = $modkey SHIFT, J, resizeactive, 0 10 +binde = $modkey SHIFT, K, resizeactive, 0 -10 # Switch workspaces with modkey + [0-9] bind = $modkey, 0, workspace, 10 @@ -122,27 +126,25 @@ bind = $modkey SHIFT, 8, movetoworkspace, 8 bind = $modkey SHIFT, 9, movetoworkspace, 9 # Media keys -binde = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle -binde = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% -binde = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% -binde = , XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle -binde = , XF86AudioPlay, exec, playerctl play-pause -binde = , XF86AudioNext, exec, playerctl next -binde = , XF86AudioPrev, exec, playerctl previous -binde = , XF86MonBrightnessDown, exec, brightnessctl set 5%- -binde = , XF86MonBrightnessUp, exec, brightnessctl set 5%+ +bindle = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle +bindle = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% +bindle = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% +bindle = , XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle +bindle = , XF86AudioPlay, exec, playerctl play-pause +bindle = , XF86AudioNext, exec, playerctl next +bindle = , XF86AudioPrev, exec, playerctl previous +bindle = , XF86MonBrightnessDown, exec, brightnessctl set 5%- +bindle = , XF86MonBrightnessUp, exec, brightnessctl set 5%+ #binde = , XF86KbdBrightnessDown, exec, brightnessctl --device $keyboard_backlight set 1- #binde = , XF86KbdBrightnessUp, exec, brightnessctl --device $keyboard_backlight set 1+ -bind = , print, exec, slurp | grim -l 0 -g - /dev/stdout | swappy -f - -o `date "+$HOME/screenshots/%Y-%m-%d_%R:%S.png"` -bind = $modkey, X, exec, swaylock +bind = $modkey SHIFT, S, exec, slurp | grim -l 0 -g - /dev/stdout | swappy -f - -o `date "+$HOME/screenshots/%Y-%m-%d_%R:%S.png"` +bind = $modkey, X, exec, swaylock # Scroll through existing workspaces with modkey + scroll -bind = $modkey, mouse_down, workspace, e+1 -bind = $modkey, mouse_up, workspace, e-1 - -bind = $modkey, Space, layoutmsg, swapwithmaster - +binde = $modkey, mouse_down, workspace, e+1 +binde = $modkey, mouse_up, workspace, e-1 +bind = $modkey, Space, layoutmsg, swapwithmaster # Move/resize windows with modkey + LMB/RMB and dragging bindm = $modkey, mouse:272, movewindow bindm = $modkey, mouse:273, resizewindow |