diff options
| author | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-08-03 01:22:44 -0400 |
|---|---|---|
| committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-08-03 01:22:44 -0400 |
| commit | 0c8fa3a2a270747f3dbb54fe8792f3f0aec997e3 (patch) | |
| tree | 6f94ff3aeea2af859c7c166e01a8e73002017893 /users/ryan/linux/hypr/scripts/autostart.sh | |
Initial commit: combined darwin + guix-linux home-manager flake
Supersedes nix-dotfiles (darwin) and guix-dotfiles' ad-hoc
nix-home-manager flake (linux). See README.md/MIGRATION.md.
Diffstat (limited to 'users/ryan/linux/hypr/scripts/autostart.sh')
| -rwxr-xr-x | users/ryan/linux/hypr/scripts/autostart.sh | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/users/ryan/linux/hypr/scripts/autostart.sh b/users/ryan/linux/hypr/scripts/autostart.sh new file mode 100755 index 0000000..706f82f --- /dev/null +++ b/users/ryan/linux/hypr/scripts/autostart.sh | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | #!/usr/bin/env bash | ||
| 2 | |||
| 3 | waybar & | ||
| 4 | |||
| 5 | mako & | ||
| 6 | |||
| 7 | #swaybg -i ~/.config/hypr/Wallpapers/above-clouds.jpg & | ||
| 8 | |||
| 9 | nice -n13 swww init & | ||
| 10 | |||
| 11 | #~/.config/hypr/wallpaper-daemon.sh & | ||
| 12 | wpaperd -d & | ||
| 13 | |||
| 14 | pypr & | ||
| 15 | |||
| 16 | #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' & | ||
| 17 | |||
| 18 | hypridle & | ||
| 19 | |||
| 20 | syncthing serve --no-browser & | ||
| 21 | |||
| 22 | # Kill any orphans of this | ||
| 23 | killall wl-clip-persist | ||
| 24 | wl-clip-persist -c regular --reconnect-tries 5 & | ||
| 25 | |||
| 26 | kanshi -c ~/.config/hypr/kanshi.conf & | ||
| 27 | |||
| 28 | # Start the portals | ||
| 29 | |||
| 30 | sleep 0.5 | ||
| 31 | killall -e xdg-desktop-portal-hyprland | ||
| 32 | killall xdg-desktop-portal-gtk | ||
| 33 | killall xdk-desktop-portal | ||
| 34 | |||
| 35 | ~/.nix-profile/libexec/xdg-desktop-portal-hyprland & | ||
| 36 | ~/.nix-profile/libexec/xdg-desktop-portal-gtk & | ||
| 37 | sleep 2 | ||
| 38 | XDG_DESKTOP_PORTAL_DIR="/home/ryan/.nix-profile/share/xdg-desktop-portal/portals" ~/.nix-profile/libexec/xdg-desktop-portal & | ||
| 39 | |||
| 40 | #flameshot & | ||
