Compare commits

...

4 Commits

Author SHA1 Message Date
Marcel Kapfer 4f015d6825
[stumpwm] switch prefix key to C-q
was default (C-t)
2021-11-17 21:45:40 +01:00
Marcel Kapfer fd9f139e70
[stumpwm] Switch from compton to picom 2021-11-17 21:45:26 +01:00
Marcel Kapfer 70aec1cfa2
[stumpwm] Re-enable ttf-fonts 2021-11-17 21:45:12 +01:00
Marcel Kapfer b49d7ecfcb
[stumpwm] small refactoring 2021-11-17 21:44:48 +01:00
1 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@
;; StumpWM configuration file
;; <https://stumpwm.github.io/>
;;
;; 2016 - 2020 (c) Marcel Kapfer <opensource@mmk2410.org>
;; 2016 - 2021 (c) Marcel Kapfer <opensource@mmk2410.org>
;; 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")
@ -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*))
@ -164,7 +165,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)))
@ -333,9 +334,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"