From 7e06f62a75a2de995769c8f239bbd075537a2a6b Mon Sep 17 00:00:00 2001 From: srdusr Date: Tue, 23 Jan 2024 23:39:07 +0200 Subject: Removed launch.sh --- .config/eww/launch.sh | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100755 .config/eww/launch.sh diff --git a/.config/eww/launch.sh b/.config/eww/launch.sh deleted file mode 100755 index 656a339..0000000 --- a/.config/eww/launch.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash - -## Files and cmd -FILE="$HOME/.cache/eww_launch.xyz" -EWW=$(which eww) - -## Run eww daemon if not running already -if [[ ! $(pidof eww) ]]; then - "$EWW" daemon - sleep 1 -fi - -## Open widgets -run_eww() { - "$EWW" open bar - -} - -## Launch or close widgets accordingly -if [[ ! -f "$FILE" ]]; then - touch "$FILE" - run_eww && bspc config -m LVDS-1 top_padding 49 -else - "$EWW" close-all && killall eww - rm "$FILE" -fi -- cgit v1.2.3