X-Git-Url: http://git.draconx.ca/gitweb/fvwmconf.git/blobdiff_plain/a17a73614ce98066362b0714953cdf585ec7fae9..58ceb4c10be9f55693f4ea6b7e5455d84d17c457:/common/bindings diff --git a/common/bindings b/common/bindings index dc7552c..d9a03fa 100644 --- a/common/bindings +++ b/common/bindings @@ -12,14 +12,6 @@ Key F4 A M Close # When programs don't set the resolution... Key F12 A C Exec exec xrandr -s 0 -# For moving windows around desktops. -Key J WFT CM DoPageMove 0 -Key K WFT CM DoPageMove 1 -Key L WFT CM DoPageMove 2 -Key U WFT CM DoPageMove 3 -Key I WFT CM DoPageMove 4 -Key O WFT CM DoPageMove 5 - # For moving ourself around desktops. Key 1 A CM GotoPage 0 0 Key 2 A CM GotoPage 1 0 @@ -40,7 +32,15 @@ Key grave A C Exec exec $[TERMINAL] Key grave A CM Exec exec $[TERMINAL] -e zsh -f Key F3 A M Module FvwmConsole -terminal urxvt +# Screen locking +Key XF86Standby A A Exec exec xscreensaver-command -lock + DestroyFunc DoPageMove AddToFunc DoPageMove + I GotoPage $0 0 + I MoveToPage $0 0 + +# Keymap config +PipeRead "[ -f '$[FVWM_USERDIR]/common/keymaps/$[KEYMAP]' ] \ + && echo Read common/keymaps/$[KEYMAP] \ + || echo Read common/keymaps/default"