From a0f63a0aede481c4b36b5434fe3af3b35e5267e7 Mon Sep 17 00:00:00 2001 From: Michael Cardell Widerkrantz Date: Wed, 15 Feb 2012 10:00:22 +0100 Subject: Moved scripts out of manual. --- scripts/mcmenu | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 scripts/mcmenu (limited to 'scripts/mcmenu') diff --git a/scripts/mcmenu b/scripts/mcmenu new file mode 100755 index 0000000..f5d6611 --- /dev/null +++ b/scripts/mcmenu @@ -0,0 +1,11 @@ +#! /bin/sh +exec 9menu -bg grey20 -fg grey80 \\ + -popup \\ + '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:' -- cgit v1.2.3 From d9e6e80ad9b6aa0347a65a71a7cdb0a78c08d790 Mon Sep 17 00:00:00 2001 From: Michael Cardell Widerkrantz Date: Wed, 15 Feb 2012 10:34:10 +0100 Subject: Added hide. Removed superflous \ characters left from when the script was in the manual. Oops. --- scripts/mcmenu | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'scripts/mcmenu') diff --git a/scripts/mcmenu b/scripts/mcmenu index f5d6611..6d32940 100755 --- a/scripts/mcmenu +++ b/scripts/mcmenu @@ -1,11 +1,11 @@ #! /bin/sh -exec 9menu -bg grey20 -fg grey80 \\ - -popup \\ - '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' \\ - ':' \\ +exec 9menu -bg grey20 -fg grey80 -popup \ + 'hide:xdotool selectwindow windowminimize' \ + '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:' -- cgit v1.2.3