✨ feat(hypr): new rules and scratchpads
This commit is contained in:
parent
b7a971741e
commit
808df0dbe8
3 changed files with 53 additions and 17 deletions
|
@ -12,13 +12,12 @@ bind=SUPER,F,fullscreen,0
|
||||||
bind=SUPER,Z,exec,pypr zoom
|
bind=SUPER,Z,exec,pypr zoom
|
||||||
|
|
||||||
## Applications
|
## Applications
|
||||||
bind=SUPER,W,exec,librewolf
|
bind=SUPER,W,exec,~/.config/hypr/scripts/custom_app_launch librewolf
|
||||||
bind=SUPERSHIFT,C,exec,~/.config/hypr/scripts/custom_app_launch code
|
bind=SUPERSHIFT,C,exec,~/.config/hypr/scripts/custom_app_launch code
|
||||||
bind=SUPER,O,exec,~/.config/hypr/scripts/custom_app_launch obsidian
|
bind=SUPER,O,exec,~/.config/hypr/scripts/custom_app_launch obsidian
|
||||||
bind=SUPERSHIFT,O,exec,~/.config/hypr/scripts/custom_app_launch office
|
bind=SUPERSHIFT,O,exec,~/.config/hypr/scripts/custom_app_launch office
|
||||||
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=SUPERSHIFT,V,exec,easyeffects
|
|
||||||
|
|
||||||
# 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
|
||||||
|
@ -27,6 +26,8 @@ bind=SUPER, 23, exec, rofi -show drun -theme ~/.config/rofi/style.rasi # tab
|
||||||
bind=SUPER,V,exec,pypr toggle volume
|
bind=SUPER,V,exec,pypr toggle volume
|
||||||
bind=SUPER, 51, exec, pypr toggle terminal && hyprctl dispatch bringactivetotop ## Backslash
|
bind=SUPER, 51, exec, pypr toggle terminal && hyprctl dispatch bringactivetotop ## Backslash
|
||||||
bind=SUPER, B, exec, pypr toggle btop && hyprctl dispatch bringactivetotop
|
bind=SUPER, B, exec, pypr toggle btop && hyprctl dispatch bringactivetotop
|
||||||
|
bind=SUPERSHIFT, G, exec, pypr toggle galculator && hyprctl dispatch bringactivetotop
|
||||||
|
bind=SUPERSHIFT, B, exec, pypr toggle bluetooth && hyprctl dispatch bringactivetotop
|
||||||
bind=SUPER,E,exec,pypr toggle yazi && hyprctl dispatch bringactivetotop
|
bind=SUPER,E,exec,pypr toggle yazi && hyprctl dispatch bringactivetotop
|
||||||
|
|
||||||
# Screenshotting
|
# Screenshotting
|
||||||
|
|
|
@ -11,7 +11,8 @@
|
||||||
"command": "pavucontrol",
|
"command": "pavucontrol",
|
||||||
"unfocus": "hide",
|
"unfocus": "hide",
|
||||||
"animation": "fromLeft",
|
"animation": "fromLeft",
|
||||||
"margin": 20
|
"margin": 20,
|
||||||
|
"lazy": true
|
||||||
},
|
},
|
||||||
"terminal": {
|
"terminal": {
|
||||||
"command": "kitty --class scratchpad"
|
"command": "kitty --class scratchpad"
|
||||||
|
@ -20,7 +21,19 @@
|
||||||
"command": "kitty --class scratchpad yazi"
|
"command": "kitty --class scratchpad yazi"
|
||||||
},
|
},
|
||||||
"btop": {
|
"btop": {
|
||||||
"command": "kitty --class scratchpad btop"
|
"command": "kitty --class scratchpad btop",
|
||||||
|
"lazy": true
|
||||||
|
},
|
||||||
|
"galculator": {
|
||||||
|
"command": "galculator",
|
||||||
|
"lazy": true
|
||||||
|
},
|
||||||
|
"bluetooth": {
|
||||||
|
"command": "blueman-manager",
|
||||||
|
"animation": "fromRight",
|
||||||
|
"unfocus": "hide",
|
||||||
|
"margin": 20,
|
||||||
|
"lazy": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,15 +1,20 @@
|
||||||
## Autostart
|
## Autostart
|
||||||
windowrulev2 = workspace 23 silent,class:^(thunderbird)$
|
windowrulev2 = workspace 23 silent,class:^(.*thunderbird.*)$
|
||||||
windowrulev2 = workspace 21,silent,class:^(Spotify)$
|
windowrulev2 = workspace 21,silent,class:^(.*Spotify.*)$
|
||||||
windowrulev2 = workspace 22 silent,class:^(discord)$
|
windowrulev2 = workspace 22 silent,class:^(.*discord.*)$
|
||||||
|
|
||||||
|
|
||||||
## Base Rules
|
## Base Rules
|
||||||
$center-float = class:^(center-float)$|^(file-roller)$|^(.*easyeffects.*)$|^(Geeqie)$
|
$center-float = class:^(center-float)$|^(.*file-roller.*)$|^(Geeqie)$|^(.*celluloid.*)$
|
||||||
windowrulev2 = float,$center-float
|
windowrulev2 = float,$center-float
|
||||||
windowrulev2 = size 70% 70%,$center-float
|
windowrulev2 = size 70% 70%,$center-float
|
||||||
windowrulev2 = center 1,$center-float
|
windowrulev2 = center 1,$center-float
|
||||||
|
|
||||||
|
$center-float-mini = class:^(center-float-mini)$|^(.*galculator.*)$
|
||||||
|
windowrulev2 = float,$center-float-mini
|
||||||
|
windowrulev2 = size 30% 40%,$center-float-mini
|
||||||
|
windowrulev2 = center 1,$center-float-mini
|
||||||
|
|
||||||
|
|
||||||
## Float Rules
|
## Float Rules
|
||||||
windowrule = float, xfce-polkit|galculator|wleave|title:Open File|title:Open Folder|title:branchdialog|nwg-look|nm-connection-editor
|
windowrule = float, xfce-polkit|galculator|wleave|title:Open File|title:Open Folder|title:branchdialog|nwg-look|nm-connection-editor
|
||||||
|
@ -19,17 +24,17 @@ windowrule = float, xfce-polkit|galculator|wleave|title:Open File|title:Open Fol
|
||||||
# Games
|
# Games
|
||||||
windowrulev2 = workspace 8,class:^(.*steam_app.*)$
|
windowrulev2 = workspace 8,class:^(.*steam_app.*)$
|
||||||
windowrulev2 = workspace 18,class:^(steam)$|(.*atlauncher.*)$|(.*heroic.*)$
|
windowrulev2 = workspace 18,class:^(steam)$|(.*atlauncher.*)$|(.*heroic.*)$
|
||||||
windowrulev2 = workspace 8,class:^(Ryujinx)$|(.*cemu.*)$|(.*dolphin.*)$|(.*RetroArch.*)$|(xemu)$|(.*duckstation.*)$|(rpcs3)$
|
windowrulev2 = workspace 8,class:^(.*Ryujinx.*)$|(.*cemu.*)$|(.*dolphin.*)$|(.*RetroArch.*)$|(.*xemu.*)$|(.*duckstation.*)$|(.*rpcs3.*)$
|
||||||
|
|
||||||
# Tech
|
|
||||||
windowrulev2 = workspace 26,class:^(nm-connection-editor)$
|
|
||||||
windowrulev2 = workspace 9,class:^(virt-manager)$
|
|
||||||
|
|
||||||
# Media
|
# Media
|
||||||
|
windowrulev2 = workspace 9,class:^(.*virt-manager.*)$
|
||||||
windowrulev2 = workspace 17,class:^(.*obsproject.*)$
|
windowrulev2 = workspace 17,class:^(.*obsproject.*)$
|
||||||
windowrulev2 = workspace 6,class:^(.*vital.*)$|(.*fl64.*)$
|
windowrulev2 = workspace 6,class:^(.*vital.*)$|(.*fl64.*)$
|
||||||
windowrulev2 = workspace 5,class:^(pinta)$
|
windowrulev2 = workspace 5,class:^(.*pinta.*)$
|
||||||
|
windowrulev2 = workspace 16,class:^(.*easyeffects.*)$|^(.*qpwgraph.*)$
|
||||||
|
|
||||||
|
# Others
|
||||||
|
windowrulev2 = workspace 10,class:^(.*obsidian.*)$
|
||||||
|
|
||||||
# Scratchpads
|
# Scratchpads
|
||||||
$scratchpad = class:^(scratchpad)$
|
$scratchpad = class:^(scratchpad)$
|
||||||
|
@ -38,17 +43,34 @@ windowrulev2 = size 70% 70%,$scratchpad
|
||||||
windowrulev2 = center 1,$scratchpad
|
windowrulev2 = center 1,$scratchpad
|
||||||
windowrulev2 = workspace special silent,$scratchpad
|
windowrulev2 = workspace special silent,$scratchpad
|
||||||
|
|
||||||
$pavu = class:^(pavucontrol)$
|
$pavu = class:^(.*pavucontrol.*)$
|
||||||
windowrulev2 = workspace special silent,$pavu
|
windowrulev2 = workspace special silent,$pavu
|
||||||
windowrulev2 = float,$pavu
|
windowrulev2 = float,$pavu
|
||||||
windowrulev2 = size 30% 85%,$pavu
|
windowrulev2 = size 30% 85%,$pavu
|
||||||
|
|
||||||
|
$galculator = class:^(.*galculator.*)$
|
||||||
|
windowrulev2 = workspace special silent,$galculator
|
||||||
|
|
||||||
|
$blueman = class:^(.*blueman-manager.*)$
|
||||||
|
windowrulev2 = float,$blueman
|
||||||
|
windowrulev2 = size 30% 85%,$blueman
|
||||||
|
windowrulev2 = workspace special silent,$blueman
|
||||||
|
|
||||||
|
|
||||||
## Specific App Rules
|
## Specific App Rules
|
||||||
$videobridge = class:^(xwaylandvideobridge)$
|
$videobridge = class:^(.*xwaylandvideobridge.*)$
|
||||||
windowrulev2 = opacity 0.0 override 0.0 override, $videobridge
|
windowrulev2 = opacity 0.0 override 0.0 override, $videobridge
|
||||||
windowrulev2 = noanim, $videobridge
|
windowrulev2 = noanim, $videobridge
|
||||||
windowrulev2 = nofocus, $videobridge
|
windowrulev2 = nofocus, $videobridge
|
||||||
windowrulev2 = noinitialfocus, $videobridge
|
windowrulev2 = noinitialfocus, $videobridge
|
||||||
|
|
||||||
windowrulev2 = animation windowsOut, 0, class:(wleave)
|
windowrulev2 = animation windowsOut, 0, class:(.*wleave.*)
|
||||||
|
|
||||||
|
$zathura = class:^(.*zathura.*)$
|
||||||
|
windowrulev2 = float, $zathura
|
||||||
|
windowrulev2 = size 35% 90%, $zathura
|
||||||
|
windowrulev2 = center 1, $zathura
|
||||||
|
|
||||||
|
$scrcpy = class:^(.*scrcpy.*)$
|
||||||
|
windowrulev2 = center 1,$scrcpy
|
||||||
|
windowrulev2 = float,$scrcpy
|
||||||
|
|
Loading…
Add table
Reference in a new issue