mirror of
https://github.com/szymon-jozef/superior_dotfiles.git
synced 2026-09-07 12:10:38 +02:00
Add .local/bin/start_coding.sh
This commit is contained in:
12
private_dot_local/bin/executable_start_coding.sh
Normal file
12
private_dot_local/bin/executable_start_coding.sh
Normal 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
|
||||
Reference in New Issue
Block a user