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

24 lines
749 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
config.home.niri.settings.autostart = pkgs.writeText "autostart" ''
// Everpresent bar
spawn-at-startup "waybar"
// Daemons and tray apps
spawn-at-startup "hyprpaper"
spawn-at-startup "wl-paste" "-t" "text" "--watch" "clipman" "store" "-P"
spawn-at-startup "wl-copy"
spawn-at-startup "mako"
spawn-at-startup "sunshine"
spawn-at-startup "xwayland-satellite"
spawn-at-startup "${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1"
// Foreground apps
spawn-at-startup "librewolf" "-p" "Misc" "--name" "MiscBrowser"
spawn-at-startup "vesktop"
spawn-at-startup "fractal"
spawn-at-startup "telegram-desktop"
spawn-at-startup "thunderbird"
'';
}