Disable more xorg/i3 specific tools

This commit is contained in:
exu 2023-11-17 20:11:23 +01:00
parent 81d81a3789
commit d869febd25

View File

@ -381,10 +381,10 @@ EOF
# generate betterlockscreen cache image in background # generate betterlockscreen cache image in background
imagepath="/home/marc/Bilder/Backgrounds/artstation/dk-lan/artstation_14224733_55806391_月半与鬼哭.jpg" imagepath="/home/marc/Bilder/Backgrounds/artstation/dk-lan/artstation_14224733_55806391_月半与鬼哭.jpg"
if [ -f "$imagepath" ]; then #if [ -f "$imagepath" ]; then
betterlockscreen -u "$imagepath" & # betterlockscreen -u "$imagepath" &
pids="$pids $!" # pids="$pids $!"
fi #fi
# reload systemd user scripts # reload systemd user scripts
systemctl --user daemon-reload systemctl --user daemon-reload
@ -513,7 +513,7 @@ if [[ -f "/usr/share/dbus-1/services/org.freedesktop.Notifications.service" ]];
fi fi
# dunst # dunst
pkill dunst && nohup dunst & #pkill dunst && nohup dunst &
# reload .Xresources # reload .Xresources
# TODO fails without display # TODO fails without display
@ -522,13 +522,13 @@ pkill dunst && nohup dunst &
#fi #fi
# execute feh # execute feh
if [[ -f "$HOME/.fehbg" ]]; then #if [[ -f "$HOME/.fehbg" ]]; then
"$HOME/.fehbg" # "$HOME/.fehbg"
fi #fi
if ps aux | grep -E "\si3(\s|$)" &>/dev/null; then #if ps aux | grep -E "\si3(\s|$)" &>/dev/null; then
i3-msg restart 1>/dev/null # i3-msg restart 1>/dev/null
fi #fi
# wait for all background jobs to finish # wait for all background jobs to finish
wait $pids && echo "Finished background jobs" wait $pids && echo "Finished background jobs"