From 2c259dd0c2c0a822608cde69c2c5d7a71cf7024a Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Sun, 17 Mar 2024 18:30:09 +0000 Subject: [PATCH] Add emwmrc --- roles/home-gui/files/emwmrc | 118 ++++++++++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 roles/home-gui/files/emwmrc diff --git a/roles/home-gui/files/emwmrc b/roles/home-gui/files/emwmrc new file mode 100644 index 0000000..64f48c8 --- /dev/null +++ b/roles/home-gui/files/emwmrc @@ -0,0 +1,118 @@ +! 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 + "Applications" f.menu AppsMenu + 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 -dpmsoff 5 &" + "Restart..." f.restart + "Quit..." f.quit_wm +} + +!! +!! 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 +} + +Menu AppsMenu +{ + "Firefox" f.exec "firefox &" + "KeePassXC" f.exec "keepassxc &" + "Midnight Commander" f.exec "xterm -geometry 120x40 -e mc &" + "VNC Viewer" f.exec "vncviewer &" + "Vi" f.exec "xterm -e vi &" + "XClock" f.exec "xclock &" +} + +!! +!! 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 +!!