Muh dotfiles

This commit is contained in:
2026-05-18 13:08:10 +02:00
commit 8f354b8983
7 changed files with 59 additions and 0 deletions

3
.local/bin/dwl-session.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
swaybg -i /home/bd/Pictures/wallpaperMoon.png &
kanshi &

8
.local/bin/screenshot.sh Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env sh
timeout 10 slurp > /tmp/selection.txt 2>/dev/null
if [ $? -eq 0 ] && [ -s /tmp/selection.txt ]; then
grim -g "$(cat /tmp/selection.txt)" - | wl-copy
else
grim - | wl-copy
fi
rm -f /tmp/selection.txt

2
.local/bin/start_dwl.sh Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env sh
slstatus -s | dwl -s "~/.local/bin/dwl-session.sh"