Files
dtos-dotfiles/.config/qtile/autostart.sh
Derek Taylor 777960ac7b Update
2025-12-03 11:18:49 -06:00

32 lines
875 B
Bash
Executable File

#!/usr/bin/env bash
COLORSCHEME=doom-one
### AUTOSTART PROGRAMS ###
picom --daemon &
dunst -conf "$HOME"/.config/dunst/"$COLORSCHEME" &
nm-applet &
/usr/bin/emacs --daemon &
"$HOME"/.screenlayout/layout.sh &
#systemctl --user start mpd &
sleep 1
conky -c "$HOME"/.config/conky/qtile/01/"$COLORSCHEME".conf || echo "Couldn't start conky."
sleep 1
### 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