Skip to content

Instantly share code, notes, and snippets.

View Pikqi's full-sized avatar

Petar Obradovic Pikqi

View GitHub Profile
@Pikqi
Pikqi / focus_window_with_fuzzel.sh
Created September 18, 2025 12:49
Niri wm + fuzzel focus window
niri msg action focus-window --id $(niri msg windows | grep -B 1 -A 1 "Title:" | tr '\n' ' ' | sed 's/--/\n/g' | choose 2:-1 | sed 's/://g' | sed 's/\"//g' | sed 's/Title//g' | sed 's/App ID//g' | choose -1 0 1:-2 | fuzzel --dmenu -w 200 | choose 1)
@Pikqi
Pikqi / zup.sh
Created March 4, 2025 11:31
Zigup FZF selecting and downloading specific zig version
# Add this to your .bash_aliases file, requires zigup, jq, and fzf to be installed
zup() {
local selected_file
selected_file="$(zigup fetch-index | jq 'to_entries | map([.key]) | flatten | .[] | .' -r | fzf)"
if [ -n "$selected_file" ]; then
zigup "$selected_file"
fi
}