Files
amazing-dotfiles/scripts/old/start_coding.sh
2026-02-22 20:49:19 +01:00

14 lines
389 B
Bash
Executable File

#!/usr/bin/env bash
dir=$(find ~/Dokumenty/kodowanie/ -maxdepth 2 -type d ! -name '.*' | fzf)
export EDITOR="nvim"
if [[ -n $dir ]]; then
echo "You choose $dir"
hyprctl dispatch exec [workspace 5] kitty $dir
hyprctl dispatch exec [workspace 5] kitty yazi $dir
hyprctl dispatch exec [workspace 5] kitty $dir
else
echo "No reasonable directory selected, bye bye :P"
fi