From b49d7ecfcb3689138245863bf2210407cdbac659 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Wed, 17 Nov 2021 21:44:48 +0100 Subject: [PATCH 1/4] [stumpwm] small refactoring --- stumpwm/stumpwmrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stumpwm/stumpwmrc b/stumpwm/stumpwmrc index 0059ba7..b44f8be 100644 --- a/stumpwm/stumpwmrc +++ b/stumpwm/stumpwmrc @@ -3,7 +3,7 @@ ;; StumpWM configuration file ;; ;; -;; 2016 - 2020 (c) Marcel Kapfer +;; 2016 - 2021 (c) Marcel Kapfer ;; MIT License (in-package :stumpwm) @@ -19,7 +19,7 @@ (defparameter *music-player* "spotify" "Stores the terminal emulator") ;; set correct module directory -(set-module-dir "~/.stumpwm.d/contrib") +(set-module-dir "~/.stumpwm.d/modules") ;; creating or rename groups (setf (group-name (first (screen-groups (current-screen)))) "web") From 70aec1cfa279deb5a155167cc012380777e07002 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Wed, 17 Nov 2021 21:45:12 +0100 Subject: [PATCH 2/4] [stumpwm] Re-enable ttf-fonts --- stumpwm/stumpwmrc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/stumpwm/stumpwmrc b/stumpwm/stumpwmrc index b44f8be..134096c 100644 --- a/stumpwm/stumpwmrc +++ b/stumpwm/stumpwmrc @@ -333,9 +333,8 @@ script." (define-key *root-map* (kbd "l") "switch-screen-layout") ;; font configuration -;; Currently disabled since the ttf-fonts module no longer works -;; (load-module "ttf-fonts") -;; (set-font (make-instance 'xft:font :family "Hack" :subfamily "Regular" :size 10)) +(load-module "ttf-fonts") +(set-font (make-instance 'xft:font :family "JetBrains Mono" :subfamily "Regular" :size 12)) ;; window placement rules (define-frame-preference "winkel" From fd9f139e70d24c0ebd51c92130cacbb21028cb4e Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Wed, 17 Nov 2021 21:45:26 +0100 Subject: [PATCH 3/4] [stumpwm] Switch from compton to picom --- stumpwm/stumpwmrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stumpwm/stumpwmrc b/stumpwm/stumpwmrc index 134096c..e9f5a42 100644 --- a/stumpwm/stumpwmrc +++ b/stumpwm/stumpwmrc @@ -164,7 +164,7 @@ (run-shell-command "~/.fehbg") ;; start compton (compositor) -(run-shell-command "compton --config ~/.config/compton.conf") +(run-shell-command "picom -b") ;; start mode line (if (not (head-mode-line (current-head))) From 4f015d68256b3480ebdb434f2610115204a5cb9e Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Wed, 17 Nov 2021 21:45:40 +0100 Subject: [PATCH 4/4] [stumpwm] switch prefix key to C-q was default (C-t) --- stumpwm/stumpwmrc | 1 + 1 file changed, 1 insertion(+) diff --git a/stumpwm/stumpwmrc b/stumpwm/stumpwmrc index e9f5a42..96dd4c8 100644 --- a/stumpwm/stumpwmrc +++ b/stumpwm/stumpwmrc @@ -89,6 +89,7 @@ *group-format* "%t") ;; root keybindings +(set-prefix-key (kbd "C-q")) ;; Application keybindings (define-key *root-map* (kbd "W") (concatenate 'string "exec " *web-browser*))