Change window transparency to a systemd service

This commit is contained in:
John Mertz 2022-11-21 18:47:13 -05:00
parent 49991faf6e
commit 1d5892ecf1
2 changed files with 12 additions and 4 deletions

View File

@ -5,10 +5,6 @@
# Background utilities # Background utilities
################################################################################ ################################################################################
# Window transparency
exec ${HOME}/scripts/sway/window-transparency.py
# SSH Add - Should be started by profile instead # SSH Add - Should be started by profile instead
# exec eval `ssh-agent -a ${SSH_AUTH_SOCK}` # exec eval `ssh-agent -a ${SSH_AUTH_SOCK}`
exec ssh-add & exec ssh-add &

View File

@ -0,0 +1,12 @@
[Unit]
Description=Sway window transparency daemon
PartOf=graphical-session.target
After=sway.service
[Service]
Type=simple
ExecStart=/var/home/jpm/scripts/sway/window-transparency.py
Restart=unless-stopped
[Install]
WantedBy=graphical-session.target