feat: eww hypr alacritty and more

This commit is contained in:
Fabio Lenherr 2022-08-30 11:40:09 +00:00
parent 974932c5a9
commit 1f3c2b9947
No known key found for this signature in database
GPG key ID: 868FFD689D878939
38 changed files with 3368 additions and 0 deletions

27
eww/bar/launch_bar Executable file
View file

@ -0,0 +1,27 @@
#!/bin/bash
## Files and cmd
FILE="$HOME/.cache/eww_launch.xyz"
EWW="$HOME/.local/bin/eww/eww -c $HOME/.config/eww/bar"
## 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