NixOS-Config/modules/home/sway/autostart/default.nix

30 lines
800 B
Nix
Raw Normal View History

2024-10-09 03:36:08 -04:00
{ pkgs, ... }:
{
2024-11-07 18:17:51 -05:00
wayland.windowManager.sway.config = {
bars = [ {command = "waybar";} ];
2024-08-24 22:16:51 -04:00
2024-11-07 18:17:51 -05:00
startup = [
# Scratchpads
{command = "foot -a gotop -T Gotop gotop";}
{command = "foot -a music -T Music ncmpcpp";}
{command = "foot -a sound -T Sound pulsemixer";}
{command = "easyeffects";}
2024-08-24 22:16:51 -04:00
2024-11-07 18:17:51 -05:00
# Daemons and tray apps
{command = "wl-paste -t text --watch clipman store -P";}
{command = "wl-copy";}
{command = "mako";}
{command = "sunshine";}
2024-08-24 22:16:51 -04:00
2024-11-07 18:17:51 -05:00
# Polkit agent
{command = "${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1";}
2024-08-24 22:16:51 -04:00
2024-11-07 18:17:51 -05:00
# Foreground apps
{command = "librewolf -P Misc --name=MiscBrowser";}
{command = "vesktop";}
{command = "fractal";}
{command = "thunderbird";}
];
2024-08-24 22:16:51 -04:00
};
}