alias s="startx"
aur() {
- cd ~/usr/builds
+ cd ~/s
[ -d ${1} ] || git clone https://aur.archlinux.org/${1}.git
cd ${1}
}
rofi.monitor: -1
!rofi.lines: 10
-rofi.theme: ~/.guix-profile/share/rofi/themes/gruvbox-light-hard.rasi
+!rofi.theme: ~/.guix-profile/share/rofi/themes/gruvbox-light-hard.rasi
+rofi.theme: /usr/share/rofi/themes/gruvbox-light-hard.rasi
(other-window 1)))
(global-set-key (kbd "C-c w q") #'quit-window)
-(run-with-idle-timer 0.6 nil #'require 'windmove)
-(global-set-key (kbd "C-c w h") #'windmove-left)
-(global-set-key (kbd "C-c w j") #'windmove-down)
-(global-set-key (kbd "C-c w k") #'windmove-up)
-(global-set-key (kbd "C-c w l") #'windmove-right)
-(global-set-key (kbd "C-c w H") #'windmove-swap-states-left)
-(global-set-key (kbd "C-c w J") #'windmove-swap-states-down)
-(global-set-key (kbd "C-c w K") #'windmove-swap-states-up)
-(global-set-key (kbd "C-c w L") #'windmove-swap-states-right)
-
;; pass
;; (global-set-key (kbd "C-c a p") #'pass)
;; (add-hook 'pass-mode-hook #'View-exit)
(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)
default-cache-ttl-ssh 43200
max-cache-ttl-ssh 86400
-pinentry-program /home/bandali/.guix-profile/bin/pinentry-emacs
-allow-emacs-pinentry
-allow-loopback-pinentry
+# pinentry-program /home/bandali/.guix-profile/bin/pinentry-emacs
+# allow-emacs-pinentry
+# allow-loopback-pinentry
xset r rate 200 45
xset b off
-exec emacs -ib 0
+[ -x "$(command -v pasystray)" ] && pasystray -a &
+[ -x "$(command -v nm-applet)" ] && nm-applet &
+EDITOR=nano exec emacs -ib 0