diff --git a/roles/home-gui/files/mwmrc b/roles/home-gui/files/mwmrc new file mode 100644 index 0000000..9ee5288 --- /dev/null +++ b/roles/home-gui/files/mwmrc @@ -0,0 +1,121 @@ +! vim:set sw=8 ts=8 noet: +! +! Motif +! +! Copyright (c) 1987-2012, The Open Group. All rights reserved. +! +! These libraries and programs are free software; you can +! redistribute them and/or modify them under the terms of the GNU +! Lesser General Public License as published by the Free Software +! Foundation; either version 2 of the License, or (at your option) +! any later version. +! +! These libraries and programs are distributed in the hope that +! they will be useful, but WITHOUT ANY WARRANTY; without even the +! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +! PURPOSE. See the GNU Lesser General Public License for more +! details. +! +! You should have received a copy of the GNU Lesser General Public +! License along with these librararies and programs; if not, write +! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth +! Floor, Boston, MA 02110-1301 USA +! +! $XConsortium: system.mwmrc /main/9 1996/10/25 11:45:42 drk $ +! +! HISTORY +! + +!! +!! DEFAULT Mwm RESOURCE DESCRIPTION FILE (system.mwmrc) +!! +!! NOTE: To personalize this file, copy this file before editing it. +!! Personalize copies of the Mwm resource file typically +!! reside as: +!! +!! $HOME/.mwmrc +!! + +!! +!! Root Menu Description (this menu must be explicitly posted via f.menu) +!! + +Menu DefaultRootMenu +{ + "Root Menu" f.title + "Terminal" f.exec "xterm &" + no-label f.separator + + "Chrome" f.exec "(chromium || chrome) &" + "Evolution" f.exec "evolution &" + "Firefox" f.exec "(~/opt/firefox/firefox || firefox) &" + "GVIM" f.exec "gvim &" + "KeePass" f.exec "(keepassxc || keepassx || keepass) &" + "LibreOffice" f.exec "libreoffice &" + "Midnight Commander" f.exec "xterm -geometry 120x40 -e mc &" + "Pidgin" f.exec "pidgin &" + "Remote Desktop" f.exec "~/data/repos/code/sh/rdp.sh &" + "Thunar" f.exec "thunar &" + "Vi" f.exec "xterm -e vi &" + "VirtualBox" f.exec "VirtualBox &" + + no-label f.separator + "Shuffle Up" f.circle_up + "Shuffle Down" f.circle_down + "Refresh" f.refresh + "Pack Icons" f.pack_icons + no-label f.separator + "Lock Screen" f.exec "xlock -mode blank &" + "Restart..." f.restart + "Quit..." f.quit_mwm +} + +!! +!! Default Window Menu Description +!! + +Menu DefaultWindowMenu +{ + Restore _R AltF5 f.restore + Move _M AltF7 f.move + Size _S AltF8 f.resize + Minimize _n AltF9 f.minimize + Maximize _x AltF10 f.maximize + Lower _L AltF3 f.lower + no-label f.separator + Close _C AltF4 f.kill +} + +!! +!! Key Binding Description +!! + +Keys DefaultKeyBindings +{ + ShiftEscape window|icon f.post_wmenu + Altspace window|icon f.post_wmenu + AltTab root|icon|window f.next_key + Alt ShiftTab root|icon|window f.prev_key + AltEscape root|icon|window f.circle_down + Alt ShiftEscape root|icon|window f.circle_up + Alt Shift Ctrlexclam root|icon|window f.set_behavior + AltF6 window f.next_key transient + Alt ShiftF6 window f.prev_key transient + ShiftF10 icon f.post_wmenu +} + +!! +!! Button Binding Description(s) +!! + +Buttons DefaultButtonBindings +{ + icon|frame f.raise + icon|frame f.lower + icon|frame f.post_wmenu + root f.menu DefaultRootMenu +} + +!! +!! END OF mwm RESOURCE DESCRIPTION FILE +!!