From 842a368dc04e50a82f3d331d68950ad14f815e9d Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Wed, 20 Nov 2019 10:13:08 +0000 Subject: [PATCH] Set fvwmrc for all distros, and stop creating mwmrc --- roles/home-gui/files/mwmrc | 116 ------------------------------ roles/home-gui/tasks/dotfiles.yml | 6 -- 2 files changed, 122 deletions(-) delete mode 100644 roles/home-gui/files/mwmrc diff --git a/roles/home-gui/files/mwmrc b/roles/home-gui/files/mwmrc deleted file mode 100644 index 085ed32..0000000 --- a/roles/home-gui/files/mwmrc +++ /dev/null @@ -1,116 +0,0 @@ -! 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 "(urxvt || xterm) &" - no-label f.separator - - "Midnight Commander" f.exec "(urxvt -geometry 120x40 -e mc || xterm -geometry 120x40 -e mc) &" - no-label f.separator - - Firefox f.exec "firefox &" - GVIM f.exec "gvim &" - LibreOffice f.exec "libreoffice &" - Vi f.exec "(urxvt -e vi || xterm -e vi) &" - - 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 -!! diff --git a/roles/home-gui/tasks/dotfiles.yml b/roles/home-gui/tasks/dotfiles.yml index cdf0868..753b0b1 100644 --- a/roles/home-gui/tasks/dotfiles.yml +++ b/roles/home-gui/tasks/dotfiles.yml @@ -32,16 +32,10 @@ src: xsession-freebsd dest: "{{ ansible_env.HOME }}/.xsession" when: ansible_system == "FreeBSD" -- name: Create MWM config file - copy: - src: mwmrc - dest: "{{ ansible_env.HOME }}/.mwmrc" - when: ansible_system == "NetBSD" - name: Create fvwm config file copy: src: fvwmrc dest: "{{ ansible_env.HOME }}/.fvwm/config" - when: ansible_system == "NetBSD" - name: Create NetBSD xsession file copy: src: xsession-netbsd