nixos-config/profiles/applications/slack.nix

11 lines
327 B
Nix
Raw Normal View History

2021-11-24 01:17:20 +04:00
{ pkgs, ... }: {
home-manager.users.balsoft.wayland.windowManager.sway.config.startup = [{
command = toString (pkgs.writeShellScript "slack" ''
firefox https://tweag.slack.com &
sleep 10
swaymsg '[title=Slack.*] move to workspace '
swaymsg '[title=Slack.*] fullscreen disable'
'');
}];
}