diff options
Diffstat (limited to 'dotfiles/system/.local/bin/startdwm')
| -rwxr-xr-x | dotfiles/system/.local/bin/startdwm | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/dotfiles/system/.local/bin/startdwm b/dotfiles/system/.local/bin/startdwm index 6e25ab0..8d6a2e1 100755 --- a/dotfiles/system/.local/bin/startdwm +++ b/dotfiles/system/.local/bin/startdwm @@ -6,12 +6,10 @@ dbus-update-activation-environment & -logdir="$HOME/.local/var/logs" -logfile="$logdir/$(date +%Y-%m-%d_%H.dwm.log)" - -if ! [ -d "$logdir" ]; then - mkdir -p "$logdir" -fi +# set logfile +logdir="$HOME/.local/var/log" +[ -d "$logdir" ] || mkdir -p "$logdir" +logfile="$logdir/$(date +%Y-%m-%d_%H-%M-%S-%3N.dwm.log)" # X Org export XAUTHORITY=$HOME/.Xauthority @@ -50,10 +48,10 @@ dunst & sudo powertop --auto-tune & flameshot & # dropbox & -touchpad-app & +touchpad-indicator-start & signal-desktop --start-in-tray & protonmail-bridge --no-window & -warpinator & +warpinator-start & # start dwm echo "$(date): Starting dwm" >> "$logfile" 2>&1 |
