feat: add autocommand to toggle relative number

This commit is contained in:
Fabio Lenherr / DashieTM 2023-02-28 22:49:54 +01:00
parent 7fb7a08108
commit aee215c25a
7 changed files with 50 additions and 36 deletions

View file

@ -58,7 +58,7 @@ decoration {
animations {
enabled=1
animation=windowsMove,1,1,default
animation=windowsMove,1,5,default
animation=windows,1,7,default
animation=border,1,10,default
animation=fade,1,10,default
@ -75,9 +75,10 @@ gestures {
}
misc {
vfr=true
vrr = 1
# animate_manual_resizes=true
# animate_manual_resizes=1
# enable_swallow=true
# swallow_regex=^(.*)(Alacritty)(.*)$
@ -132,7 +133,6 @@ bind=,XF86MonBrightnessDown,exec, $HOME/.config/eww/scripts/change-brightness br
bind=,XF86MonBrightnessUp,exec, $HOME/.config/eww/scripts/change-brightness brightness +10%
bind=SUPER,D,exec,$HOME/.config/eww/scripts/cockpit_toggle
bind=SUPER,A,exec,copyq toggle
bind=SUPER,L,exec,hyprpicker
binde=SUPER,bracketleft,movefocus,l

View file

@ -1,9 +1,4 @@
#
#fix the fucking portal
#
monitor=,720x920@60,auto,1
input {
repeat_delay=200
@ -18,7 +13,7 @@ input {
}
general {
sensitivity=1.0 # for mouse cursor
sensitivity=1.0
gaps_in=5
gaps_out=10
@ -26,32 +21,32 @@ general {
col.active_border=0x66ee1111
col.inactive_border=0x66333333
apply_sens_to_raw=0 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)
apply_sens_to_raw=0
}
decoration {
rounding=10
blur=1
blur_size=3 # minimum 1
blur_passes=1 # minimum 1
blur_size=3
blur_passes=1
blur_new_optimizations=true
}
animations {
enabled=0
enabled=1
}
dwindle {
preserve_split=true
pseudotile=0 # enable pseudotiling on dwindle
pseudotile=0
}
gestures {
}
misc {
animate_manual_resizes = 1
}
bind=SUPERALT,H,exec,alacritty
@ -62,5 +57,10 @@ bind=SUPERALT,up,movewindow,u
bind=SUPERALT,down,movewindow,d
bind=SUPERALT,J,fullscreen
windowrule = nofullscreenrequest,^(.*)$
bindm=SUPER,mouse:272,movewindow
bindm=SUPER,mouse:273,resizewindow
binde=SUPER,O,resizeactive,-20 0
binde=SUPER,P,resizeactive,20 0
binde=SUPER,K,resizeactive,0 -20
binde=SUPER,L,resizeactive,0 20