move to backup

This commit is contained in:
Dennis 2026-03-03 10:46:08 +01:00
parent 294dc66380
commit a0e3d792a9
182 changed files with 156 additions and 103 deletions

View file

@ -0,0 +1,3 @@
#!/bin/sh
cliphist list | fuzzel --dmenu --prompt "Copy: " | cliphist decode | awk '{$1=$1};1' | head -c -1 | wl-copy

View 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

View file

@ -0,0 +1,8 @@
#!/bin/sh
fish_executable="/run/current-system/sw/bin/fish"
selected=$(cat ~/.ssh/config | grep "Host " | cut -d " " -f 2 | sort | tail -n +2 | fuzzel --dmenu --prompt "Connect to: ")
if [ "$selected" != "" ]; then
ghostty -e "$fish_executable" -c "ssh $selected"
fi