Move some sway stuff away from systemd

This commit is contained in:
Marko Korhonen 2020-03-02 21:37:48 +02:00
parent 83bb38e472
commit f9fed41576
8 changed files with 15 additions and 4 deletions

View file

@ -0,0 +1,6 @@
# vim:ft=i3config
bar {
swaybar_command waybar
output eDP-1
}

View file

@ -1,9 +1,14 @@
# vim:ft=i3config
exec {
systemctl --user import-environment
systemctl --user start sway-session.target
"tail -f /tmp/sway.wob | wob"
$HOME/Scripts/swayidle.sh
autotiling
redshift-gtk -m wayland
telegram-desktop
kdeconnect-indicator
thunderbird
mkfifo /tmp/sway.wob && tail -f /tmp/sway.wob | wob
mako
}
exec_always {

View file

@ -23,7 +23,7 @@ case "$RESP" in
loginctl lock-session $(loginctl show-user $USER -p Sessions | cut -d'=' -f2)
;;
Exit)
systemctl --user stop sway
swaymsg exit
;;
*)
exit 1