From 8fd096d2cd583df4e0d133e21a9a8b4dab0bda8d Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 24 Nov 2023 18:54:38 +0100 Subject: eww: Remove date onclick behavior --- .config/eww/scripts/toggle | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100755 .config/eww/scripts/toggle (limited to '.config/eww/scripts') diff --git a/.config/eww/scripts/toggle b/.config/eww/scripts/toggle deleted file mode 100755 index 0a4d389..0000000 --- a/.config/eww/scripts/toggle +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# 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. -exec 3>"${XDG_RUNTIME_DIR:-/run/user/`id -u`}/eww-toggle.lock" -flock 3 - -for arg in "$@"; do - { - eww windows | grep -q "^\\*$arg$" && f=close || f=open - eww $f "$arg" - } & -done -wait -- cgit v1.2.3