manage systemd user scripts, set wallpaper in niri

This commit is contained in:
2026-06-08 16:47:42 -07:00
parent 1c42274ced
commit 830436f44c
6 changed files with 16 additions and 3907 deletions
+4 -4
View File
@@ -129,7 +129,7 @@ layout {
// off // off
// How many logical pixels the ring extends out from the windows. // How many logical pixels the ring extends out from the windows.
width 4 width 2
// Colors can be set in a variety of ways: // Colors can be set in a variety of ways:
// - CSS named colors: "red" // - CSS named colors: "red"
@@ -599,9 +599,8 @@ binds {
} }
spawn-at-startup "waybar" spawn-at-startup "waybar"
spawn-sh-at-startup "kanshi" spawn-at-startup "udiskie" "--tray"
spawn-sh-at-startup "awww-daemon --no-cache" spawn-sh-at-startup "mako"
spawn-sh-at-startup "udiskie --tray"
spawn-sh-at-startup "wl-paste --watch cliphist store" spawn-sh-at-startup "wl-paste --watch cliphist store"
spawn-sh-at-startup "~/.config/scripts/set_wallpaper.sh" spawn-sh-at-startup "~/.config/scripts/set_wallpaper.sh"
@@ -610,3 +609,4 @@ debug {
render-drm-device "/dev/dri/renderD128" render-drm-device "/dev/dri/renderD128"
} }
+1 -1
View File
@@ -6,4 +6,4 @@ wallpapers=("$dir"/*)
idx=$(( RANDOM % ${#wallpapers[@]})) idx=$(( RANDOM % ${#wallpapers[@]}))
selected="${wallpapers[$idx]}" selected="${wallpapers[$idx]}"
awww img "$selected" swaybg -m fill -i "$selected"
+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=kanshi
After=graphical-session.target
[Service]
type=simple
ExecStart=/usr/bin/kanshi
[Install]
WantedBy=default.target
+1
View File
@@ -0,0 +1 @@
/home/frosty/.config/systemd/user/kanshi.service
-4
View File
@@ -1,4 +0,0 @@
#!/bin/bash
killall -q wired
wired &
-3898
View File
File diff suppressed because it is too large Load Diff