aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2024-01-23 23:39:07 +0200
committersrdusr <trevorgray@srdusr.com>2024-01-23 23:39:07 +0200
commit7e06f62a75a2de995769c8f239bbd075537a2a6b (patch)
tree9009c67a1fa5c1b8b4a658c6e945cb115e693695
parentdc775a970635c1371d4e52bb9db4f6cdfe1460c1 (diff)
downloaddotfiles-7e06f62a75a2de995769c8f239bbd075537a2a6b.tar.gz
dotfiles-7e06f62a75a2de995769c8f239bbd075537a2a6b.zip
Removed launch.sh
-rwxr-xr-x.config/eww/launch.sh26
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