guix-dotfiles/home-config/hypr/autostart.sh

20 lines
596 B
Bash
Raw Normal View History

2023-06-10 02:22:48 +00:00
#!/usr/bin/env bash
hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP &
2023-06-10 02:22:48 +00:00
waybar &
mako &
#swaybg -i ~/.config/hypr/Wallpapers/above-clouds.jpg &
swww init &
2023-06-10 02:22:48 +00:00
swayidle -w timeout 300 'swaylock --screenshots --clock --indicator --grace 3 --fade-in 1 --effect-blur 7x5 --effect-greyscale' timeout 600 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep 'swaylock -f -c 000000' &
syncthing serve --no-browser &
wl-clip-persist -c regular &
kanshi -c ~/.config/hypr/kanshi.conf