mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-22 11:00:27 +10:00
Fixing qtile autostart for CachyOS installation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user