108 lines
3.6 KiB
Text
108 lines
3.6 KiB
Text
|
# 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 current window
|
||
|
OnToolbar Mouse4 :PrevWindow {static groups} (iconhidden=no)
|
||
|
OnToolbar Mouse5 :NextWindow {static groups} (iconhidden=no)
|
||
|
|
||
|
# alt + left/right click to move/resize a window
|
||
|
OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
|
||
|
OnWindowBorder Move1 :StartMoving
|
||
|
|
||
|
OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner}
|
||
|
OnLeftGrip Move1 :StartResizing bottomleft
|
||
|
OnRightGrip Move1 :StartResizing bottomright
|
||
|
|
||
|
# alt + middle click to lower the window
|
||
|
OnWindow Mod1 Mouse2 :Lower
|
||
|
|
||
|
# control-click a window's titlebar and drag to attach windows
|
||
|
OnTitlebar Control Mouse1 :StartTabbing
|
||
|
|
||
|
# double click on the titlebar to shade
|
||
|
OnTitlebar Double Mouse1 :Shade
|
||
|
|
||
|
# left click on the titlebar to move the window
|
||
|
OnTitlebar Mouse1 :MacroCmd {Raise} {Focus} {ActivateTab}
|
||
|
OnTitlebar Move1 :StartMoving
|
||
|
|
||
|
# middle click on the titlebar to lower
|
||
|
OnTitlebar Mouse2 :Lower
|
||
|
|
||
|
# right click on the titlebar for a menu of options
|
||
|
OnTitlebar Mouse3 :WindowMenu
|
||
|
|
||
|
# alt-tab
|
||
|
Mod1 Tab :NextWindow {groups} (workspace=[current])
|
||
|
Mod1 Shift Tab :PrevWindow {groups} (workspace=[current])
|
||
|
Mod4 Tab :WorkspaceMenu
|
||
|
|
||
|
# cycle through tabs in the current window
|
||
|
Mod4 Tab :NextTab
|
||
|
Mod4 Shift Tab :PrevTab
|
||
|
|
||
|
# open a terminal
|
||
|
Mod4 x :Exec urxvt
|
||
|
|
||
|
# open a dialog to run programs
|
||
|
Mod1 space : Exec gmrun
|
||
|
|
||
|
# current window commands
|
||
|
Control q :Close
|
||
|
Mod1 F5 :Kill
|
||
|
Mod1 F9 :Minimize
|
||
|
Mod1 F10 :Maximize
|
||
|
Mod1 F11 :Fullscreen
|
||
|
Mod4 Up :Maximize
|
||
|
Mod4 Left :MacroCmd {ResizeTo 50% 100%} {MoveTo 00 00 Left}
|
||
|
Mod4 Right :MacroCmd {ResizeTo 50% 100%} {MoveTo 00 00 Right}
|
||
|
Mod4 Down :MacroCmd {ResizeTo 90% 90%} {MoveTo 5% 00 Left}
|
||
|
|
||
|
# exit fluxbox
|
||
|
Control Mod1 Delete :Exit
|
||
|
|
||
|
# change to previous/next workspace
|
||
|
Control Mod1 a :PrevWorkspace
|
||
|
Control Mod1 d :NextWorkspace
|
||
|
|
||
|
# send the current window to previous/next workspace
|
||
|
Control Shift Mod1 a :TakeToPrevWorkspace
|
||
|
Control Shift Mod1 d :TakeToNextWorkspace
|
||
|
|
||
|
# Screen lock
|
||
|
Mod4 l :Exec xscreensaver-command -lock
|
||
|
78 :Exec xscreensaver-command -lock
|
||
|
|
||
|
# Run browser
|
||
|
Mod4 b :Exec google-chrome
|
||
|
|
||
|
# Switch screen
|
||
|
Mod4 p :Exec ~/Bin/screen_layout.sh
|
||
|
|
||
|
# Open sound control preferences
|
||
|
Mod4 v :Exec pavucontrol
|
||
|
|
||
|
# Hibernate
|
||
|
Mod4 h :Exec sudo hibernate-ram
|
||
|
|
||
|
# Multimedia keys
|
||
|
XF86AudioRaiseVolume :Exec amixer sset Master,0 5%+
|
||
|
XF86AudioLowerVolume :Exec amixer sset Master,0 5%-
|
||
|
XF86AudioMute : Exec amixer sset Master,0 toggle
|
||
|
XF86AudioPlay :Exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
|
||
|
XF86AudioPrev :Exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
|
||
|
XF86AudioNext :Exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
|
||
|
198 :Exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
|
||
|
Mod4 0 :Exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
|
||
|
Mod4 - :Exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
|
||
|
Mod5 = :Exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
|
||
|
|
||
|
# Take Screenshot
|
||
|
None Print :Exec xfce4-screenshooter
|
||
|
Control Print :Exec scrot -d 0 `date +%Y-%m-%d_%H-%M-%S`.png
|