neodotfiles/user/.config/sway/modules/autostart

20 lines
708 B
Text
Raw Normal View History

2023-10-25 11:20:57 +00:00
exec {
/usr/libexec/polkit-gnome-authentication-agent-1
echo 25 > $SWAYSOCK.wob
hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
2023-10-26 19:38:27 +00:00
bash -c ~/.config/sway/pipeinit
2023-10-25 11:20:57 +00:00
mako -c ~/.config/mako/config
swayidle -w \
2023-10-29 14:25:32 +00:00
timeout 300 'swaylock -f -i "$HOME/.config/sway/wallpaper/locked.*"' \
2023-10-25 11:20:57 +00:00
timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
2023-10-29 14:25:32 +00:00
before-sleep 'swaylock -f -i "$HOME/.config/sway/wallpaper/locked.*"'
2023-10-25 11:20:57 +00:00
wl-paste --type text --watch cliphist store
wl-paste --type image --watch cliphist store
}
bar swaybar_command waybar
exec_always {
kanshi
}