Skip to content

Instantly share code, notes, and snippets.

View javacafe01's full-sized avatar
:octocat:
not doing my work

Gokul Swaminathan javacafe01

:octocat:
not doing my work
View GitHub Profile
@Biont
Biont / sway-launcher-desktop.sh
Last active March 9, 2024 23:50
sway-launcher-desktop
#!/usr/bin/env bash
# terminal application launcher for sway, using fzf
# Based on: https://gitlab.com/FlyingWombat/my-scripts/blob/master/sway-launcher
shopt -s nullglob
if [[ "$1" == 'describe' ]]; then
shift
if [[ $2 == 'command' ]]; then
title=$1
readarray arr < <(whatis -l "$1" 2>/dev/null)