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