# File:        ~/.fluxbox/keys
# Author:      Gustavo Picon <tabo@aurealsys.com>
# Last Change: 20040721
# Download:    http://aurealsys.com/tabo/code/fluxbox-keys
# License:     This file is placed in the public domain
# Disclaimer:  Published as-is, no support, no warranty


# Changelog:
#
# 20040721:
#   - Updated to fluxbox 0.9
#   - alt-left and alt-right are disabled by default
#   - added alt-k binding (xkill)


# Please note that "Mod1" is the ALT key


#
# Default fluxbox configuration section
# All these settings are self-explanatory
#

Mod1 Tab       :NextWindow
Mod1 Shift Tab :PrevWindow
Mod1 F1        :Workspace 1
Mod1 F2        :Workspace 2
Mod1 F3        :Workspace 3
Mod1 F4        :Workspace 4
Mod1 F5        :Workspace 5
Mod1 F6        :Workspace 6
Mod1 F7        :Workspace 7
Mod1 F8        :Workspace 8
Mod1 F9        :Workspace 9
Mod1 F10       :Workspace 10
Mod1 F11       :Workspace 11
Mod1 F12       :Workspace 12

#
# Window movement/resize section
# Control+Shift+Arrow to move a window
# Alt+Shift+Arrow to resize a window
#
Control Mod1 Shift Left  :BigNudgeLeft
Control Mod1 Shift Right :BigNudgeRight
Control Mod1 Shift Up    :BigNudgeUp
Control Mod1 Shift Down  :BigNudgeDown
Mod1    Shift Left  :HorizontalDecrement
Mod1    Shift Right :HorizontalIncrement
Mod1    Shift Up    :VerticalDecrement
Mod1    Shift Down  :VerticalIncrement

#
# Window manipulation section
# These ones use the left side of the keyboard
#
Control Shift Q :Close              # close current window
Control Shift W :PrevTab
Control Shift E :NextTab
Control Shift A :MaximizeWindow
Control Shift Z :Minimize
Control Shift S :ShadeWindow
Control Shift X :KillWindow         # xkill
Control Shift D :MaximizeVertical
Control Shift C :MaximizeHorizontal

#
# Shortcuts
# You'll probably have to edit this section
#

# run command
Control Shift R :ExecCommand fbrun
# open terminal
Control Shift T :ExecCommand rxvt +sb -rv -font "-adobe-courier-tiny-r-*"
# lock screen
Control Shift L :ExecCommand xscreensaver-command -lock
# mail
Control Shift M :ExecCommand rxvt +sb -rv -font "*-tiny-*" -e mutt
# vi
Control Shift V :ExecCommand rxvt +sb -rv -font "*-tiny-*" -e vim
# browser
Control Shift B :ExecCommand mozilla-firefox
# games
Control Shift G :ExecCommand bzflag -window
# screenshot
Control Shift P :ExecCommand import -window root `date +screenshot-%Y%m%d%H%m%S.png`
# xkill
Control Shift K :ExecCommand xkill




#
# These ones may be useful for fluxbox newbies
#
Control Escape :RootMenu      # opens the app launcher menu
#Mod1 Left      :PrevWorkspace
#Mod1 Right     :NextWorkspace