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

23 lines
751 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
bash -c ~/.config/sway/initpipe
xdg-desktop-portal
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
mako -c ~/.config/mako/config
swayidle -w \
timeout 300 'swaylock -f -c 000000' \
timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
before-sleep 'swaylock -f --image ~/.config/sway/wallpaper/locked.*'
wl-paste --type text --watch cliphist store
wl-paste --type image --watch cliphist store
}
bar swaybar_command waybar
exec_always {
kanshi
}