-
Notifications
You must be signed in to change notification settings - Fork 0
/
auto-start.sh
executable file
·51 lines (40 loc) · 1.03 KB
/
auto-start.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/env bash
debug=false
# execution ====================================================================
case $XDG_SESSION_TYPE in
wayland)
case $XDG_SESSION_DESKTOP in
Hyprland)
# blue screen filter
$XDG_CONFIG_HOME/wlsunset/wlsunset.sh &
;;
*) exit 1 ;;
esac ;;
x11)
# screen locker
# xscreensaver -no-splash &
# xautolock -time 60 -locker "$HOME/.config/i3lock/i3lock.sh" &
xss-lock -- "$HOME/.config/i3lock/i3lock.sh" &
# compositor
picom -b &
# hide cursor
unclutter -jitter 5 &
# blue screen filter
redshift-gtk &
;;
*) exit 1 ;;
esac
# dunst &
nm-applet &
blueman-applet &
nextcloud --background &
fcitx5 -d &
if ! $debug; then
paplay "$HOME/public/audio/windows95-startup.wav" &
lutris &
/usr/bin/steam-runtime %U &
qutebrowser &
emacs &
# emacsclient -ca '' &
sleep 10 && "$HOME/.local/bin/set-wallpaper.sh" &
fi