From ee8d010c5934a19cc04a2559cd4fa5a5f3f15ebd Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 25 Aug 2023 09:59:28 +0300 Subject: eww: Remove ‘set -e’ from listeners MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/eww/scripts/active-workspace-listener | 2 -- .config/eww/scripts/keymap-listener | 2 -- .config/eww/scripts/toggle | 2 -- .config/eww/scripts/workspace-list-listener | 2 -- 4 files changed, 8 deletions(-) (limited to '.config') 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'`" -- cgit v1.2.3