summaryrefslogtreecommitdiff
path: root/.local/bin/hotrebootdwm
diff options
context:
space:
mode:
authorjustsaumit <justsaumit@draconyan.xyz>2022-03-02 11:23:45 +0530
committerjustsaumit <justsaumit@draconyan.xyz>2022-03-02 11:23:45 +0530
commita754011fc58e83f38cadc5bc10492ab961c9c540 (patch)
treed7c3cd6fd254fb7e52759f77e44193bf103de177 /.local/bin/hotrebootdwm
parent98bbe7bd7fcec209e2408ff0b086858715ca89e0 (diff)
spring cleaning 0.1
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