summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/mcmenu18
1 files changed, 15 insertions, 3 deletions
diff --git a/scripts/mcmenu b/scripts/mcmenu
index eae8d99..73a8ae4 100755
--- a/scripts/mcmenu
+++ b/scripts/mcmenu
@@ -1,11 +1,23 @@
#! /bin/sh
-exec 9menu -bg grey20 -fg grey80 -popup \
+
+# hide: gives you a new pointer and hides the window you click on.
+#
+# list hidden: Install mcicon somewhere in path so the "list hidden"
+# alternative work. It will then list any iconified windows in a
+# 9menu. Select one and it's mapped again.
+#
+# cpu: Change to the host you usally connect a lot to. Add more ssh
+# hosts as you wish.
+#
+# VGA On/Off: Makes X aware of external screen connected on VGA port.
+#
+# close: Closes the 9menu program.
+exec 9menu -bg grey20 -fg grey80 -font 9x15 -popup \
'hide:xdotool selectwindow windowminimize' \
+ 'list hidden:mcicon' \
'cpu:urxvt -e ssh cpu.example.org' \
':' \
'VGA On: xrandr --output VGA --on' \
'VGA Off: xrandr --output VGA --off' \
':' \
- 'HHKB: xkbcomp -I$HOME/conf/xkb $HOME/conf/xkb/hhkb.xkb $DISPLAY' \
- ':' \
'close:'