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