summaryrefslogtreecommitdiff
path: root/.config/eww
diff options
context:
space:
mode:
Diffstat (limited to '.config/eww')
-rwxr-xr-x.config/eww/scripts/active-workspace-listener2
-rwxr-xr-x.config/eww/scripts/keymap-listener2
-rwxr-xr-x.config/eww/scripts/toggle2
-rwxr-xr-x.config/eww/scripts/workspace-list-listener2
4 files changed, 0 insertions, 8 deletions
diff --git a/.config/eww/scripts/active-workspace-listener b/.config/eww/scripts/active-workspace-listener
index 09a8298..d3d46f2 100755
--- a/.config/eww/scripts/active-workspace-listener
+++ b/.config/eww/scripts/active-workspace-listener
@@ -1,7 +1,5 @@
#!/bin/sh
-set -e
-
readonly IPC=/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock
hyprctl -j activeworkspace | jq -r '.name'
diff --git a/.config/eww/scripts/keymap-listener b/.config/eww/scripts/keymap-listener
index e526d03..364375d 100755
--- a/.config/eww/scripts/keymap-listener
+++ b/.config/eww/scripts/keymap-listener
@@ -1,7 +1,5 @@
#!/bin/sh
-set -e
-
readonly IPC=/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock
hyprctl devices -j | jq -r '.keyboards[-1].active_keymap'
diff --git a/.config/eww/scripts/toggle b/.config/eww/scripts/toggle
index 8ce7bcc..0a4d389 100755
--- a/.config/eww/scripts/toggle
+++ b/.config/eww/scripts/toggle
@@ -1,7 +1,5 @@
#!/bin/sh
-set -e
-
# Open a file descriptor for writing to create the lock if it doesn’t exist. We
# need a lock because of race-conditions that could occur if you spam a toggle
# over and over.
diff --git a/.config/eww/scripts/workspace-list-listener b/.config/eww/scripts/workspace-list-listener
index 2024509..eb36f8c 100755
--- a/.config/eww/scripts/workspace-list-listener
+++ b/.config/eww/scripts/workspace-list-listener
@@ -1,7 +1,5 @@
#!/bin/sh
-set -e
-
readonly IPC=/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock
spaces="`hyprctl -j workspaces | jq -r 'sort_by(.id) | .[] | .name'`"