First Upload
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Eww Dock mit Icons
|
||||
After=graphical.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/eww open desktop-icons
|
||||
ExecStop=/usr/bin/eww close desktop-icons
|
||||
Restart=on-failure
|
||||
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Update eww config from git
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=%h/eww-icons/bin/update-eww.sh
|
||||
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Run eww-update at boot and daily
|
||||
|
||||
[Timer]
|
||||
OnBootSec=30s
|
||||
OnUnitActiveSec=1d
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Watch for remmina process changes
|
||||
|
||||
[Path]
|
||||
PathChanged=/proc
|
||||
Unit=remmina-watch.service
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Check if remmina is running
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/bash -c '
|
||||
if pgrep -x remmina >/dev/null; then
|
||||
systemctl --user stop eww-icons.service
|
||||
else
|
||||
systemctl --user start eww-icons.service
|
||||
fi
|
||||
'
|
||||
Reference in New Issue
Block a user