From 2a6802cba40a701b9c4f92b7ea8734e73e066575 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Thu, 22 Dec 2022 14:33:56 +0100 Subject: General bug fixes and improvements. --- init.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'init.scm') 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 -- cgit v1.2.3