kanshi, python swayidle, zsh title
This commit is contained in:
14
.config/systemd/user/kanshi.service
Normal file
14
.config/systemd/user/kanshi.service
Normal file
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Dynamic output configuration
|
||||
Documentation=man:kanshi(1)
|
||||
PartOf=sway-session.target
|
||||
Requires=sway-session.target
|
||||
After=sway-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/kanshi
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
1
.config/systemd/user/sway-session.target.wants/kanshi.service
Symbolic link
1
.config/systemd/user/sway-session.target.wants/kanshi.service
Symbolic link
@ -0,0 +1 @@
|
||||
/home/paramah/.config/systemd/user/kanshi.service
|
@ -1 +0,0 @@
|
||||
/home/paramah/.config/systemd/user/swayidle.service
|
@ -2,14 +2,13 @@
|
||||
Description=Idle manager for Wayland
|
||||
Documentation=man:swayidle(1)
|
||||
PartOf=sway-session.target
|
||||
Requires=sway-session.target
|
||||
After=sway-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/swayidle -w timeout 300 '%h/.config/sway/bin/lock.sh' timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep '%h/.config/sway/bin/lock.sh'
|
||||
ExecStop=/bin/kill -2 $MAINPID
|
||||
Restart=on-failure
|
||||
RestartSec=1
|
||||
TimeoutStopSec=10
|
||||
ExecStart=/home/paramah/.config/sway/bin/swayidle-conf
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
||||
|
1
.config/systemd/user/wayland-session.target.wants/kanshi.service
Symbolic link
1
.config/systemd/user/wayland-session.target.wants/kanshi.service
Symbolic link
@ -0,0 +1 @@
|
||||
/home/paramah/.config/systemd/user/kanshi.service
|
Reference in New Issue
Block a user