Fix messaging workspace

This commit is contained in:
Alexander Bantyev 2021-06-09 09:46:09 +03:00
parent 33cb845cb1
commit cb89b80b3a
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -32,11 +32,9 @@ in {
{ class = "Firefox"; }
];
"" = [
{ app_id = "org.kde.trojita"; }
{ title = ".*.Geary*"; }
{ title = "balsoft : weechat.*"; }
{ title = "Neochat"; }
{ title = "Slack"; }
{ app_id = "geary"; }
{ title = "nheko"; }
{ title = "Slack.*"; }
];
"" = [{ app_id = "cantata"; }];
};
@ -99,6 +97,12 @@ in {
# "${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1";
# }
{ command = "${pkgs.nheko}/bin/nheko"; }
{ command = toString (pkgs.writeShellScript "slack" ''
firefox https://serokell.slack.com &
sleep 10
swaymsg '[title=Slack.*] move to workspace '
swaymsg '[title=Slack.*] fullscreen disable'
''); }
{
command =
"swayidle -w before-sleep '${lock_fork}' lock '${lock_fork}' unlock 'pkill -9 swaylock'";