Fixing qtile autostart for CachyOS installation

This commit is contained in:
Derek Taylor
2025-12-18 09:42:18 -06:00
parent b8124483db
commit 9454a89747
2 changed files with 1 additions and 131 deletions

View File

@@ -3,35 +3,17 @@
COLORSCHEME=doom-one
### AUTOSTART PROGRAMS ###
if systemd-detect-virt --quiet; then
lxsession &
sleep 1
killall picom
xrandr -s 1920x1080 &
else
lxsession &
fi
dunst -conf "$HOME"/.config/dunst/"$COLORSCHEME" &
nm-applet &
systemctl --user start mpd &
"$HOME"/.screenlayout/layout.sh &
picom --daemon &
sleep 1
conky -c "$HOME"/.config/conky/qtile/01/"$COLORSCHEME".conf || echo "Couldn't start conky."
sleep 1
yes | /usr/bin/emacs --daemon &
### UNCOMMENT ONLY ONE OF THE FOLLOWING THREE OPTIONS! ###
# 1. Uncomment to set wallpaper with 'waypaper'
waypaper --restore &
# 2. Uncomment to set wallpaper with 'dm-setbg' from dmscripts
# xargs xwallpaper --stretch < ~/.cache/wall &
# 3. Uncomment to set a random wallpaper on login
# find /usr/share/backgrounds/dtos-backgrounds/ -type f | shuf -n 1 | xargs xwallpaper --stretch &
if [ ! -d "$HOME"/.cache/betterlockscreen/ ]; then
betterlockscreen -u /usr/share/backgrounds/dtos-backgrounds/0277.jpg &
fi