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

3
.gitmodules vendored
View file

@ -10,3 +10,6 @@
[submodule "dwl"]
path = dwl
url = git@stvnliu.me:steven/dwl-custom
[submodule "dwlb"]
path = dwlb
url = git@stvnliu.me:steven/dwlb-custom

View file

@ -1,7 +1,8 @@
install:
cd ./scripts && $(MAKE) install && cd ..
cd ./dwl && $(MAKE) install && cd ..
cd ./somebar && meson setup build --reconfigure && ninja -C build && ninja -C build install && cd ..
cd ./someblocks && $(MAKE) install && cd ..
cd ./wmenu && meson setup build --reconfigure && ninja -C build && ninja -C build install && cd ..
cd ./wmenu && meson setup build --reconfigure && ninja -C build && ninja -C build install && cd ..

2
dwl

@ -1 +1 @@
Subproject commit 1bfd2e92e80db3821726a054c2fd3ca2db564a48
Subproject commit c643413742e5a500bc4c3254608d905be02a81a4

1
dwlb Submodule

@ -0,0 +1 @@
Subproject commit 48dbe00bdb98a1ae6a0e60558ce14503616aa759

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