;; shorten 'C-c C-q' to 'C-q'
(define-key exwm-mode-map [?\C-q] #'exwm-input-send-next-key)
-(csetq exwm-workspace-number 4
+(csetq exwm-workspace-number 10
exwm-input-global-keys
`(([?\s-R] . exwm-reset)
([?\s-\\] . exwm-workspace-switch)
(interactive)
(start-process-shell-command
"rofi-light" nil "rofi-light")))
- ([XF86AudioMute] .
+ ([XF86AudioMute] . ; borken on my X200 :-(
(lambda ()
(interactive)
- (start-process "" nil "amixer" "set" "'Master',0" "toggle")))
+ (start-process "" nil "pamixer" "--toggle-mute")))
+ ([XF86Launch1] .
+ (lambda ()
+ (interactive)
+ (start-process "" nil "pamixer" "--toggle-mute")))
+ ([\s-XF86Launch1] . ; toggle mic mute
+ (lambda ()
+ (interactive)
+ (start-process
+ "" nil "pamixer" "--default-source" "--toggle-mute")))
([XF86AudioLowerVolume] .
(lambda ()
(interactive)
(start-process
- "" nil "amixer" "set" "'Master',0" "5%-")))
+ "" nil "pamixer" "--allow-boost" "--decrease" "5")))
([XF86AudioRaiseVolume] .
(lambda ()
(interactive)
(start-process
- "" nil "amixer" "set" "'Master',0" "5%+")))
+ "" nil "pamixer" "--allow-boost" "--increase" "5")))
([XF86AudioPlay] .
(lambda ()
(interactive)
(lambda ()
(when exwm-class-name
(cond
- ((string= exwm-class-name "IceCat")
+ ((member exwm-class-name '("IceCat" "Iceweasel"))
(exwm-input-set-local-simulation-keys
`(,@exwm-input-simulation-keys
([?\C-\S-d] . [?\C-d]))))