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

22 lines
723 B
Bash
Executable file

#!/usr/bin/env bash
hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP &
waybar &
mako &
#swaybg -i ~/.config/hypr/Wallpapers/above-clouds.jpg &
nice -n13 swww init &
~/.config/hypr/wallpaper-daemon.sh &
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 &
~/.config/guix/home-config/hypr/hyprland-monitor-attached ~/.config/hypr/wallpaper.sh ~/.config/hypr/wallpaper.sh &