summaryrefslogtreecommitdiffstats
path: root/.fluxbox
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-03-07 00:48:30 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-03-07 00:48:30 (EST)
commit04f40f1909a38f73ff86d081f991e9c66f943a4d (patch)
tree5e97c44573fd4113b9ee04eda3d5162092f160b8 /.fluxbox
parentb993c98519acae4bdf3467039f8d9bb3f9d4518b (diff)
downloadfluxbox-04f40f1909a38f73ff86d081f991e9c66f943a4d.zip
fluxbox-04f40f1909a38f73ff86d081f991e9c66f943a4d.tar.gz
fluxbox-04f40f1909a38f73ff86d081f991e9c66f943a4d.tar.bz2
.fluxbox/keys: Manage those windows
Diffstat (limited to '.fluxbox')
-rw-r--r--.fluxbox/keys48
1 files changed, 40 insertions, 8 deletions
diff --git a/.fluxbox/keys b/.fluxbox/keys
index 5ead746..6c762a8 100644
--- a/.fluxbox/keys
+++ b/.fluxbox/keys
@@ -6,10 +6,6 @@
Mod1 Tab :NextWindow groups
Mod1 Shift Tab :PrevWindow groups
-# Super(+Shift)+Tab
-Mod4 Tab :NextTab
-Mod4 Shift Tab :PrevTab
-
# Alt+F(N)
Mod1 F2 :Exec fbrun
Mod1 F4 :Close
@@ -22,16 +18,51 @@ Mod1 F9 :Minimize
Mod1 F10 :Maximize
Mod1 F11 :Fullscreen
-# Alt+Space
+# Title bar right click and Alt+Space to open window menu
+OnTitlebar Mouse3 :WindowMenu
Mod1 space :WindowMenu
-# Alt+drag
-Mod1 OnWindow Click1 :StartMoving
-
# (Un)shade window when scrolling on titlebar
OnTitlebar Click4 :ShadeOn
OnTitlebar Click5 :ShadeOff
+# Title bar drag, border drag, and Alt+drag
+OnTitlebar Move1 :StartMoving
+OnWindowBorder Move1 :StartMoving
+OnWindow Mod1 Move1 :StartMoving
+#OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
+
+# Resize on corner dragging and Alt+right-click on window
+OnLeftGrip Move1 :StartResizing BottomLeft
+OnRightGrip Move1 :StartResizing BottomRight
+OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner}
+
+# Maximize on title bar double click
+OnTitlebar Double Mouse1 :Maximize
+
+#OnTitlebar Mouse1 :MacroCmd {Raise} {Focus} {ActivateTab}
+
+#
+# Tab Management
+#
+
+# Super(+Shift)+Tab
+Mod4 Tab :NextTab
+Mod4 Shift Tab :PrevTab
+
+# Switch to specific tab
+Mod4 1 :Tab 1
+Mod4 2 :Tab 2
+Mod4 3 :Tab 3
+Mod4 4 :Tab 4
+Mod4 5 :Tab 5
+Mod4 6 :Tab 6
+Mod4 7 :Tab 7
+Mod4 8 :Tab 8
+Mod4 9 :Tab 9
+
+#OnTitlebar Control Mouse1 :StartTabbing
+
#
# Workspace Management
#
@@ -83,6 +114,7 @@ Control Mod1 Delete l :Exec xscreensaver-command -lock
Control Mod1 Delete q :Exec printf 'quit\n' >~/.xsessionmanage
Control Mod1 Delete s :Exec sudo shutdown -hP now
Control Mod1 Delete r :Exec sudo reboot
+Control Mod1 Delete c :Reconfigure
# Audio
XF86AudioRaiseVolume :Exec amixer set Master,0 12.00dB+