summaryrefslogtreecommitdiff
path: root/users/ryan/linux/hypr/scripts/autostart.sh
diff options
context:
space:
mode:
Diffstat (limited to 'users/ryan/linux/hypr/scripts/autostart.sh')
-rwxr-xr-xusers/ryan/linux/hypr/scripts/autostart.sh40
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
3waybar &
4
5mako &
6
7#swaybg -i ~/.config/hypr/Wallpapers/above-clouds.jpg &
8
9nice -n13 swww init &
10
11#~/.config/hypr/wallpaper-daemon.sh &
12wpaperd -d &
13
14pypr &
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
18hypridle &
19
20syncthing serve --no-browser &
21
22# Kill any orphans of this
23killall wl-clip-persist
24wl-clip-persist -c regular --reconnect-tries 5 &
25
26kanshi -c ~/.config/hypr/kanshi.conf &
27
28# Start the portals
29
30sleep 0.5
31killall -e xdg-desktop-portal-hyprland
32killall xdg-desktop-portal-gtk
33killall xdk-desktop-portal
34
35~/.nix-profile/libexec/xdg-desktop-portal-hyprland &
36~/.nix-profile/libexec/xdg-desktop-portal-gtk &
37sleep 2
38XDG_DESKTOP_PORTAL_DIR="/home/ryan/.nix-profile/share/xdg-desktop-portal/portals" ~/.nix-profile/libexec/xdg-desktop-portal &
39
40#flameshot &