Move some sway stuff away from systemd
This commit is contained in:
parent
30198cd9cc
commit
3b8b1d89f4
8 changed files with 15 additions and 4 deletions
6
home/.config/sway/conf.d/02-bar.conf
Normal file
6
home/.config/sway/conf.d/02-bar.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
# vim:ft=i3config
|
||||
|
||||
bar {
|
||||
swaybar_command waybar
|
||||
output eDP-1
|
||||
}
|
|
@ -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 {
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue