mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 20:10:23 +10:00
38 lines
995 B
Bash
Executable File
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
|