mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2025-12-05 02:53:38 -08:00
update window rules to new format
This commit is contained in:
@@ -252,51 +252,44 @@ misc {
|
|||||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||||
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
||||||
|
|
||||||
# Example windowrule v1
|
# windowrule = match:class my-window, border_size 10
|
||||||
# windowrulev2 = float, class:com.mitchellh.ghostty
|
windowrule = float on, match:class discord
|
||||||
windowrule = float, class:discord
|
windowrule = float on, match:class mpv
|
||||||
windowrule = float, class:mpv
|
windowrule = float on, match:class steam
|
||||||
windowrule = float, class:steam
|
windowrule = float on, match:class anki
|
||||||
windowrule = float, class:anki
|
windowrule = float on, match:class python, match:title Import
|
||||||
windowrule = float, class:python, title:Import
|
windowrule = workspace 10 silent, match:class discord
|
||||||
windowrule = workspace 10 silent, class:discord
|
windowrule = workspace 9 silent, match:class steam
|
||||||
windowrule = workspace 9 silent, class:steam
|
windowrule = workspace 8 silent, match:class anki
|
||||||
windowrule = size 2118 1182, class:anki
|
windowrule = size 2118 1182, match:class anki
|
||||||
windowrule = workspace 8 silent, class:anki
|
# windowrule = opacity 0.88, match:class .* fullscreen:0
|
||||||
# windowrule = opacity 0.88, class:.* fullscreen:0
|
windowrule = opacity 1.0 override, match:class mpv
|
||||||
windowrule = opacity 1.0 override, class:mpv
|
windowrule = opacity 1.0 override, match:title (.*)asbplayer
|
||||||
windowrule = opacity 1.0 override, title:(.*)asbplayer
|
windowrule = tile on, match:title (.*)asbplayer
|
||||||
windowrule = tile, title:(.*)asbplayer
|
windowrule = opacity 1.0 override, match:class ^(remote-viewer)$
|
||||||
windowrule = opacity 1.0 override, class:^(remote-viewer)$
|
windowrule = opacity 1.0 override, match:class com.obsproject.Studio
|
||||||
windowrule = opacity 1.0 override, class:com.obsproject.Studio
|
windowrule = opacity 1.0 override, match:title (.*)(- YouTube(.*))
|
||||||
windowrule = opacity 1.0 override, title:(.*)(- YouTube(.*))
|
windowrule = opacity 1.0 override, match:class zen, match:title (.*)YouTube TV(.*)
|
||||||
windowrule = opacity 1.0 override, class:zen, title:(.*)YouTube TV(.*)
|
windowrule = opacity 1.0 override, match:class anki
|
||||||
windowrule = opacity 1.0 override, class:anki
|
|
||||||
|
|
||||||
|
|
||||||
# Example windowrule v2
|
|
||||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
|
||||||
|
|
||||||
# Ignore maximize requests from apps. You'll probably like this.
|
# Ignore maximize requests from apps. You'll probably like this.
|
||||||
windowrule = suppressevent maximize, class:.*
|
windowrule = suppress_event maximize, match:class .*
|
||||||
|
|
||||||
# Fix some dragging issues with XWayland
|
# Fix some dragging issues with XWayland
|
||||||
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
windowrule = no_focus on,match:class ^$,match:title ^$,match:xwayland 1,match:float 1,match:fullscreen 0,match:pin 0
|
||||||
|
|
||||||
# https://github.com/hyprwm/Hyprland/issues/3835#issuecomment-2004448245
|
|
||||||
windowrule = suppressevent maximize, class:^(zen)$
|
|
||||||
exec-once = $HOME/.local/bin/bitwarden-nofloat.sh
|
|
||||||
# ENABLE_HDR_WSI=1 mpv --vo=gpu-next --target-colorspace-hint --gpu-api=vulkan --gpu-context=waylandvk "filename"
|
|
||||||
|
|
||||||
# {{{ Screen sharing workaround: https://wiki.hyprland.org/Useful-Utilities/Screen-Sharing/#xwayland
|
# {{{ Screen sharing workaround: https://wiki.hyprland.org/Useful-Utilities/Screen-Sharing/#xwayland
|
||||||
windowrule = opacity 0.0 override, class:^(xwaylandvideobridge)$
|
windowrule = opacity 0.0 override, match:class ^(xwaylandvideobridge)$
|
||||||
windowrule = noanim, class:^(xwaylandvideobridge)$
|
windowrule = no_anim on, match:class ^(xwaylandvideobridge)$
|
||||||
windowrule = noinitialfocus, class:^(xwaylandvideobridge)$
|
windowrule = no_initial_focus on, match:class ^(xwaylandvideobridge)$
|
||||||
windowrule = maxsize 1 1, class:^(xwaylandvideobridge)$
|
windowrule = max_size 1 1, match:class ^(xwaylandvideobridge)$
|
||||||
windowrule = noblur, class:^(xwaylandvideobridge)$
|
windowrule = no_blur on, match:class ^(xwaylandvideobridge)$
|
||||||
windowrule = nofocus, class:^(xwaylandvideobridge)$
|
windowrule = no_focus on, match:class ^(xwaylandvideobridge)$
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
debug {
|
||||||
|
disable_logs = true
|
||||||
|
enable_stdout_logs = false
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
plugin {
|
plugin {
|
||||||
split-monitor-workspaces {
|
split-monitor-workspaces {
|
||||||
|
|||||||
Reference in New Issue
Block a user