diff options
author | Joe <bousset.rudy@gmail.com> | 2022-08-01 09:40:43 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-08-01 09:40:43 +0200 |
commit | 3288d67c3d950af2e4ee4a65257406d94cdece20 (patch) | |
tree | 174033d5eaf3c7f1c5d044fa6fe8efc933461b80 /.local/bin/dtinit | |
parent | dtwm changes (diff) | |
parent | update (diff) | |
download | dotfiles-bsd-3288d67c3d950af2e4ee4a65257406d94cdece20.tar.gz dotfiles-bsd-3288d67c3d950af2e4ee4a65257406d94cdece20.tar.bz2 dotfiles-bsd-3288d67c3d950af2e4ee4a65257406d94cdece20.tar.xz dotfiles-bsd-3288d67c3d950af2e4ee4a65257406d94cdece20.tar.zst dotfiles-bsd-3288d67c3d950af2e4ee4a65257406d94cdece20.zip |
Merge branch 'master' of gitjoe.xyz:dotfiles-bsd
Diffstat (limited to '.local/bin/dtinit')
-rwxr-xr-x | .local/bin/dtinit | 22 |
1 files changed, 22 insertions, 0 deletions
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 |