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

37 lines
963 B
Bash
Raw Normal View History

2023-06-10 02:22:48 +00:00
#!/usr/bin/env bash
waybar &
mako &
#swaybg -i ~/.config/hypr/Wallpapers/above-clouds.jpg &
2023-11-08 06:06:55 +00:00
nice -n13 swww init &
2023-06-10 02:22:48 +00:00
2024-10-20 03:03:36 +00:00
#~/.config/hypr/wallpaper-daemon.sh &
wpaperd -d &
2023-11-08 01:42:30 +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' &
hypridle &
syncthing serve --no-browser &
# Kill any orphans of this
killall wl-clip-persist
wl-clip-persist -c regular --reconnect-tries 5 &
kanshi -c ~/.config/hypr/kanshi.conf &
# Start the portals
sleep 0.5
killall -e xdg-desktop-portal-hyprland
killall xdg-desktop-portal-gtk
killall xdk-desktop-portal
~/.nix-profile/libexec/xdg-desktop-portal-hyprland &
~/.nix-profile/libexec/xdg-desktop-portal-gtk &
sleep 2
XDG_DESKTOP_PORTAL_DIR="/home/ryan/.nix-profile/share/xdg-desktop-portal/portals" ~/.nix-profile/libexec/xdg-desktop-portal &