summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/niri/config.kdl5
-rw-r--r--.config/systemd/user/swaybg.service12
-rw-r--r--.config/systemd/user/swayidle.service12
3 files changed, 24 insertions, 5 deletions
diff --git a/.config/niri/config.kdl b/.config/niri/config.kdl
index 73e8c66..cc2efef 100644
--- a/.config/niri/config.kdl
+++ b/.config/niri/config.kdl
@@ -15,13 +15,8 @@ include "windows.kdl"
15// which may be more convenient to use. 15// which may be more convenient to use.
16// See the binds section below for more spawn examples. 16// See the binds section below for more spawn examples.
17 17
18// This line starts waybar, a commonly used bar for Wayland compositors.
19spawn-at-startup "waybar"
20spawn-at-startup "dunst"
21spawn-sh-at-startup "swaybg --image ~/.config/wallpaper"
22spawn-sh-at-startup "vicinae server" 18spawn-sh-at-startup "vicinae server"
23spawn-sh-at-startup "gammastep" 19spawn-sh-at-startup "gammastep"
24spawn-at-startup "swayidle -w"
25 20
26// To run a shell command (with variables, pipes, etc.), use spawn-sh-at-startup: 21// To run a shell command (with variables, pipes, etc.), use spawn-sh-at-startup:
27// spawn-sh-at-startup "qs -c ~/source/qs/MyAwesomeShell" 22// spawn-sh-at-startup "qs -c ~/source/qs/MyAwesomeShell"
diff --git a/.config/systemd/user/swaybg.service b/.config/systemd/user/swaybg.service
new file mode 100644
index 0000000..4a7903c
--- /dev/null
+++ b/.config/systemd/user/swaybg.service
@@ -0,0 +1,12 @@
1[Unit]
2Description=Wallpaper utility for Wayland
3After=graphical-session.target
4PartOf=graphical-session.target
5Requisite=graphical-session.target
6
7[Install]
8WantedBy=niri.service
9
10[Service]
11ExecStart=/usr/bin/swaybg --image "%h/.config/wallpaper"
12Restart=on-failure
diff --git a/.config/systemd/user/swayidle.service b/.config/systemd/user/swayidle.service
new file mode 100644
index 0000000..3f4397c
--- /dev/null
+++ b/.config/systemd/user/swayidle.service
@@ -0,0 +1,12 @@
1[Unit]
2Description=Idle management daemon for Wayland
3After=graphical-session.target
4PartOf=graphical-session.target
5Requisite=graphical-session.target
6
7[Install]
8WantedBy=niri.service
9
10[Service]
11ExecStart=/usr/bin/swayidle -w
12Restart=on-failure