refactor: auto start apps on login via xdg-autostart (#242)

Signed-off-by: Ryan Yin <xiaoyin_c@qq.com>
This commit is contained in:
Ryan Yin
2026-01-04 01:03:14 +08:00
committed by GitHub
parent e3fb563b79
commit e83b7a867f
6 changed files with 134 additions and 127 deletions

View File

@@ -6,7 +6,6 @@
// This is the main configuration file that includes all other config files
include "./keybindings.kdl"
include "./windowrules.kdl"
include "./spawn-at-startup.kdl"
include "./niri-hardware.kdl"
include "./noctalia-shell.kdl"

View File

@@ -1,20 +0,0 @@
// Add lines like this to spawn processes at startup.
// Note that running niri as a session supports xdg-desktop-autostart,
// which may be more convenient to use.
// See the binds section below for more spawn examples.
// Terminal applications
spawn-at-startup "foot"
spawn-at-startup "alacritty"
spawn-at-startup "ghostty"
// Network proxy
spawn-at-startup "clash-verge"
// Web browsers
spawn-at-startup "firefox"
spawn-at-startup "google-chrome-stable"
spawn-at-startup "chromium-browser"
// Communication applications
spawn-at-startup "Telegram"