summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.fluxbox/keys109
-rwxr-xr-x.gitignore.d/fluxbox14
2 files changed, 123 insertions, 0 deletions
diff --git a/.fluxbox/keys b/.fluxbox/keys
new file mode 100644
index 0000000..21595dc
--- /dev/null
+++ b/.fluxbox/keys
@@ -0,0 +1,109 @@
+#
+# Window Management
+#
+
+# Alt(+Shift)+Tab
+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
+Mod1 Shift F4 :Kill
+Mod1 F5 :Shade
+Mod1 F6 :Stick
+Mod1 F7 :StartMoving
+Mod1 F8 :StartResizing BottomRight
+Mod1 F9 :Minimize
+Mod1 F10 :Maximize
+Mod1 F11 :Fullscreen
+
+# Alt+Space
+Mod1 space :WindowMenu
+
+# Alt+drag
+Mod1 OnWindow Click1 :StartMoving
+
+# (Un)shade window when scrolling on titlebar
+OnTitlebar Click4 :ShadeOn
+OnTitlebar Click5 :ShadeOff
+
+#
+# Workspace Management
+#
+
+# Switch to next/previous workspace
+Control Mod1 Right :NextWorkspace 1
+Control Mod1 Left :PrevWorkspace 1
+
+# Switch to specific workspace
+Control F1 :Workspace 1
+Control F2 :Workspace 2
+Control F3 :Workspace 3
+Control F4 :Workspace 4
+Control F5 :Workspace 5
+Control F6 :Workspace 6
+Control F7 :Workspace 7
+Control F8 :Workspace 8
+Control F9 :Workspace 9
+Control F10 :Workspace 10
+Control F11 :Workspace 11
+Control F12 :Workspace 12
+
+# Move window to next/previous workspace
+Control Mod1 Shift Right :TakeToNextWorkspace 1
+Control Mod1 Shift Left :TakeToPrevWorkspace 1
+
+# Move window to next/previous workspace
+Control Shift F1 :TakeToWorkspace 1
+Control Shift F2 :TakeToWorkspace 2
+Control Shift F3 :TakeToWorkspace 3
+Control Shift F4 :TakeToWorkspace 4
+Control Shift F5 :TakeToWorkspace 5
+Control Shift F6 :TakeToWorkspace 6
+Control Shift F7 :TakeToWorkspace 7
+Control Shift F8 :TakeToWorkspace 8
+Control Shift F9 :TakeToWorkspace 9
+Control Shift F10 :TakeToWorkspace 10
+Control Shift F11 :TakeToWorkspace 11
+Control Shift F12 :TakeToWorkspace 12
+
+#
+# Session and Applications
+#
+
+# Session/screen management
+Mod4 F1 :Delay Exec xset dpms force off 1000000
+Pause :Delay Exec xset dpms force off 1000000
+Control Mod1 d l :Exec xscreensaver-command -lock
+Control Mod1 d s :Exec sudo shutdown -hP now
+Control Mod1 d r :Exec sudo reboot
+
+# Audio
+XF86AudioRaiseVolume :Exec amixer set Master,0 12.00dB+
+XF86AudioLowerVolume :Exec amixer set Master,0 12.00dB-
+XF86AudioMute :Exec amixer set Master,0 toggle
+
+# Music
+XF86AudioPlay :Exec mpc toggle
+XF86AudioStop :Exec mpc stop
+XF86AudioNext :Exec mpc next
+XF86AudioPrev :Exec mpc prev
+Shift XF86AudioNext :Exec mpc seek -00:00:05
+Shift XF86AudioPrev :Exec mpc seek +00:00:05
+
+# PrtSc
+Print :Exec scrot ~/shots/%Y-%m-%d_%H:%M:%S.png
+Shift Print :Exec scrot -u -b ~/shots/%Y-%m-%d_%H:%M:%S.png
+Mod1 Print :Exec scrot -s ~/shots/%Y-%m-%d_%H:%M:%S.png
+
+# Launch applications
+#Mod4 :CustomMenu ~/.fluxbox/menus/applications
+Mod4 t :Exec x-terminal-emulator
+Mod4 w :Exec x-www-browser
+Mod4 c :Exec gnome-calculator
+Mod4 o :Exec libreoffice
diff --git a/.gitignore.d/fluxbox b/.gitignore.d/fluxbox
new file mode 100755
index 0000000..6050b01
--- /dev/null
+++ b/.gitignore.d/fluxbox
@@ -0,0 +1,14 @@
+# Exclude all files
+*
+
+# Include relevant files
+!/.fluxbox/
+!/.fluxbox/*
+!/.gitignore.d/
+!/.gitignore.d/fluxbox
+
+# Exclude swap and backup files
+*.s[a-w]?
+*.vim
+*~
+*.orig