Skip to content

Instantly share code, notes, and snippets.

View danielclough's full-sized avatar

Daniel Clough danielclough

View GitHub Profile
@edwinclement08
edwinclement08 / show_app.sh
Created April 30, 2021 19:12
Simple Script that can hide/focus or start an app(useful with alacritty)
#!/bin/sh
if [ $# -ne 2 ]
then
echo "Pass 2 params"
echo -e "show_app.sh <Window Title to check for> <app to open>"
echo -e "\nNotes\n\t<Window url> should be an exact string match"
echo -e "\t<app to open> should be path to the executable"
exit
fi