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

24 lines
775 B
Nix

{ pkgs, ... }:
{
config.home.niri.settings.autostart = pkgs.writeText "autostart" ''
spawn-at-startup "waybar"
// Daemons and tray
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 "rot8"
spawn-at-startup "${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1"
spawn-at-startup "${pkgs.xwayland-satellite}/bin/xwayland-satellite"
// Foreground
spawn-at-startup "librewolf" "-p" "Misc" "--name" "MiscBrowser"
spawn-at-startup "thunderbird"
spawn-at-startup "vesktop"
spawn-at-startup "fractal"
spawn-at-startup "telegram-desktop"
'';
}