70 lines
3.2 KiB
Nix
70 lines
3.2 KiB
Nix
{ pkgs, ... }: {
|
|
wayland.windowManager.hyprland.settings = {
|
|
windowrule = [
|
|
"workspace 2, class:^(emacs)$"
|
|
"workspace 3, class:^(kitty)$"
|
|
"workspace 3, class:^(com.mitchellh.ghostty)$"
|
|
"workspace 9, class:^(org.qutebrowser.qutebrowser)$"
|
|
"workspace 9, title:^(Chromium)$"
|
|
"fullscreen, class:^(wlogout)$"
|
|
"float, class:^(Zotero)$"
|
|
"float, class:^(firefox)$"
|
|
"center, class:^(firefox)$"
|
|
"size 620 720, class:^(firefox)$"
|
|
"size 810 200, class:^(Zotero)$, title:^(Quick Format Citation)*$"
|
|
"tag +dialog, class:^(firefox)$, title:^(Certificate for )*$"
|
|
"tag +dialog, class:^(firefox)$, title:^(Extension: )*$"
|
|
"float, class:^(firefox)$, title:^(.*Firefox — Sharing Indicator.*)$"
|
|
"tag +dialog, class:^(firefox)$, title:^(Presensi Mahasiswa)*$"
|
|
"float, class:^(firefox)$, title:^(Extension)(.*)$"
|
|
"float, class:^(pcmanfm)$, title:^(Confirm File Replacing)$"
|
|
"float, class:^(nemo)$, title:^(Confirm File Replacing)$"
|
|
"float, title:^(Confirm File Replacing)$"
|
|
"float, class:thunar, title:^(Rename.*)$"
|
|
"float, class:^(org.inkscape.Inkscape)$"
|
|
"float, class:^(nm-connection-editor)$"
|
|
"float, class:^(.*blueman-manager.*)$"
|
|
"float, title:^(Picture-in-Picture)$"
|
|
"size 960 540, title:^(Picture-in-Picture)$"
|
|
"move 25%-, title:^(Picture-in-Picture)$"
|
|
"float, title:^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$"
|
|
"move 25%-, title:^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$"
|
|
"size 960 540, title:^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$"
|
|
"pin, title:^(danmufloat)$"
|
|
"noblur, class:^(org.mozilla.firefox)$"
|
|
"size 530 300, class:^(.*blueman-manager.*)$"
|
|
"move 100%-w-20 40, class:^(.*blueman-manager.*)$"
|
|
"tag +portal, class:^(.*desktop-portal.*)$"
|
|
"noborder, tag:portal"
|
|
"noblur, tag:portal"
|
|
"noshadow, tag:portal"
|
|
"float, tag:portal"
|
|
"float, tag:dialog"
|
|
"pin, tag:portal"
|
|
"pin, class:^(gcr-prompter)$"
|
|
"float, title:^(Volume Control)$"
|
|
"pin, title:^(Volume Control)$"
|
|
"size 560 340, title:^(Volume Control)$"
|
|
"move 100%-w-40 40, title:^(Volume Control)$"
|
|
"float, class:^(spotube)$"
|
|
"size 660 700, class:^(spotube)$"
|
|
"move 100%-w-20 40, class:^(spotube)$"
|
|
"float, title:^(pve - Proxmox Console - Chromium)$"
|
|
"float, class:^(thunderbird)$,title:^(Reminders)$"
|
|
"float, class:^(thunderbird)$,title:^(Edit Event:)$"
|
|
"float, class:^(thunderbird)$,title:^(An error has occurred)$"
|
|
"float, class:^(thunar)$,title:^(File Operation Progress)$"
|
|
"float, class:^(org.kde.polkit-kde-authentication-agent-1)$"
|
|
"size 60% 55%, class:^(nwg-look)$"
|
|
"center, class:^(nwg-look)$"
|
|
"fullscreen, class:^(cool-retro-term.cool-retro-term)$"
|
|
"float, class:^(virt-manager)$,title:^(Virtual Machine Manager)$"
|
|
"size 440 220, class:^(virt-manager)$,title:^(Virtual Machine Manager)$"
|
|
"center, class:^(virt-manager)$,title:^(Virtual Machine Manager)$"
|
|
"stayfocused, class:(pinentry-)(.*)" # fix pinentry losing focus
|
|
"rounding 10, class:kitty"
|
|
# "float, class:.*xdg-desktop-portal.*"
|
|
];
|
|
};
|
|
}
|