Files
dtos-dotfiles/.config/qtile/autostart.sh
Derek Taylor a91301075a Revert "Update"
This reverts commit 777960ac7b.
2025-12-03 11:20:33 -06:00

38 lines
995 B
Bash
Executable File

#!/usr/bin/env bash
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 &
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