From b0e27fea52e9216c1a58ffaaf56d22af8540e889 Mon Sep 17 00:00:00 2001 From: Szymon P Date: Tue, 10 Jun 2025 21:55:49 +0200 Subject: [PATCH] Add .local/bin/start_coding.sh --- private_dot_local/bin/executable_start_coding.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 private_dot_local/bin/executable_start_coding.sh diff --git a/private_dot_local/bin/executable_start_coding.sh b/private_dot_local/bin/executable_start_coding.sh new file mode 100644 index 0000000..0d469b1 --- /dev/null +++ b/private_dot_local/bin/executable_start_coding.sh @@ -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