From 73c32a7b2c4d0b93a02348bdcf96f009667bfc55 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Tue, 10 Feb 2026 13:11:39 +0800 Subject: [PATCH] rosenthal: Set foot TERMINFO in skeletons and fix ckbcomp path in set-keymap script. Change to set-keymap script is a follow-up to commit 2468773dd27c7deb8e982094ee3de0dcc50160d0. * modules/rosenthal/examples/foot/foot.ini: New file. * modules/rosenthal/services/desktop.scm (%rosenthal-skeletons): Use it. (%rosenthal-set-keymap-script): Fix ckbcomp path. --- modules/rosenthal/examples/foot/foot.ini | 4 ++++ modules/rosenthal/services/desktop.scm | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 modules/rosenthal/examples/foot/foot.ini diff --git a/modules/rosenthal/examples/foot/foot.ini b/modules/rosenthal/examples/foot/foot.ini new file mode 100644 index 0000000..ffbd880 --- /dev/null +++ b/modules/rosenthal/examples/foot/foot.ini @@ -0,0 +1,4 @@ +font=monospace:size=12 + +[environment] +TERM=xterm-256color diff --git a/modules/rosenthal/services/desktop.scm b/modules/rosenthal/services/desktop.scm index 6c79b21..c5f7722 100644 --- a/modules/rosenthal/services/desktop.scm +++ b/modules/rosenthal/services/desktop.scm @@ -540,7 +540,7 @@ gtk-key-theme-name = ~a~%" (define* (build-keyboard-layout file layout #:optional variant #:key model options) (define pipe (apply open-pipe* OPEN_READ - #$(file-append console-setup) + #$(file-append console-setup "/bin/ckbcomp") (string-append "-I" #$xkeyboard-config "/share/X11/xkb") "-rules" "base" `(,@(if model @@ -649,7 +649,7 @@ set-keymap us dvorak -o ctrl:nocaps\n") ,(local-file "../examples/emacs/init-miscellaneous.el")) (".config/foot/foot.ini" - ,(plain-file "foot.ini" "font=monospace:size=12\n")) + ,(local-file "../examples/foot/foot.ini")) (".config/mako/config" ,(local-file "../examples/mako.conf")) (".config/niri/config.kdl"