1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-26 06:08:35 +01:00

added away mako mode with swayidle

This commit is contained in:
eoli3n 2022-02-07 10:11:40 +01:00
parent f6954c3b57
commit 68bb484852
2 changed files with 9 additions and 0 deletions

@ -21,3 +21,10 @@ default-timeout=6000
[urgency=high] [urgency=high]
text-color={{ color1 }}FF text-color={{ color1 }}FF
border-color={{ color1 }}BB border-color={{ color1 }}BB
[mode=away]
default-timeout=0
ignore-timeout=1
[mode=do-not-disturb]
invisible=1

@ -213,6 +213,8 @@ exec swaymsg 'workspace $tag4; exec kitty bash -c "screen -R tiny"'
exec_always ~/.config/waybar/waybar.sh & exec_always ~/.config/waybar/waybar.sh &
# wob exec # wob exec
exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob
# mako away
exec swayidle timeout 30 "makoctl set-mode away" resume "makoctl set-mode default"
# set gtk theme # set gtk theme
exec_always ~/.config/sway/import-gsettings exec_always ~/.config/sway/import-gsettings