# click on the desktop to get menus OnDesktop Mouse1 :HideMenus OnDesktop Mouse2 :WorkspaceMenu OnDesktop Mouse3 :RootMenu # scroll on the desktop to change workspaces OnDesktop Mouse4 :PrevWorkspace OnDesktop Mouse5 :NextWorkspace # scroll on the toolbar to change workspaces OnToolbar Mouse4 :PrevWorkspace OnToolbar Mouse5 :NextWorkspace # alt + left/right click to move/resize a window OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving} OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner} # middle click a window's titlebar and drag to attach windows OnTitlebar Mouse2 :StartTabbing # double click on the titlebar to shade OnTitlebar Double Mouse1 :Shade # right click on the titlebar for a menu of options OnTitlebar Mouse3 :WindowMenu # alt-tab Mod1 Tab :NextWindow {groups} Mod1 Shift Tab :PrevWindow {groups} # cycle through tabs in the current window Mod4 Tab :NextTab Mod4 Shift Tab :PrevTab # volume settings, using common keycodes # if these don't work, use xev to find out your real keycodes 176 :Exec amixer sset Master,0 1+ 174 :Exec amixer sset Master,0 1- 160 :Exec amixer sset Master,0 toggle # current window commands Mod1 F4 :Close Mod1 F9 :Minimize Mod1 F10 :Maximize Mod1 F11 :Fullscreen # open the window menu Mod1 space :WindowMenu # Scorciatoie da tastiera Mod1 F1 :Exec urxvt #Mod1 F2 :Exec fbrun Mod1 F2 :Exec thunar Mod1 F3 :Exec firefox Mod1 F5 :Exec gedit Mod1 F6 :Exec filezilla