diff options
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/dmlog | 2 | ||||
-rwxr-xr-x | .local/bin/dtinit | 22 |
2 files changed, 23 insertions, 1 deletions
diff --git a/.local/bin/dmlog b/.local/bin/dmlog index 786d59b..a2e8458 100755 --- a/.local/bin/dmlog +++ b/.local/bin/dmlog @@ -88,7 +88,7 @@ sub action ' Farewell, partner!' ); sleep 2; - exec(SHUTDOWN_PATH, '-h', 'now'); + exec(SHUTDOWN_PATH, '-p', 'now'); } } return; diff --git a/.local/bin/dtinit b/.local/bin/dtinit new file mode 100755 index 0000000..b583bb5 --- /dev/null +++ b/.local/bin/dtinit @@ -0,0 +1,22 @@ +#!/bin/sh + +startif() { + pgrep "$1" >/dev/null || "$@" >/dev/null 2>&1 & +} + +sysctl hw.snd.default_unit=4 +pgrep musicpd >/dev/null || musicpd >/dev/null 2>&1 +# "$HOME"/.local/bin/setwp +"$HOME"/.local/bin/kb +xset s off +xset -dpms +startif dunst +startif picom +startif lowbat +startif mpd-notification +startif xscreensaver --no-splash +# ekb +cd "$HOME" +xrdb "$HOME"/.config/x11/xresources +notify-send -u normal 'Welcome' " Welcome back, partner\!" +# dbus-launch dwm |