aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2023-04-07 11:16:55 +0000
committerLuca Matei Pintilie <lucafulger@gmail.com>2023-04-07 11:16:55 +0000
commit27a9abe46fd147e129f4b603662e7c9ebd23df31 (patch)
tree4a91db6a333709f7b96f3b76c4d2662b50c4bc1d
parentc8ad47eabefc3ff9d545227e2d01eeaac876347d (diff)
downloaddotfiles-27a9abe46fd147e129f4b603662e7c9ebd23df31.tar
dotfiles-27a9abe46fd147e129f4b603662e7c9ebd23df31.tar.gz
dotfiles-27a9abe46fd147e129f4b603662e7c9ebd23df31.tar.bz2
dotfiles-27a9abe46fd147e129f4b603662e7c9ebd23df31.tar.lz
dotfiles-27a9abe46fd147e129f4b603662e7c9ebd23df31.tar.xz
dotfiles-27a9abe46fd147e129f4b603662e7c9ebd23df31.tar.zst
dotfiles-27a9abe46fd147e129f4b603662e7c9ebd23df31.zip
Hyprland fixes
Diffstat (limited to '')
-rw-r--r--.config/hypr/hyprland.conf48
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