move to backup
This commit is contained in:
parent
294dc66380
commit
a0e3d792a9
182 changed files with 156 additions and 103 deletions
17
bak/modules/wm/fuzzel/scripts/fuzzel-projects.sh
Executable file
17
bak/modules/wm/fuzzel/scripts/fuzzel-projects.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
projects=$(fd -d=1 -t=d . ~/dev)
|
||||
projects_with_names=()
|
||||
|
||||
for project in ${projects[*]}; do
|
||||
projects_with_names+=("$(basename $project)\t$project")
|
||||
done
|
||||
|
||||
selected=$(printf "$projects_with_names" | fuzzel --dmenu --with-nth=1 --accept-nth=2 --prompt "Work on: ")
|
||||
session_name=$(basename "$selected")
|
||||
|
||||
if [ "$selected" != "" ]; then
|
||||
# niri msg action focus-workspace "code"
|
||||
# zen-beta &
|
||||
ghostty -e zellij attach "$session_name" --create
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue