Compare commits

..

No commits in common. "4e689bf5de0e3f469c84dd508b2791ceafc51f9a" and "eb056a3d11036b2a76f790f20bc33c3e71029b52" have entirely different histories.

9 changed files with 2 additions and 33 deletions

3
.gitmodules vendored
View file

@ -10,6 +10,3 @@
[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,8 +1,7 @@
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 c643413742e5a500bc4c3254608d905be02a81a4
Subproject commit 6cd26568d5b8be2252ac0def36cd194b4fb2d7c3

1
dwlb

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

View file

@ -1,17 +0,0 @@
SHELL := /bin/bash
DEST := /usr/local/bin
SRC := ./src/
install:
@if [ "$$(id -u)" -ne 0 ]; then \
echo "Error: You must be root to run 'make install'."; \
exit 1; \
fi
@find $(SRC) -type f | while IFS= read -r fpath; do \
filename="$${fpath##*/}"; \
echo "Installing $$filename ..."; \
install -m 755 "$$fpath" "$(DEST)/$$filename"; \
done

View file

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

View file

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

View file

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

View file

@ -1 +0,0 @@
slurp | grim -g - - | wl-copy