unixwz0r

.mwmrc

Dec 24th, 2014
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.15 KB | None | 0 0
  1. ! Motif config file by: CyberpunkZ for my BSDs
  2. !
  3. ! Menu descriptions
  4. !
  5. !
  6. ! Root Menu
  7. ! Workspace menu from MB1 on screen
  8. Menu RootMenu
  9. {
  10. "Motif Menu" f.title
  11. no-label f.separator
  12. "URXVT Bash $" f.exec "urxvt -e bash"
  13. no-label f.separator
  14. "Shuffle Up" _U f.circle_up
  15. "Shuffle Down" _D f.circle_down
  16. "Next Window" _N f.next_key
  17. "Previous Window" _v f.prev_key
  18. "Refresh" f.refresh
  19. "Pack Icons" f.pack_icons
  20. no-label f.separator
  21. "Restart..." _R f.restart
  22. "Quit..." _Q f.quit_mwm
  23. }
  24.  
  25.  
  26.  
  27. ! Workspace menu from Window menu
  28. Menu AppMenu
  29. {
  30. "Tux Hat Linux Motif" f.title
  31. no-label f.separator
  32. "VirtualBox" f.exec "VirtualBox"
  33. "OpenShot" f.exec "openshot"
  34. "LXAppearance" f.exec "lxappearance"
  35. "Nitrogen" f.exec "nitrogen"
  36. "mc" f.exec "urxvt -e mc"
  37. "tmux" f.exec "urxvt -e tmux"
  38. "lxmusic" f.exec "lxmusic"
  39. "rtorrent" f.exec "urxvt -e rtorrent"
  40. "weechat" f.exec "urxvt -e weechat"
  41. "file-roller" f.exec "file-roller"
  42. "geany" f.exec "geany"
  43. "vim" f.exec "urxvt -e vim"
  44. "chromium" f.exec "chrome"
  45. "firefox" f.exec "firefox"
  46. "spacefm" f.exec "spacefm"
  47. "gimp" f.exec "gimp"
  48.  
  49.  
  50. }
  51.  
  52. ! Default Window Menu
  53. ! Menu associated with window border
  54. Menu DefaultWindowMenu
  55. {
  56. "Restore" _R Mod4<Key>z f.normalize
  57. "Move" _M Mod4<Key>k f.move
  58.  
  59. "Minimize" _n Mod4<Key>x f.minimize
  60. "Maximize" _x Mod4<Key>m f.maximize
  61. "Lower" _L Mod4<Key>Tab f.lower
  62. no-label f.separator
  63.  
  64. "Close" _C Mod4<Key>c f.kill
  65.  
  66. }
  67.  
  68. !
  69. !-------------------------------- ------------------------------
  70. !
  71. ! Key bindings
  72. !
  73. !
  74. Keys DefaultKeyBindings
  75. {
  76. Shift<Key>Escape window|icon f.post_wmenu
  77. ! Commented out to avoid conflict with Compose space
  78. ! Meta<Key>space window|icon f.post_wmenu
  79. Meta Shift<Key>Tab root|icon|window f.prev_key
  80. Meta<Key>Escape root|icon|window f.next_key
  81. Meta Shift<Key>Escape root|icon|window f.prev_key
  82. Meta Shift Ctrl<Key>exclam root|icon|window f.set_behavior
  83. Meta Ctrl<Key>exclam root|icon|window f.set_behavior
  84. Meta<Key>F6 window f.next_key transient
  85. Meta Shift<Key>F6 window f.prev_key transient
  86. ! App Key bindings for my BSD system
  87. Mod4<Key>v root|icon|window f.menu AppMenu
  88. Mod4<key>p root|icon|window f.exec "dmenu_run -nb '#181512' -nf '#bea492' -sb '#181512' -sf '#dcdccc'"
  89. Mod4<key>e root|icon|window f.exec "geany"
  90. Mod4<key>a root|icon|window f.exec "lxmusic"
  91. Mod4<key>b root|icon|window f.exec "qbittorrent"
  92. Mod4<key>w root|icon|window f.exec "firefox"
  93. Mod4<key>t root|icon|window f.exec "urxvt -e bash"
  94. Mod4<key>l root|icon|window f.exec "lxappearance"
  95. Mod4<key>g root|icon|window f.exec "gimp"
  96. Mod4<key>s root|icon|window f.exec "smplayer"
  97. Mod4<key>o root|icon|window f.exec "openshot"
  98. Mod4<key>f root|icon|window f.exec "spacefm"
  99. Mod4<key>n root|icon|window f.exec "nitrogen"
  100. Mod4<key>i root|icon|window f.exec "urxvt -e weechat"
  101. Mod4<key>r root|icon|window f.restart
  102. Mod4<key>q root|icon|window f.quit_mwm
  103. }
  104. !
  105. !---------------------------------------------------------------
  106. !
  107. ! Button Bindings
  108. !
  109. !
  110. ! Button binding for default keyboard focus policy: Explicit
  111. Buttons DefaultButtonBindings
  112. {
  113. <Btn1Down> icon|frame f.raise
  114. <Btn3Down> root f.menu AppMenu
  115. <Btn1Down> root f.menu RootMenu
  116. Mod4 <Btn1Down> window f.move
  117. Mod4 <Btn3Down> window f.resize
  118. <Btn1Click2> title f.minimize
  119. Shift <Btn1Click2> icon f.minimize
  120. Shift <Btn1Click> icon|frame f.lower
  121. Ctrl <Btn1Click> root|icon|frame f.next_key
  122. Ctrl Shift <Btn1Click> root|icon|frame f.prev_key
  123. Meta <Btn1Click> root|icon|frame f.next_key transient
  124. Meta Shift <Btn1Click> root|icon|frame f.prev_key transient
  125. }
Advertisement
Add Comment
Please, Sign In to add comment