Skip to content

Instantly share code, notes, and snippets.

View RodrigoHahn's full-sized avatar
🪳
The world!!

RodrigoHahn

🪳
The world!!
View GitHub Profile
@RodrigoHahn
RodrigoHahn / my-dropdown.sh
Created July 23, 2018 14:59
LXTerminal as drop-down (aka guake)
#!/usr/bin/env bash
declare win_id
declare d="$HOME/.ramdisk/lxterminal"
if [[ -d "$d/working" ]] ; then
# wait two second
declare -i waits=0
while [[ $waits -lt 20 ]] ; do
[[ ! -d "$d/working" ]] && break