refactor(systemd): update and cleanup user units
This commit is contained in:
1 parent
cc16fee5aa
commit
8e825194fa
5 files changed
+1
-12
No files matched your search
@@ -2,11 +2,9 @@
|
||||
Description=clipvault
|
||||
PartOf=graphical-session.target
|
||||
After=graphical-session.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/wl-paste --watch clipvault store --max-entries 5000
|
||||
ExecStart=/usr/bin/wl-paste --watch clipvault store --max-entries 200
|
||||
Restart=on-failure
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session.target
|
||||
@@ -2,11 +2,9 @@
|
||||
Description=GTK dark mode settings
|
||||
After=graphical-session.target
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/gsettings set org.gnome.desktop.interface gtk-theme Adwaita-dark
|
||||
ExecStart=/usr/bin/gsettings set org.gnome.desktop.interface color-scheme prefer-dark
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session.target
|
||||
@@ -1,10 +1,8 @@
|
||||
[Unit]
|
||||
Description=Per window keyboard layout (sway)
|
||||
Documentation=https://github.com/pyrschtjag
|
||||
PartOf=graphical-session.target
|
||||
After=graphical-session.target
|
||||
BindsTo=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
NotifyAccess=main
|
||||
@@ -19,6 +17,5 @@ StandardOutput=journal
|
||||
StandardError=journal
|
||||
TimeoutStartSec=30
|
||||
TimeoutStopSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session.target
|
||||
@@ -1,12 +1,10 @@
|
||||
[Unit]
|
||||
Description=Swaddle
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/sbin/swaddle
|
||||
NoNewPrivileges=yes
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session.target
|
||||
@@ -3,7 +3,6 @@ Description=Sway idle daemon
|
||||
PartOf=graphical-session.target
|
||||
After=graphical-session.target
|
||||
BindsTo=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/swayidle -w \
|
||||
@@ -16,6 +15,5 @@ Restart=always
|
||||
RestartSec=1
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session.target
|
||||
Reference in new issue
Block a user