Add resize shortcuts in hyprland
This commit is contained in:
parent
1857477993
commit
8a446964ae
1 changed files with 19 additions and 5 deletions
|
@ -9,7 +9,7 @@
|
||||||
monitor=,highrr,auto,1.25
|
monitor=,highrr,auto,1.25
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/
|
# https://wiki.hyprland.org/Configuring/Variables/
|
||||||
# env = XCURSOR_SIZE,24
|
# env = XCURSOR_SIZE,24
|
||||||
env = GDK_SCALE,1
|
env = GDK_SCALE,2
|
||||||
env = XCURSOR_SIZE,48
|
env = XCURSOR_SIZE,48
|
||||||
|
|
||||||
# unscale XWayland
|
# unscale XWayland
|
||||||
|
@ -26,10 +26,10 @@
|
||||||
env = WLR_NO_HARDWARE_CURSORS,1
|
env = WLR_NO_HARDWARE_CURSORS,1
|
||||||
|
|
||||||
general {
|
general {
|
||||||
gaps_in = 5
|
gaps_in = 10
|
||||||
gaps_out = 20
|
gaps_out = 20
|
||||||
border_size = 3
|
border_size = 3
|
||||||
# First six are color, last 2 are opacity?
|
# First six are color, last 2 are opacity
|
||||||
col.active_border = rgba(d5c4a1bb) # Gruvbox fg2, opacity bb
|
col.active_border = rgba(d5c4a1bb) # Gruvbox fg2, opacity bb
|
||||||
col.inactive_border = rgba(504945dd) # Gruvbox bg2, opacity aa
|
col.inactive_border = rgba(504945dd) # Gruvbox bg2, opacity aa
|
||||||
resize_on_border = true
|
resize_on_border = true
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
disable_hyprland_logo = true
|
disable_hyprland_logo = true
|
||||||
}
|
}
|
||||||
decoration {
|
decoration {
|
||||||
rounding = 10
|
rounding = 5
|
||||||
active_opacity = 0.9
|
active_opacity = 0.9
|
||||||
inactive_opacity = 0.7
|
inactive_opacity = 0.7
|
||||||
fullscreen_opacity = 0.9
|
fullscreen_opacity = 0.9
|
||||||
|
@ -220,6 +220,20 @@
|
||||||
# Use rofi as an alt-tab switcher
|
# Use rofi as an alt-tab switcher
|
||||||
# bind = ALT, TAB, exec, rofi -show window
|
# bind = ALT, TAB, exec, rofi -show window
|
||||||
|
|
||||||
|
# Resize
|
||||||
|
bind = $mainMod, R, submap, resize
|
||||||
|
submap = resize
|
||||||
|
binde = , H, resizeactive,-50 0
|
||||||
|
binde = , L, resizeactive,50 0
|
||||||
|
binde = , K, resizeactive,0 -50
|
||||||
|
binde = , J, resizeactive,0 50
|
||||||
|
binde = , left, resizeactive,-50 0
|
||||||
|
binde = , right, resizeactive,50 0
|
||||||
|
binde = , up, resizeactive,0 -50
|
||||||
|
binde = , down, resizeactive,0 50
|
||||||
|
bind = , escape, submap, reset
|
||||||
|
submap = reset
|
||||||
|
|
||||||
# Start the config:
|
# Start the config:
|
||||||
# https://wiki.hyprland.org/FAQ/#some-of-my-apps-take-a-really-long-time-to-open
|
# https://wiki.hyprland.org/FAQ/#some-of-my-apps-take-a-really-long-time-to-open
|
||||||
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
|
|
Loading…
Reference in a new issue