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

29 lines
830 B
Nix

{ pkgs, ... }:
{
wayland.windowManager.sway.config = {
bars = [{ command = "waybar"; }];
startup = [
# Scratchpads
{ command = "foot -a btop -T Gotop btop"; }
{ command = "foot -a music -T Music ncmpcpp"; }
{ command = "foot -a sound -T Sound pulsemixer"; }
# Daemons and tray
{ command = "hyprpaper"; }
{ command = "wl-paste -t text --watch clipman store -P"; }
{ command = "wl-copy"; }
{ command = "mako"; }
{ command = "sunshine"; }
{ command = "${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1"; }
# Foreground
{ command = "librewolf -P Misc --name=MiscBrowser"; }
{ command = "thunderbird"; }
{ command = "vesktop"; }
{ command = "fractal"; }
{ command = "telegram-desktop"; }
];
};
}