users/ryan/linux/hypr/scripts/autostart.sh

2e30121671a730a2b4bc2f82d2e30ed5c9ff70e5 · 962 B · 38 lines raw

1 #!/usr/bin/env bash
2
3 waybar &
4
5 mako &
6
7 #swaybg -i ~/.config/hypr/Wallpapers/above-clouds.jpg &
8
9 #~/.config/hypr/wallpaper-daemon.sh &
10 wpaperd -d &
11
12 pypr &
13
14 #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' &
15
16 hypridle &
17
18 syncthing serve --no-browser &
19
20 # Kill any orphans of this
21 killall wl-clip-persist
22 wl-clip-persist -c regular --reconnect-tries 5 &
23
24 kanshi -c ~/.config/hypr/kanshi.conf &
25
26 # Start the portals
27
28 sleep 0.5
29 killall -e xdg-desktop-portal-hyprland
30 killall xdg-desktop-portal-gtk
31 killall xdk-desktop-portal
32
33 ~/.nix-profile/libexec/xdg-desktop-portal-hyprland &
34 ~/.nix-profile/libexec/xdg-desktop-portal-gtk &
35 sleep 2
36 XDG_DESKTOP_PORTAL_DIR="/home/ryan/.nix-profile/share/xdg-desktop-portal/portals" ~/.nix-profile/libexec/xdg-desktop-portal &
37
38 #flameshot &