1
0
mirror of https://github.com/balkian/dotfiles.git synced 2025-08-24 00:02:19 +00:00

Org-mode tags and others

This commit is contained in:
J. Fernando Sánchez
2015-09-04 11:58:09 +02:00
parent 9a934dc351
commit 8e833119db
7 changed files with 48 additions and 6 deletions

View File

@@ -5,10 +5,13 @@ then
if [ $? == "0" ]
then
WID=`xdotool search --class $1 | head -1`
wmctrl -i -a $WID
if [ "x$2" != "x" ]
CWID=`xdotool getactivewindow`
if [ "x$WID" != "x$CWID" ];
then
eval "$2"
xdotool windowactivate $WID
#wmctrl -i -R $WID
else
xdotool windowminimize $WID
fi
else
if [ "x$3" == "x" ]