diff options
Diffstat (limited to 'home-config/hypr/autostart.sh')
-rwxr-xr-x | home-config/hypr/autostart.sh | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/home-config/hypr/autostart.sh b/home-config/hypr/autostart.sh index 6e64202..77ebae8 100755 --- a/home-config/hypr/autostart.sh +++ b/home-config/hypr/autostart.sh | |||
@@ -14,6 +14,20 @@ swayidle -w timeout 300 'swaylock --screenshots --clock --indicator --grace 3 -- | |||
14 | 14 | ||
15 | syncthing serve --no-browser & | 15 | syncthing serve --no-browser & |
16 | 16 | ||
17 | wl-clip-persist -c regular & | 17 | # Kill any orphans of this |
18 | killall wl-clip-persist | ||
19 | wl-clip-persist -c regular --reconnect-tries 5 & | ||
18 | 20 | ||
19 | kanshi -c ~/.config/hypr/kanshi.conf | 21 | kanshi -c ~/.config/hypr/kanshi.conf & |
22 | |||
23 | # Start the portals | ||
24 | |||
25 | sleep 0.5 | ||
26 | killall -e xdg-desktop-portal-hyprland | ||
27 | killall xdg-desktop-portal-gtk | ||
28 | killall xdk-desktop-portal | ||
29 | |||
30 | ~/.nix-profile/libexec/xdg-desktop-portal-hyprland & | ||
31 | ~/.nix-profile/libexec/xdg-desktop-portal-gtk & | ||
32 | sleep 2 | ||
33 | XDG_DESKTOP_PORTAL_DIR="/home/ryan/.nix-profile/share/xdg-desktop-portal/portals" ~/.nix-profile/libexec/xdg-desktop-portal & | ||