summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-07-30 18:21:50 +0200
committerJoe <bousset.rudy@gmail.com>2022-07-30 18:21:50 +0200
commit95a7b83b79f7302d351a7bda438aacda135e400c (patch)
treea0cb00d9fb9ee997ea6b9c60d09550d0013ebcdc
parentCC (diff)
downloaddotfiles-bsd-95a7b83b79f7302d351a7bda438aacda135e400c.tar.gz
dotfiles-bsd-95a7b83b79f7302d351a7bda438aacda135e400c.tar.bz2
dotfiles-bsd-95a7b83b79f7302d351a7bda438aacda135e400c.tar.xz
dotfiles-bsd-95a7b83b79f7302d351a7bda438aacda135e400c.tar.zst
dotfiles-bsd-95a7b83b79f7302d351a7bda438aacda135e400c.zip
Added dtinit
Diffstat (limited to '')
-rwxr-xr-x.local/bin/dtinit21
1 files changed, 21 insertions, 0 deletions
diff --git a/.local/bin/dtinit b/.local/bin/dtinit
new file mode 100755
index 0000000..dd3d249
--- /dev/null
+++ b/.local/bin/dtinit
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+startif() {
+ pgrep "$1" >/dev/null || "$@" >/dev/null 2>&1 &
+}
+
+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