summaryrefslogtreecommitdiff
path: root/init.scm
diff options
context:
space:
mode:
authorSamuel Fadel <samuel@nihil.ws>2022-12-22 14:33:56 +0100
committerSamuel Fadel <samuel@nihil.ws>2022-12-22 14:33:56 +0100
commit2a6802cba40a701b9c4f92b7ea8734e73e066575 (patch)
treeb312642783e63b6cc3904a67a6387d53d9b794d3 /init.scm
parent475f4dc3d514edef85633999809bb028aff01b97 (diff)
General bug fixes and improvements.
Diffstat (limited to 'init.scm')
-rw-r--r--init.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/init.scm b/init.scm
index b24432d..932b6d7 100644
--- a/init.scm
+++ b/init.scm
@@ -3,8 +3,8 @@
(define config
(make-config
;; Border sizes
- 2 ; inner-border-width
- 0 ; outer-border-width
+ 4 ; (total) border-width
+ 2 ; outer-border-width
16 ; magnet-border-width
;; Margins
0 ; offset-x
@@ -22,16 +22,17 @@
(define (make-callback proc . args)
(lambda () (apply proc args)))
-(define terminal-cmd "xterm")
+(define terminal-cmd "alacritty")
(define menu-raw-callback
- (make-callback wm-exec-cmd "bemenu" "-b" "-s" "-l" "10" "-p" ">>>"))
+ (make-callback wm-exec-cmd "bemenu-run" "-b" "-s" "-l" "10" "-p" ">>>"))
(define menu-callback
(make-callback
wm-exec-cmd
"j4-dmenu-desktop"
- "--dmenu=bemenu -b -i -s -l 10 -p >>>"
+ ;; >>> must be escaped as it is interpreted by a shell (according to bemenu docs)
+ "--dmenu=bemenu -b -i -s -l 10 -p \\>\\>\\>"
(string-append "--term=" terminal-cmd)))
(define wm-keybindings