fresh init

This commit is contained in:
sankalp committed 2023-05-25 01:41:29 +05:45
1 parent 5e0749cfce
commit df0cba253e
2 files changed
-54

No files matched your search

-27
View File
@@ -1,27 +0,0 @@
#!/usr/bin/env bash
#By: S4NKALP https://github.com/S4NKALP
FILE="$HOME/.cache/eww.control"
ewwcfg="$HOME/.config/bspwm/widgets/control-panel"
EWW=`which eww`
if [[ ! `pidof eww` ]]; then
${EWW} -c $HOME/.config/bspwm/widgets/control-panel daemon &
sleep 1
fi
launch_eww() {
${EWW} --config "$ewwcfg" open control-panel
}
## Launch or close widgets accordingly
if [[ ! -f "$FILE" ]]; then
touch "$FILE"
launch_eww
else
${EWW} --config "$ewwcfg" close control-panel
rm "$FILE"
fi
-27
View File
@@ -1,27 +0,0 @@
#!/usr/bin/env bash
#By: S4NKALP https://github.com/S4NKALP
FILE="$HOME/.cache/eww.panel"
ewwcfg="$HOME/.config/bspwm/widgets/info-panel"
EWW=`which eww`
if [[ ! `pidof eww` ]]; then
${EWW} -c $HOME/.config/bspwm/widgets/info-panel daemon &
sleep 1
fi
launch_eww() {
${EWW} --config "$ewwcfg" open info-panel
}
## Launch or close widgets accordingly
if [[ ! -f "$FILE" ]]; then
touch "$FILE"
launch_eww
else
${EWW} --config "$ewwcfg" close info-panel
rm "$FILE"
fi