aboutsummaryrefslogtreecommitdiff
path: root/.config/eww/scripts/monitor.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/eww/scripts/monitor.sh')
-rwxr-xr-x.config/eww/scripts/monitor.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/.config/eww/scripts/monitor.sh b/.config/eww/scripts/monitor.sh
deleted file mode 100755
index a211054..0000000
--- a/.config/eww/scripts/monitor.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-function handle {
- if [[ ${1:0:12} == "monitoradded" ]]; then
- ~/.config/eww/scripts/start.sh
- elif [[ ${1:0:14} == "monitorremoved" ]]; then
- ~/.config/eww/scripts/start.sh
- fi
-}
-
-socat - UNIX-CONNECT:/tmp/hypr/$(echo $HYPRLAND_INSTANCE_SIGNATURE)/.socket2.sock | while read line; do handle $line; done