diff options
Diffstat (limited to '.config')
| -rwxr-xr-x | .config/eww/launch.sh | 26 |
1 files changed, 0 insertions, 26 deletions
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 |
