update config

This commit is contained in:
Zhongheng Liu 2025-10-06 02:22:32 +02:00
commit 4e689bf5de
7 changed files with 15 additions and 3 deletions

View file

@ -1 +1 @@
echo "BAT1: $(calc -p round\($(cat /sys/class/power_supply/BAT1/charge_now)/$(cat /sys/class/power_supply/BAT1/charge_full)\*100, 1\))% # $(cat /sys/class/power_supply/BAT1/status)"
echo "$(calc -p round\($(cat /sys/class/power_supply/BAT1/charge_now)/$(cat /sys/class/power_supply/BAT1/charge_full)\*100, 1\))%"

2
scripts/src/launch_dwlb.sh Executable file
View file

@ -0,0 +1,2 @@
dwlb -ipc -font "BlexMono Nerd Font:size=16" &
someblocks -p | dwlb -status-stdin all

5
scripts/src/screenshot-file.sh Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/sh
IFS=""
file="$HOME/Screenshots/$(date '+%Y-%m-%d-%H-%M-%S.png')"
echo $file
slurp | grim -g - $file