Xmd/defaults/misc/.mwmrc
2024-01-17 11:47:18 -05:00

75 lines
2.5 KiB
Plaintext

Menu DefaultRootMenu
{
"Root Menu" f.title
"Terminal" f.exec "uxterm &"
"Shuffle Up" f.circle_up
"Shuffle Down" f.circle_down
"Refresh" f.refresh
"Pack Icons" f.pack_icons
no-label f.separator
"Screen Shot" f.exec "screenshot selection clipboard"
no-label f.separator
"Restart MWM" f.restart
"Quit..." f.exec "xmd-end-session"
}
Menu DefaultWindowMenu
{
Restore _R Shift Mod4<Key>m f.restore
Move _M Mod4<Key>g f.move
Size _S Mod4<Key>s f.resize
Minimize _n Mod4<Key>h f.minimize
Maximize _x Mod4<Key>m f.maximize
no-label f.separator
"Screen Shot" _e Alt Ctrl<Key>Print f.exec "screenshot window clipboard"
no-label f.separator
Close _C Mod4<Key>q f.kill
}
Keys DefaultKeyBindings
{
Mod4<Key>Escape window|icon f.post_wmenu
Mod4<Key>Tab root|icon|window f.next_key
Mod4 Shift<Key>Tab root|icon|window f.prev_key
Mod4<Key>Right root|icon|window f.next_key window
Mod4<Key>Left root|icon|window f.prev_key window
<Key>Tab icon f.next_key icon
Shift<Key>Tab icon f.prev_key icon
<Key>Right icon f.next_key icon
<Key>Left icon f.prev_key icon
Alt Shift Ctrl<Key>exclam root|icon|window f.set_behavior
Mod4 Shift<Key>r root|icon|window f.restart
Mod4 Shift<Key>q root|icon|window f.quit_mwm
Mod4<Key>Return root|icon|window f.exec "uxterm &"
Mod4<Key>R root|icon|window f.exec "rofi -show run &"
Mod4<Key>space root|icon|window f.exec "rofi -show drun &"
<Key>Return icon f.restore
<Key>space icon f.post_wmenu
<Key>XF86MonBrightnessUp root|icon|window f.exec "brightnessctl s --exponent=10 +5%"
<Key>XF86MonBrightnessDown root|icon|window f.exec "brightnessctl s --exponent=10 5%-"
<Key>XF86AudioRaiseVolume root|icon|window f.exec "pamixer -i 2"
<Key>XF86AudioLowerVolume root|icon|window f.exec "pamixer -d 2"
Mod4<Key>period root|icon|window f.exec "pamixer -i 2"
Mod4<Key>comma root|icon|window f.exec "pamixer -d 2"
<Key>Print root|icon|window f.exec "screenshot"
Ctrl<Key>Print root|icon|window f.exec "screenshot clipboard"
Shift<Key>Print root|icon|window f.exec "screenshot selection"
Shift Ctrl<Key>Print root|icon|window f.exec "screenshot selection clipboard"
Alt<Key>Print icon|window f.exec "screenshot window"
Mod4<Key>grave window f.next_key icon
Mod4<Key>grave root|icon f.next_key window
}
Buttons DefaultButtonBindings
{
<Btn1Down> icon|frame f.raise
<Btn3Down> icon|frame f.post_wmenu
<Btn1Down> root f.menu DefaultRootMenu
Mod4<Btn1Down> window|icon f.move
Mod4<Btn2Down> window|icon f.lower
Mod4<Btn3Down> window|icon f.resize
}