🚀 perf(hypr): new base rule for centering and float windows

This commit is contained in:
Sergio Laín 2023-11-07 12:51:55 +01:00
parent edcf3b0833
commit f76624f9ce
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
4 changed files with 9 additions and 8 deletions

View file

@ -22,7 +22,7 @@ framerate = 75
# The number of bars (0-200). 0 sets it to auto (fill up console).
# Bars' width and space between bars in number of characters.
;bars = 0
;bar_width = 6
bar_width = 3
;bar_spacing = 1
# bar_height is only used for output in "noritake" format
; bar_height = 32

View file

@ -17,7 +17,7 @@ bind=SUPER,W,exec,librewolf
bind=SUPER,O,exec,~/.config/hypr/scripts/custom_app_launch obsidian
bind=SUPERSHIFT,E,exec, ~/.config/hypr/scripts/custom_app_launch nemo
bind=SUPER,RETURN,exec,kitty
bind=SUPER,E,exec,kitty --class kitty-yazi yazi
bind=SUPER,E,exec,kitty --class center-float yazi
# Launchers
bind=SUPER, 23, exec, rofi -show drun -theme ~/.config/rofi/style.rasi # tab

View file

@ -41,8 +41,6 @@ windowrule = float, nm-connection-editor
## Other
windowrulev2 = center,class:^(kitty)$
windowrulev2 = opacity 0.80, class:^(Rofi)$
windowrule = animation slide, Rofi
windowrulev2 = animation windowsOut, 0, class:(wleave)
windowrule = float, keyb-kitty
windowrule = center 1, keyb-kitty
@ -51,10 +49,12 @@ windowrule = size 30% 85%,^(pavucontrol)$
windowrule = float, ^(yazi-geeqie)$
windowrule = size 80% 80%,^(yazi-geeqie)$
windowrule = center 1, ^(yazi-geeqie)$
windowrule = float, ^(kitty-yazi)$
windowrule = size 80% 80%,^(kitty-yazi)$
windowrule = center 1, ^(kitty-yazi)$
windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
windowrulev2 = nofocus,class:^(xwaylandvideobridge)$
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
## Base Rules
windowrule = float, ^(center-float)$
windowrule = size 70% 70%, ^(center-float)$
windowrule = center 1, ^(center-float)$

View file

@ -284,7 +284,8 @@
"reverse": false,
"source": "auto",
"stereo": true,
"waves": false
"waves": false,
"on-click": "kitty --class center-float cava"
},
"custom/music": {
"format": "{icon} {}",