🚀 perf(hypr): new base rule for centering and float windows
This commit is contained in:
parent
edcf3b0833
commit
f76624f9ce
4 changed files with 9 additions and 8 deletions
|
@ -22,7 +22,7 @@ framerate = 75
|
||||||
# The number of bars (0-200). 0 sets it to auto (fill up console).
|
# 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' width and space between bars in number of characters.
|
||||||
;bars = 0
|
;bars = 0
|
||||||
;bar_width = 6
|
bar_width = 3
|
||||||
;bar_spacing = 1
|
;bar_spacing = 1
|
||||||
# bar_height is only used for output in "noritake" format
|
# bar_height is only used for output in "noritake" format
|
||||||
; bar_height = 32
|
; bar_height = 32
|
||||||
|
|
|
@ -17,7 +17,7 @@ bind=SUPER,W,exec,librewolf
|
||||||
bind=SUPER,O,exec,~/.config/hypr/scripts/custom_app_launch obsidian
|
bind=SUPER,O,exec,~/.config/hypr/scripts/custom_app_launch obsidian
|
||||||
bind=SUPERSHIFT,E,exec, ~/.config/hypr/scripts/custom_app_launch nemo
|
bind=SUPERSHIFT,E,exec, ~/.config/hypr/scripts/custom_app_launch nemo
|
||||||
bind=SUPER,RETURN,exec,kitty
|
bind=SUPER,RETURN,exec,kitty
|
||||||
bind=SUPER,E,exec,kitty --class kitty-yazi yazi
|
bind=SUPER,E,exec,kitty --class center-float yazi
|
||||||
|
|
||||||
# Launchers
|
# Launchers
|
||||||
bind=SUPER, 23, exec, rofi -show drun -theme ~/.config/rofi/style.rasi # tab
|
bind=SUPER, 23, exec, rofi -show drun -theme ~/.config/rofi/style.rasi # tab
|
||||||
|
|
|
@ -41,8 +41,6 @@ windowrule = float, nm-connection-editor
|
||||||
|
|
||||||
## Other
|
## Other
|
||||||
windowrulev2 = center,class:^(kitty)$
|
windowrulev2 = center,class:^(kitty)$
|
||||||
windowrulev2 = opacity 0.80, class:^(Rofi)$
|
|
||||||
windowrule = animation slide, Rofi
|
|
||||||
windowrulev2 = animation windowsOut, 0, class:(wleave)
|
windowrulev2 = animation windowsOut, 0, class:(wleave)
|
||||||
windowrule = float, keyb-kitty
|
windowrule = float, keyb-kitty
|
||||||
windowrule = center 1, keyb-kitty
|
windowrule = center 1, keyb-kitty
|
||||||
|
@ -51,10 +49,12 @@ windowrule = size 30% 85%,^(pavucontrol)$
|
||||||
windowrule = float, ^(yazi-geeqie)$
|
windowrule = float, ^(yazi-geeqie)$
|
||||||
windowrule = size 80% 80%,^(yazi-geeqie)$
|
windowrule = size 80% 80%,^(yazi-geeqie)$
|
||||||
windowrule = center 1, ^(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 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$
|
||||||
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
|
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
|
||||||
windowrulev2 = nofocus,class:^(xwaylandvideobridge)$
|
windowrulev2 = nofocus,class:^(xwaylandvideobridge)$
|
||||||
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
|
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
|
||||||
|
|
||||||
|
## Base Rules
|
||||||
|
windowrule = float, ^(center-float)$
|
||||||
|
windowrule = size 70% 70%, ^(center-float)$
|
||||||
|
windowrule = center 1, ^(center-float)$
|
||||||
|
|
|
@ -284,7 +284,8 @@
|
||||||
"reverse": false,
|
"reverse": false,
|
||||||
"source": "auto",
|
"source": "auto",
|
||||||
"stereo": true,
|
"stereo": true,
|
||||||
"waves": false
|
"waves": false,
|
||||||
|
"on-click": "kitty --class center-float cava"
|
||||||
},
|
},
|
||||||
"custom/music": {
|
"custom/music": {
|
||||||
"format": "{icon} {}",
|
"format": "{icon} {}",
|
||||||
|
|
Loading…
Add table
Reference in a new issue