eww config

This commit is contained in:
KoenDR06 2025-04-03 14:54:01 +02:00
parent 6703367fdf
commit 183d0d1803
10 changed files with 70 additions and 122 deletions

View file

@ -1,7 +0,0 @@
#!/bin/sh
cap=$(cat /sys/class/power_supply/BAT1/capacity)
charge=$(cat /sys/class/power_supply/BAT1/status)
[[ $charge == "Discharging" ]] && echo -$cap% || echo +$cap%

View file

@ -0,0 +1,3 @@
#!/bin/sh
eww open-many --toggle notes quote smalldate quicksettings favorites appbar fetch sys

View file

@ -1,7 +0,0 @@
#!/bin/sh
if [ $(hyprctl -j clients | jq '.[].workspace.id' | grep -w $1 | wc -l) -eq 0 ]; then
echo "⬦"
else
echo "⟐"
fi