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

16 lines
529 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/mountains.jpg &
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 &
blueman-applet &