summaryrefslogtreecommitdiffstats
path: root/wmii-3.5/wmiirc
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2010-04-28 10:26:05 +0200
committerStefan Ritter <xeno@thehappy.de>2010-04-28 10:26:05 +0200
commit8c93b694c972ed0f3bac990bf3f7bea5c8e80856 (patch)
tree2343b3290e489e389ed1931a81c1982fe06240cb /wmii-3.5/wmiirc
parent4c61a9fe5da4326a006002582fb3dec5ba7834f6 (diff)
Add xscreensaver-shortcut
Diffstat (limited to 'wmii-3.5/wmiirc')
-rwxr-xr-xwmii-3.5/wmiirc3
1 files changed, 3 insertions, 0 deletions
diff --git a/wmii-3.5/wmiirc b/wmii-3.5/wmiirc
index 0223178..2fd5136 100755
--- a/wmii-3.5/wmiirc
+++ b/wmii-3.5/wmiirc
@@ -18,6 +18,7 @@ set -- $(echo $WMII_NORMCOLORS $WMII_FOCUSCOLORS)
WMII_MENU="dmenu -b -fn '$WMII_FONT' -nf '$1' -nb '$2' -sf '$4' -sb '$5'"
WMII_9MENU="wmii9menu -font '$WMII_FONT' -nf '$1' -nb '$2' -sf '$4' -sb '$5' -br '$6'"
WMII_TERM="x-terminal-emulator"
+WMII_LOCK="xscreensaver-command -lock"
# Column Rules
wmiir write /colrules <<!
@@ -120,6 +121,8 @@ eventstuff() {
sh -c "$(eval $WMII_MENU <$progsfile)" &
Key $MODKEY-Return
eval $WMII_TERM &
+ Key $MODKEY-l
+ eval $WMII_LOCK
Key $MODKEY-Shift-space
wmiir xwrite /tag/sel/ctl send sel toggle
Key $MODKEY-m