summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stumpwmrc140
1 files changed, 126 insertions, 14 deletions
diff --git a/stumpwmrc b/stumpwmrc
index fd70770..107a2b3 100644
--- a/stumpwmrc
+++ b/stumpwmrc
@@ -33,6 +33,18 @@
(define-key
*root-map*
+ (kbd "XF86Explorer")
+ "quit"
+)
+
+(define-key
+ *root-map*
+ (kbd "Delete")
+ "pull-hidden-previous"
+)
+
+(define-key
+ *root-map*
(kbd "XF86Back")
"pull-hidden-previous"
)
@@ -63,6 +75,12 @@
(define-key
*root-map*
+ (kbd "S-Delete")
+ "gprev"
+)
+
+(define-key
+ *root-map*
(kbd "S-XF86Forward")
"gnext"
)
@@ -105,10 +123,23 @@
(define-key
*root-map*
+ (kbd "M-Delete")
+ "gnext-with-window"
+)
+
+(define-key
+ *root-map*
(kbd "9")
"delete"
)
+(define-key
+ *root-map*
+ (kbd "C-9")
+ "kill"
+)
+
+
;; window control bindings
(define-key
@@ -125,7 +156,7 @@
(define-key
*root-map*
- (kbd "End")
+ (kbd "C-End")
"restart-hard"
)
@@ -147,12 +178,79 @@
"move-window down"
)
+;; Somehow, "Down" starts registering as "RET" on some cases.
+(define-key
+ *root-map*
+ (kbd "RET")
+ "move-focus down"
+)
+
+(define-key
+ *root-map*
+ (kbd "C-2")
+ "move-window down"
+)
+
(define-key
*root-map*
(kbd "C-Right")
"move-window right"
)
+(define-key
+ *root-map*
+ (kbd "C-h")
+ "move-window left"
+)
+
+(define-key
+ *root-map*
+ (kbd "C-j")
+ "move-window down"
+)
+
+(define-key
+ *root-map*
+ (kbd "C-k")
+ "move-window up"
+)
+
+(define-key
+ *root-map*
+ (kbd "C-l")
+ "move-window right"
+)
+
+(define-key
+ *root-map*
+ (kbd "L")
+ "redisplay"
+)
+
+(define-key
+ *root-map*
+ (kbd "h")
+ "move-focus left"
+)
+
+(define-key
+ *root-map*
+ (kbd "j")
+ "move-focus down"
+)
+
+(define-key
+ *root-map*
+ (kbd "k")
+ "move-focus up"
+)
+
+(define-key
+ *root-map*
+ (kbd "l")
+ "move-focus right"
+)
+
(setf *window-border-style*
:thin)
@@ -203,7 +301,7 @@
"exec arandr")
(define-key *root-map*
- (kbd "h")
+ (kbd "p")
"exec urxvtc -e htop")
(define-key *root-map*
@@ -222,6 +320,16 @@
(kbd "F5")
"exec redshift -O 2500")
+(define-key *root-map*
+ (kbd "XF86Back")
+ "exec redshift -x"
+)
+
+(define-key *root-map*
+ (kbd "XF86Forward")
+ "exec redshift -O 2500"
+)
+
;; Audio stuff
(define-key *root-map*
(kbd "F9")
@@ -243,21 +351,25 @@
(kbd "XF86AudioMute")
"exec amixer -c 0 set Master toggle")
-(define-key *root-map*
- (kbd "XF86AudioLowerVolume")
- "exec urxvtc -e alsamixer")
+(define-key *top-map*
+ (kbd "M-Right")
+ "exec amixer -q set Master 5%+"
+)
-(define-key *root-map*
- (kbd "XF86AudioRaiseVolume")
- "exec urxvtc -e alsamixer")
+(define-key *top-map*
+ (kbd "M-Left")
+ "exec amixer -q set Master 5%-"
+)
-(define-key *root-map*
- (kbd "C-RET")
- "move-window down")
+(define-key *top-map*
+ (kbd "XF86AudioLowerVolume")
+ "exec amixer -q set Master 5%-"
+)
-(define-key *root-map*
- (kbd "RET")
- "move-focus down")
+(define-key *top-map*
+ (kbd "XF86AudioRaiseVolume")
+ "exec amixer -q set Master 5%+"
+)
;; do some goodies at startup
(run-shell-command "/vault/script/nsensfel_startup.sh")