feat(desktop): set monitor for apps on binto
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2025-02-06 21:40:40 -05:00
parent 7f03b1fa37
commit ddadec7917

View file

@ -259,18 +259,29 @@ in {
"sleep 3; ${getExe restartTailscale}" "sleep 3; ${getExe restartTailscale}"
]; ];
windowrule = [ windowrulev2 =
"tile,^(libreoffice)$" [
"float,^(org.gnome.Calculator)$" "tile, class:^(libreoffice)$"
"float,^(com.gabm.satty)$" "float, class:^(org.gnome.Calculator)$"
"size 1000 700,^(com.gabm.satty)$" "float, class:^(com.gabm.satty)$"
"size 1000 700, class:^(com.gabm.satty)$"
"float,^(com.nextcloud.desktopclient.nextcloud)$" "float, class:^(com.nextcloud.desktopclient.nextcloud)$"
"move cursor -15 -10,^(com.nextcloud.desktopclient.nextcloud)$" "move cursor -15 -10, class:^(com.nextcloud.desktopclient.nextcloud)$"
"size 400 581,^(com.nextcloud.desktopclient.nextcloud)$" "size 400 581, class:^(com.nextcloud.desktopclient.nextcloud)$"
"workspace special:protonmail silent,^(Proton Mail)$" "workspace special:protonmail silent, class:^(Proton Mail)$"
"workspace special:spot silent,^(Spotify)$" "workspace special:spot silent, class:^(Spotify)$"
]
++ optionals isNvidia [
"workspace 1 silent, class:^(discord)$"
"workspace 2 silent, class:^(steam)$"
"workspace 2 silent, initialTitle:^(.*Marvel Rivals.*)$"
];
workspace = optionals isNvidia [
"1, monitor:desc:Acer Technologies Acer K212HQL T3EAA0014201"
"2, monitor:${cfg.mainMonitor}"
]; ];
bind = map mkBind [ bind = map mkBind [