feat: eww hypr alacritty and more

This commit is contained in:
Fabio Lenherr 2022-08-31 00:27:23 +02:00
parent 1f3c2b9947
commit 7fb4f9ee73
No known key found for this signature in database
GPG key ID: 868FFD689D878939
132 changed files with 23 additions and 4881 deletions

View file

@ -1,27 +0,0 @@
#!/bin/bash
## Files and cmd
FILE="$HOME/.cache/eww_launch.xyz"
EWW="$HOME/.local/bin/eww -c $HOME/.config/eww"
## Run eww daemon if not running already
if [[ ! `pidof eww` ]]; then
${EWW} daemon
sleep 1
fi
## Open widgets
run_eww() {
${EWW} open-many \
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