Change window transparency to a systemd service
This commit is contained in:
parent
49991faf6e
commit
1d5892ecf1
|
@ -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 &
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue