- 1. 概要
- 2. 設定
1. 概要
「niri」の自動起動の書き方について、メモします。
2. 設定
「CachyOS 260124」では。
~/.config/niri/cfg/autostart.kdl
に記述しておりまして、下記のように記述されております。
// ━━━━━━━━━━━━━━ Startup Applications ━━━━━━━━━━━━━q
// https://github.com/YaLTeR/niri/wiki/Configuration:-Miscellaneous#spawn-sh-at-startup
spawn-sh-at-startup "/usr/lib/polkit-kde-authentication-agent-1 &" // Polkit
spawn-sh-at-startup "qs -c noctalia-shell"
ま。
spawn-sh-at-startup "..."
で、「...」の中に、プログラムや引数を書くようですな。
|
|