All pastes #1679925 Raw Edit

Anonymous

public text v1 · immutable
#1679925 ·published 2009-11-20 20:46 UTC
rendered paste body
###################################
###################################

#Click on the desktop to get menus
OnDesktop Mouse1 :HideMenus
OnDesktop Mouse2 :WorkspaceMenu
OnDesktop Mouse3 :RootMenu

#Alt + left/right click to move/resize a window
OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner}

#Right click on the titlebar for a menu of options
OnTitlebar Mouse3 :WindowMenu

###################################
###################################

#Workspace switching
Control F1 :Workspace 1
Control F2 :Workspace 2
Control F3 :Workspace 3
Control F4 :Workspace 4

#Volume scroll
176 :Exec amixer sset Master,0 1+
174 :Exec amixer sset Master,0 1-

#Current window commands
Mod1 F2 :Minimize
Mod1 F3 :Maximize
Mod1 F4 :Close
Mod1 F5 :MaximizeHorizontal
Mod1 F6 :MaximizeVertical

#Alt-tab
Mod1 Tab :NextWindow {groups}
Mod1 Shift Tab :PrevWindow {groups}

#Yakuake effect
96 :ToggleCmd {ForEach {If {Matches (easyfind)} {MoveTo 0 -1000}}} {ForEach {If {Matches (easyfind)} {MoveTo 0 538}}}

#MOCP
Mod4 q :Exec mocp -r
Mod4 w :Exec mocp -f
Mod4 e :ToggleCmd {Exec mocp -P} {Exec mocp -U}
Mod4 r :ToggleCmd {Exec mocp -p} {Exec mocp -x}

#Printscreen
Control 111 :Exec import -w root -quality 100 ~/screenshots/ss$(date +%d-%m.%k.%M.%S).jpg

Mod4 d :ForEach {If {Not Matches (easyfind)} {Minimize}}}
Mod4 m :RootMenu
Mod4 space :Exec fbrun
Mod4 71 :Exec xrandr -s 0