Two, 2, count them 2 HOT Keys
Code:
#Mod key is left ALT key
set $mod Mod1
# sup is windows key
set $sup Mod4
for systray I use i3status Modded to my needs
Code:
####################################
# SYSTEM TRAY #
####################################
# system tray items
exec --no-startup-id xfce4-power-manager
exec --no-startup-id volumeicon
exec --no-startup-id radiotray
exec --no-startup-id dropbox start
exec --no-startup-id nm-applet
to place dmenu on bottom of screen
Code:
# start dmenu (a program launcher)
bindcode $mod+40 exec dmenu_run "-b"
if you want to get rid of that "do you really want to exit message, and be able to just exit i3 then comment this line out.
Code:
# exit i3 (logs you out of your X session)
#bindcode $mod+Shift+26 exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
then add this one
Code:
## CHANGED TO JUST GET OUT OF SESSION
bindcode $mod+Shift+26 exit
to always have a window open in float mode
Code:
###################################
# enable floating mode for windows
###################################
#for_window [class=" "] floating enable
for_window [class="MPlayer"] floating enable
for_window [class="VirtualBox"] floating enable
for_window [class="Lazarus"] floating enable
Notice first letter of app name is not always lowercase to get it to work. so if it doesn't work for an app one way try changing the first letter from cap to lower case ot visa versa -- I've found it needs to be spelled how ever it shows up in the title bar of the app.
change default terminal is easy too, just install what ever one you want to use then replace it from the old one.
Code:
# start a terminal
#bindcode $mod+36 exec i3-sensible-terminal
bindcode $mod+36 exec terminator
using your F keys
Code:
bindsym F5 exec --no-startup-id terminology
bindsym F12 exec --no-startup-id pavucontrol
bindsym F4 exec --no-startup-id avidemux
Just be sure that the system is not using an F key for something else before you program it for another app.
with your two HOT keys you can set your personal apps with $sup to help not get confused and/or add more avalable keyboard short cuts keys to use
Code:
#$sup keys
bindsym $sup+a exec --no-startup-id audacious
bindsym $sup+Shift+s exec --no-startup-id xfce4-screenshooter
#$mod keys, default system setup
# change focus
bindcode $mod+44 focus left
bindcode $mod+45 focus down
bindcode $mod+46 focus up
bindcode $mod+47 focus right