Add ~/.config/systemd/user
This commit is contained in:
10
dot_config/systemd/user/geoclue-agent.service
Normal file
10
dot_config/systemd/user/geoclue-agent.service
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Geoclue agent
|
||||||
|
BindsTo=sway-session.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=/usr/lib/geoclue-2.0/demos/agent
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=sway-session.target
|
11
dot_config/systemd/user/kanshi.service
Normal file
11
dot_config/systemd/user/kanshi.service
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Dynamic output configuration for Wayland compositors
|
||||||
|
Documentation=https://github.com/emersion/kanshi
|
||||||
|
BindsTo=sway-session.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=/usr/bin/kanshi
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=sway-session.target
|
13
dot_config/systemd/user/ssh-agent.service
Normal file
13
dot_config/systemd/user/ssh-agent.service
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# From: https://wiki.archlinux.org/title/SSH_keys#SSH_agents
|
||||||
|
[Unit]
|
||||||
|
Description=SSH key agent
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
|
||||||
|
# DISPLAY required for ssh-askpass to work
|
||||||
|
Environment=DISPLAY=:0
|
||||||
|
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
8
dot_config/systemd/user/sway-session.target
Normal file
8
dot_config/systemd/user/sway-session.target
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# See: https://github.com/swaywm/sway/wiki/Systemd-integration
|
||||||
|
# See: https://wiki.archlinux.org/title/Sway#Manage_Sway-specific_daemons_with_systemd
|
||||||
|
[Unit]
|
||||||
|
Description=sway compositor session
|
||||||
|
Documentation=man:systemd.special(7)
|
||||||
|
BindsTo=graphical-session.target
|
||||||
|
Wants=graphical-session-pre.target
|
||||||
|
After=graphical-session-pre.target
|
17
dot_config/systemd/user/swayidle.service
Normal file
17
dot_config/systemd/user/swayidle.service
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Idle manager for Wayland
|
||||||
|
Documentation=man:swayidle(1)
|
||||||
|
BindsTo=sway-session.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=/usr/bin/swayidle -w \
|
||||||
|
timeout 300 'swaylock -f -c 000000 \
|
||||||
|
-i /home/aorth/Downloads/3121px-Jerusalem-2013-Temple_Mount-Dome_of_the_Rock-Detail_01.jpg' \
|
||||||
|
timeout 600 'swaymsg "output * power off"' \
|
||||||
|
resume 'swaymsg "output * power on"' \
|
||||||
|
before-sleep 'swaylock -f -c 000000 \
|
||||||
|
-i /home/aorth/Downloads/3121px-Jerusalem-2013-Temple_Mount-Dome_of_the_Rock-Detail_01.jpg'
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=sway-session.target
|
12
dot_config/systemd/user/wob.service
Normal file
12
dot_config/systemd/user/wob.service
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=A lightweight overlay volume/backlight/progress/anything bar for Wayland
|
||||||
|
Documentation=man:wob(1)
|
||||||
|
BindsTo=sway-session.target
|
||||||
|
ConditionEnvironment=WAYLAND_DISPLAY
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
StandardInput=socket
|
||||||
|
ExecStart=/usr/bin/wob
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=sway-session.target
|
6
dot_config/systemd/user/wob.socket
Normal file
6
dot_config/systemd/user/wob.socket
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
[Socket]
|
||||||
|
ListenFIFO=%t/wob.sock
|
||||||
|
SocketMode=0600
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=sockets.target
|
Reference in New Issue
Block a user