Add .local/bin/start_coding.sh

This commit is contained in:
2025-06-10 21:55:49 +02:00
parent f584071768
commit b0e27fea52

View File

@@ -0,0 +1,12 @@
#!/bin/bash
dir=$(find ~/Dokumenty/kodowanie/ -maxdepth 2 -type d ! -path '.*' | wofi -dmenu)
if [[ -n $dir ]]; then
echo "You choose $dir"
hyprctl dispatch exec [workspace 5] kitty $dir
hyprctl dispatch exec [workspace 5] kitty $dir
hyprctl dispatch exec [workspace 5] kitty yazi $dir
else
echo "No reasonable directory selected, bye bye :P"
fi