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
|
# vim:ft=i3config
|
||||||
|
|
||||||
exec {
|
exec {
|
||||||
systemctl --user import-environment
|
$HOME/Scripts/swayidle.sh
|
||||||
systemctl --user start sway-session.target
|
autotiling
|
||||||
"tail -f /tmp/sway.wob | wob"
|
redshift-gtk -m wayland
|
||||||
|
telegram-desktop
|
||||||
|
kdeconnect-indicator
|
||||||
|
thunderbird
|
||||||
|
mkfifo /tmp/sway.wob && tail -f /tmp/sway.wob | wob
|
||||||
|
mako
|
||||||
}
|
}
|
||||||
|
|
||||||
exec_always {
|
exec_always {
|
|
@ -23,7 +23,7 @@ case "$RESP" in
|
||||||
loginctl lock-session $(loginctl show-user $USER -p Sessions | cut -d'=' -f2)
|
loginctl lock-session $(loginctl show-user $USER -p Sessions | cut -d'=' -f2)
|
||||||
;;
|
;;
|
||||||
Exit)
|
Exit)
|
||||||
systemctl --user stop sway
|
swaymsg exit
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue