diff --git a/i3/config b/i3/config index c7b059b..a6d67ed 100644 --- a/i3/config +++ b/i3/config @@ -249,7 +249,7 @@ exec --no-startup-id nm-applet exec --no-startup-id unclutter -idle 3 # battery monitor script -exec --no-startup-id $HOME/Programs/own/battery/monitor.py || notify-send -u critical -i battery -a i3 "Failed to start battery monitor" "Battery monitor had a non-zero exit code." +exec --no-startup-id "$HOME/Programs/own/battery/monitor.py &>$HOME/.log/my-i3-desktop/battery-monitor.log || notify-send -u critical -i battery -a i3 'Failed to start battery monitor' 'Battery monitor had a non-zero exit code.'" # set background diff --git a/polybar/launch.sh b/polybar/launch.sh index 8a48b32..01f6be2 100755 --- a/polybar/launch.sh +++ b/polybar/launch.sh @@ -18,7 +18,7 @@ while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done [[ -n $MONITOR ]] || MONITOR="$(xrandr | grep " connected" | head -n1 | cut -d ' ' -f1)" [[ -n $MONITOR ]] && export MONITOR - polybar --config="$HOME/.config/polybar/config.ini" midbard + polybar --config="$HOME/.config/polybar/config.ini" midbard &>$HOME/.log/my-i3-desktop/polybar-midbard.log ) echo "Polybar launched." diff --git a/xinitrc b/xinitrc index bb09a48..1ca1c37 100644 --- a/xinitrc +++ b/xinitrc @@ -26,8 +26,8 @@ case "$DE_CHOICE" in i3) XDG_CONFIG_HOME=$HOME/.config - compton --config $XDG_CONFIG_HOME/compton/config & # compositor - dunst -config $XDG_CONFIG_HOME/dunst/dunstrc & # notification daemon + compton --config $XDG_CONFIG_HOME/compton/config & &>$HOME/.log/my-i3-desktop/compton.log # compositor + dunst -config $XDG_CONFIG_HOME/dunst/dunstrc & &>$HOME/.log/my-i3-desktop/dunst.log # notification daemon exec i3 ;;