update suckless

This commit is contained in:
2026-10-25 04:40:51 +01:00
parent 05c1337f0b
commit e9e8ad1b67
19 changed files with 1339 additions and 52 deletions
+43 -9
View File
@@ -20,19 +20,53 @@ xinput list --name-only | while IFS= read -r device; do
esac
done
# Start desktop services
bluetoothctl power off &
picom &
xbindkeys &
xss-lock -l slock &
feh --bg-scale "$HOME/Obrázky/wallpapers/glados.jpg" &
dwmblocks &
# i really need it :(
export GPG_TTY=$(tty)
exec dbus-run-session -- sh -c '
GPG_TTY=$(tty)
pipewire &
export GPG_TTY=$(tty)
export PATH=$HOME/.local/bin:$PATH
if ! pgrep -a -u "$(id -u)" -x pipewire >/dev/null 2>&1; then
pipewire &
fi
sleep 1
pkill -RTMIN+2 dwmblocks
# Start desktop services
bluetoothctl power off &
if ! pgrep -a -u "$(id -u)" -x picom >/dev/null 2>&1; then
picom --backend glx &
fi
if ! pgrep -a -u "$(id -u)" -x dunst >/dev/null 2>&1; then
dunst &
fi
if ! pgrep -a -u "$(id -u)" -x mpv >/dev/null 2>&1; then
mpv --shuffle --pause --no-video --loop-playlist -ao=alsa $HOME/Music &
fi
if ! pgrep -a -u "$(id -u)" -x mpv-shuffle-notify >/dev/null 2>&1; then
mpv-shuffle-notify &
fi
if ! pgrep -a -u "$(id -u)" -x sxhkd >/dev/null 2>&1; then
sxhkd &
fi
xbindkeys &
# xss-lock -l slock &
if ! pgrep -a -u "$(id -u)" -x xss-lock >/dev/null 2>&1; then
xss-lock -- \
env XSECURELOCK_AUTHPROTO=authproto_pam \
XSECURELOCK_PAM_SERVICE=login \
XSECURELOCK_NO_PAM_RHOST=1 \
xsecurelock &
fi
feh --bg-scale "$HOME/Pictures/wallpapers/glados.jpg" &
exec dwm
'