summaryrefslogtreecommitdiff
path: root/.scripts/hotrebootdwm
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/hotrebootdwm')
-rwxr-xr-x.scripts/hotrebootdwm4
1 files changed, 4 insertions, 0 deletions
diff --git a/.scripts/hotrebootdwm b/.scripts/hotrebootdwm
new file mode 100755
index 0000000..9768709
--- /dev/null
+++ b/.scripts/hotrebootdwm
@@ -0,0 +1,4 @@
+#!/bin/sh
+##pid=$(ps -a | grep dwm | awk '{print $1}')
+pid=$(pidof dwm)
+kill -HUP $pid