This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
run_terminal=' | |
for t in $TERMINAL urxvt rxvt terminator Eterm aterm xterm gnome-terminal roxterm xfce4-terminal; do | |
which $t > /dev/null 2>&1 && exec $t; | |
done | |
' | |
get_id() { | |
local id=$(xprop -root _NET_ACTIVE_WINDOW) |