mirror of
https://github.com/0intro/wmii
synced 2025-01-23 18:42:09 +03:00
added Control-Alt-r,y shortcut which destroys an empty page and Control-Shift-[1-9] shortcuts which send the selected client of page [1-9] to selected page
This commit is contained in:
parent
83baf5de18
commit
da897e5bed
14
rc/wmiirc
14
rc/wmiirc
@ -57,6 +57,7 @@ done <<EOF
|
||||
$MODKEY-Control-c
|
||||
$MODKEY-Control-w,y
|
||||
$MODKEY-Control-q,y
|
||||
$MODKEY-Control-r,y
|
||||
$MODKEY-Control-p
|
||||
$MODKEY-Control-a
|
||||
$MODKEY-Control-y
|
||||
@ -91,6 +92,15 @@ $MODKEY-Control-6
|
||||
$MODKEY-Control-7
|
||||
$MODKEY-Control-8
|
||||
$MODKEY-Control-9
|
||||
Control-Shift-1
|
||||
Control-Shift-2
|
||||
Control-Shift-3
|
||||
Control-Shift-4
|
||||
Control-Shift-5
|
||||
Control-Shift-6
|
||||
Control-Shift-7
|
||||
Control-Shift-8
|
||||
Control-Shift-9
|
||||
EOF
|
||||
|
||||
# EVENT LOOP
|
||||
@ -126,6 +136,8 @@ do
|
||||
wmiirc &;;
|
||||
$MODKEY-Control-q,y)
|
||||
xwrite /ctl quit;;
|
||||
$MODKEY-Control-r,y)
|
||||
wmiir remove /sel;;
|
||||
$MODKEY-Control-p)
|
||||
extern `wmiimenu </tmp/ns.$USER.$DISPLAY/progs` &;;
|
||||
$MODKEY-Control-a)
|
||||
@ -162,6 +174,8 @@ do
|
||||
xwrite /ctl select `echo $1 | sed 's/.*-//'`;;
|
||||
$MODKEY-Control-[1-9])
|
||||
xwrite /sel/sel/sel/ctl sendtopage `echo $1 | sed 's/.*-//'`;;
|
||||
Control-Shift-[1-9])
|
||||
xwrite /`echo $1 | sed 's/.*-//'`/sel/sel/ctl sendtopage sel;;
|
||||
esac;;
|
||||
esac
|
||||
done &
|
||||
|
Loading…
Reference in New Issue
Block a user