2016-12-16 16:31:33 +03:00
|
|
|
#!/usr/bin/perl -p
|
|
|
|
# Originally by Stuart Henderson in
|
|
|
|
# <20161206120601.vmimohqh4nafaeah@symphytum.spacehopper.org>
|
2017-01-23 23:21:58 +03:00
|
|
|
# Ported to Perl and slightly tweaked by Leah Neukirchen.
|
2016-12-16 16:31:33 +03:00
|
|
|
|
|
|
|
s/\bbind\b(.*)\bunmap/unbind-key \1/;
|
|
|
|
s/\bmousebind\b(.*)unmap/unbind-mouse \1/;
|
|
|
|
s/\bresize\b/window-resize/;
|
|
|
|
s/\bresizedown\b/window-resize-down/;
|
|
|
|
s/\bresizeleft\b/window-resize-left/;
|
|
|
|
s/\bresizeright\b/window-resize-right/;
|
|
|
|
s/\bresizeup\b/window-resize-up/;
|
|
|
|
s/\bmove\b/window-move/;
|
|
|
|
s/\bmovedown\b/window-move-down/;
|
|
|
|
s/\bmoveleft\b/window-move-left/;
|
|
|
|
s/\bmoveright\b/window-move-right/;
|
|
|
|
s/\bmoveup\b/window-move-up/;
|
|
|
|
s/\bbigmovedown\b/window-move-down-big/;
|
|
|
|
s/\bbigmoveleft\b/window-move-left-big/;
|
|
|
|
s/\bbigmoveright\b/window-move-right-big/;
|
|
|
|
s/\bbigmoveup\b/window-move-up-big/;
|
|
|
|
s/\bbigptrmovedown\b/pointer-move-down-big/;
|
|
|
|
s/\bbigptrmoveleft\b/pointer-move-left-big/;
|
|
|
|
s/\bbigptrmoveright\b/pointer-move-right-big/;
|
|
|
|
s/\bbigptrmoveup\b/pointer-move-up-big/;
|
|
|
|
s/\bbigresizedown\b/window-resize-down-big/;
|
|
|
|
s/\bbigresizeleft\b/window-resize-left-big/;
|
|
|
|
s/\bbigresizeright\b/window-resize-right-big/;
|
|
|
|
s/\bbigresizeup\b/window-resize-up-big/;
|
|
|
|
s/\bbind\b/bind-key/;
|
|
|
|
s/\bcycle\b/window-cycle/;
|
|
|
|
s/\bcyclegroup\b/group-cycle/;
|
|
|
|
s/\bcycleingroup\b/window-cycle-ingroup/;
|
|
|
|
s/\bdelete\b/window-delete/;
|
|
|
|
s/\bexec\b/menu-exec/;
|
|
|
|
s/\bexec_wm\b/menu-exec-wm/;
|
|
|
|
s/\bfreeze\b/window-freeze/;
|
|
|
|
s/\bfullscreen\b/window-fullscreen/;
|
|
|
|
s/\bgroupsearch\b/menu-group/;
|
|
|
|
s/\bgrouptoggle\b/window-group/;
|
|
|
|
s/\bhide\b/window-hide/;
|
|
|
|
s/\bhmaximize\b/window-hmaximize/;
|
|
|
|
s/\bhtile\b/window-htile/;
|
|
|
|
s/\blabel\b/window-menu-label/;
|
|
|
|
s/\blower\b/window-lower/;
|
|
|
|
s/\bmaximize\b/window-maximize/;
|
|
|
|
s/\bmenu_cmd\b/menu-cmd/;
|
|
|
|
s/\bmenu_group\b/menu-group/;
|
|
|
|
s/\bmenu_unhide\b/menu-window/;
|
|
|
|
s/\bmenusearch\b/menu-cmd/;
|
|
|
|
s/\bmousebind\b/bind-mouse/;
|
|
|
|
s/\bnogroup\b/group-toggle-all/;
|
|
|
|
s/\bptrmovedown\b/pointer-move-down/;
|
|
|
|
s/\bptrmoveleft\b/pointer-move-left/;
|
|
|
|
s/\bptrmoveright\b/pointer-move-right/;
|
|
|
|
s/\bptrmoveup\b/pointer-move-up/;
|
|
|
|
s/\braise\b/window-raise/;
|
|
|
|
s/\brcycle\b/window-rcycle/;
|
|
|
|
s/\brcyclegroup\b/group-rcycle/;
|
|
|
|
s/\brcycleingroup\b/window-rcycle-ingroup/;
|
|
|
|
s/\bsearch\b/menu-window/;
|
|
|
|
s/\bssh\b/menu-ssh/;
|
|
|
|
s/\bstick\b/window-stick/;
|
|
|
|
s/\bvmaximize\b/window-vmaximize/;
|
|
|
|
s/\bvtile\b/window-vtile/;
|
|
|
|
s/\bwindow_grouptoggle\b/window-group/;
|
|
|
|
s/\bwindow_move\b/window-move/;
|
|
|
|
s/\bwindow_resize\b/window-resize/;
|
|
|
|
s/\bwindow_hide\b/window-hide/;
|
|
|
|
s/\bwindow_lower\b/window-lower/;
|
|
|
|
s/\bwindow_raise\b/window-raise/;
|
|
|
|
s/\bmovetogroup([1-9])\b/window-movetogroup-\1/;
|
|
|
|
s/\bgrouponly([1-9])\b/group-only-\1/;
|
|
|
|
s/\bgroup([1-9])\b/group-toggle-\1/;
|