eww config
This commit is contained in:
parent
6703367fdf
commit
183d0d1803
10 changed files with 70 additions and 122 deletions
|
|
@ -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%
|
||||
3
modules/wm/hyprland/config/eww/scripts/open.sh
Executable file
3
modules/wm/hyprland/config/eww/scripts/open.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
eww open-many --toggle notes quote smalldate quicksettings favorites appbar fetch sys
|
||||
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue