chore: update hyprland
This commit is contained in:
parent
c7743490a7
commit
4456977b9e
8 changed files with 309 additions and 202 deletions
|
|
@ -7,117 +7,114 @@ in
|
|||
{
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
windowrule = [
|
||||
"pseudo, class:(org.fcitx.)"
|
||||
"float, class:file_progress"
|
||||
"float, class:confirm"
|
||||
"float, class:dialog"
|
||||
"float, class:download"
|
||||
"float, class:notification"
|
||||
"float, class:error"
|
||||
"float, class:splash"
|
||||
"float, class:confirmreset"
|
||||
"float, title:Open File"
|
||||
"float, title:branchdialog"
|
||||
"float, class:pavucontrol-qt"
|
||||
"float, class:pavucontrol"
|
||||
"float, class:file-roller"
|
||||
"fullscreen, title:wlogout"
|
||||
"float, title:wlogout"
|
||||
"fullscreen, title:wlogout"
|
||||
"match:class ^(org.fcitx.), pseudo true"
|
||||
"match:class file_progress, float true"
|
||||
"match:class confirm, float true"
|
||||
"match:class dialog, float true"
|
||||
"match:class download, float true"
|
||||
"match:class notification, float true"
|
||||
"match:class error, float true"
|
||||
"match:class splash, float true"
|
||||
"match:class confirmreset, float true"
|
||||
"match:title Open File, float true"
|
||||
"match:title branchdialog, float true"
|
||||
"match:class pavucontrol-qt, float true"
|
||||
"match:class pavucontrol, float true"
|
||||
"match:class file-roller, float true"
|
||||
"match:title wlogout, fullscreen true"
|
||||
"match:title wlogout, float true"
|
||||
"match:title wlogout, fullscreen true"
|
||||
|
||||
"float, title:^(Media viewer)$"
|
||||
"float, title:^(File Operation Progress)$"
|
||||
"float, class:^(it.mijorus.smile)"
|
||||
"float, class:^(xdg-desktop-portal-gtk)$"
|
||||
"float, title:^(Steam Settings)$"
|
||||
"match:title ^(Media viewer)$, float true"
|
||||
"match:title ^(File Operation Progress)$, float true"
|
||||
"match:class ^(it.mijorus.smile), float true"
|
||||
"match:class ^(xdg-desktop-portal-gtk)$, float true"
|
||||
"match:title ^(Steam Settings)$, float true"
|
||||
|
||||
"fullscreen, initialClass:^(cs2)$"
|
||||
"fullscreen true, match:initial_class ^(cs2)$"
|
||||
|
||||
# Zen browser
|
||||
"opacity 0.9999 override, initialClass:^(zen)(.*)"
|
||||
"opacity 0.9999 override, match:initial_class ^(zen)(.*)"
|
||||
|
||||
# Ghostty
|
||||
"opacity 0.9999 override, initialClass:^(com.mitchellh.ghostty)$"
|
||||
"opacity 0.9999 override, match:initial_class ^(com.mitchellh.ghostty)$"
|
||||
|
||||
# Picture in picture windows
|
||||
"float, title:^(Picture-in-Picture)$"
|
||||
"pin, title:^(Picture-in-Picture)$"
|
||||
"float, class:^(vesktop)$,title:^(Discord Popout)$"
|
||||
"pin, class:^(vesktop)$,title:^(Discord Popout)$"
|
||||
"float, class:^(steam)$,title:^(Friends List)$"
|
||||
"float true, match:title ^(Picture-in-Picture)$"
|
||||
"pin true, match:title ^(Picture-in-Picture)$"
|
||||
"float true, match:class ^(vesktop)$, match:title ^(Discord Popout)$"
|
||||
"pin true, match:class ^(vesktop)$, match:title ^(Discord Popout)$"
|
||||
"float true, match:class ^(steam)$, match:title ^(Friends List)$"
|
||||
|
||||
# Meidia control
|
||||
"move ${right} ${top}, class: ^(org.pulseaudio.pavucontrol)$"
|
||||
"size 30% 33%, class: ^(org.pulseaudio.pavucontrol)$"
|
||||
"move ${right} ${top}, match:class ^(org.pulseaudio.pavucontrol)$"
|
||||
"size 30% 33%, match:class ^(org.pulseaudio.pavucontrol)$"
|
||||
|
||||
# Local Send (File Sharing)
|
||||
"move ${right} 8%, class: ^(localsend_app)$"
|
||||
"size 20% 80%, class: ^(localsend_app)$"
|
||||
"move ${right} 8%, match:class ^(localsend_app)$"
|
||||
"size 20% 80%, match:class ^(localsend_app)$"
|
||||
|
||||
# Bluetooth
|
||||
"move ${right} ${top}, class: ^(blueberry.py)$"
|
||||
"size 25% 45%, class: ^(blueberry.py)$"
|
||||
"move ${right} ${top}, match:class ^(blueberry.py)$"
|
||||
"size 25% 45%, match:class ^(blueberry.py)$"
|
||||
|
||||
# Media Control
|
||||
"float, class: ^(org.pulseaudio.pavucontrol)$"
|
||||
"pin, class: ^(org.pulseaudio.pavucontrol)$"
|
||||
"animation slide top 20%, class: ^(org.pulseaudio.pavucontrol)$"
|
||||
"float true, match:class ^(org.pulseaudio.pavucontrol)$"
|
||||
"pin true, match:class ^(org.pulseaudio.pavucontrol)$"
|
||||
"animation slide top 20%, match:class ^(org.pulseaudio.pavucontrol)$"
|
||||
|
||||
# Local Send (File Sharing)
|
||||
"float, class: ^(localsend_app)$"
|
||||
"pin, class: ^(localsend_app)$"
|
||||
"animation slide right 20%, class: ^(localsend_app)$"
|
||||
"float true, match:class ^(localsend_app)$"
|
||||
"pin true, match:class ^(localsend_app)$"
|
||||
"animation slide right 20%, match:class ^(localsend_app)$"
|
||||
|
||||
# Airplay
|
||||
"move ${right} 10%, class: ^(GStreamer)$"
|
||||
"size 21% 80%, class: ^(GStreamer)$"
|
||||
"pin, class: ^(GStreamer)$"
|
||||
"float, class: ^(GStreamer)$"
|
||||
"opacity 1.0 override 1.0 override, class: ^(GStreamer)$"
|
||||
"noblur, class: ^(GStreamer)$"
|
||||
"animation slide right 20%, class: ^(GStreamer)$"
|
||||
"keepaspectratio, class: ^(GStreamer)$"
|
||||
"move ${right} 10%, match:class ^(GStreamer)$"
|
||||
"size 21% 80%, match:class ^(GStreamer)$"
|
||||
"pin true, match:class ^(GStreamer)$"
|
||||
"float true, match:class ^(GStreamer)$"
|
||||
"opacity 1.0 override 1.0 override, match:class ^(GStreamer)$"
|
||||
"no_blur true, match:class ^(GStreamer)$"
|
||||
"animation slide right 20%, match:class ^(GStreamer)$"
|
||||
"keep_aspect_ratio true, match:class ^(GStreamer)$"
|
||||
|
||||
# Bluetooth
|
||||
"float, class: ^(blueberry.py)$"
|
||||
"pin, class: ^(blueberry.py)$"
|
||||
"animation slide top 20%, class: ^(blueberry.py)$"
|
||||
"float true, match:class ^(blueberry.py)$"
|
||||
"pin true, match:class ^(blueberry.py)$"
|
||||
"animation slide top 20%, match:class ^(blueberry.py)$"
|
||||
|
||||
# Steam
|
||||
"workspace 7 silent, class: ^(steam)$"
|
||||
"workspace unset, class: ^(steam)$, floating: 1"
|
||||
"workspace 7 silent, match:class ^(steam)$"
|
||||
"workspace unset, match:class ^(steam)$, match:float true"
|
||||
|
||||
# steam game
|
||||
"workspace 7 silent, class: ^(steam_app_)(.*)"
|
||||
"workspace 7 silent, match:class ^(steam_app_)(.*)"
|
||||
|
||||
# VLC
|
||||
"workspace 3, initialClass: ^(vlc), floating: 0"
|
||||
"workspace 3, match:initial_class ^(vlc), match:float false"
|
||||
|
||||
# discord
|
||||
"workspace 4 silent, initialClass: ^(discord), floating: 0"
|
||||
"workspace 4 silent, match:initial_class ^(discord), match:float false"
|
||||
|
||||
# Davinci resolve
|
||||
"center 1, initialClass: ^(resolve), floating: 1"
|
||||
"center 1, match:initial_class ^(resolve), match:float true"
|
||||
|
||||
# Disable Tansparent
|
||||
"opacity 1.0 override 1.0 override, tag:${notransTag}"
|
||||
"noblur, tag: ^(${notransTag})$"
|
||||
"opacity 1.0 override 1.0 override, match:tag ${notransTag}"
|
||||
"no_blur true, match:tag ^(${notransTag})$"
|
||||
];
|
||||
|
||||
layerrule = [
|
||||
"blur, waybar"
|
||||
"blur, logout_dialog"
|
||||
"unset, rofi"
|
||||
"blur, rofi"
|
||||
"ignorezero, rofi"
|
||||
"unset, swaync-control-center"
|
||||
"unset, swaync-notification-window"
|
||||
"blur, swaync-control-center"
|
||||
"blur, swaync-notification-window"
|
||||
"ignorezero, swaync-control-center"
|
||||
"ignorezero, swaync-notification-window"
|
||||
"ignorealpha 0.1, swaync-control-center"
|
||||
"ignorealpha 0.1, swaync-notification-window"
|
||||
"match:namespace waybar, blur on"
|
||||
"match:namespace logout_dialog, blur on"
|
||||
"match:namespace rofi, blur on"
|
||||
"match:namespace rofi, ignore_alpha 0"
|
||||
"match:namespace swaync-control-center, blur on"
|
||||
"match:namespace swaync-notification-window, blur on"
|
||||
"match:namespace swaync-control-center, ignore_alpha 0"
|
||||
"match:namespace swaync-notification-window, ignore_alpha 0"
|
||||
"match:namespace swaync-control-center, ignore_alpha 0.1"
|
||||
"match:namespace swaync-notification-window, ignore_alpha 0.1"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue