From 6e5dc5decdb00befde51bcda475bde3f8c4fc1d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= Date: Sun, 31 May 2026 22:09:43 +0200 Subject: [PATCH] foot: update font and add dark and light colors --- foot/.config/foot/foot.ini | 60 ++++++++++++++++++++++++++++++++++-- xsession/bin/lupan-set-theme | 7 +++++ 2 files changed, 65 insertions(+), 2 deletions(-) diff --git a/foot/.config/foot/foot.ini b/foot/.config/foot/foot.ini index 206b700..534f16f 100644 --- a/foot/.config/foot/foot.ini +++ b/foot/.config/foot/foot.ini @@ -1,4 +1,60 @@ [main] -font = Fira Code Nerd Font:size=11 +font = HurmitNerdFont:size=10 +initial-color-theme = dark -include = /usr/share/foot/themes/nord +[colors-dark] +foreground = a29e98 +background = 272117 +cursor = 272117 73d0b1 +selection-foreground = 272117 +selection-background = 276c9a + +regular0 = 85919b +regular1 = c37583 +regular2 = 44a386 +regular3 = af8842 +regular4 = 5396c7 +regular5 = a57cba +regular6 = 2da0ad +regular7 = b0bcc7 + +bright0 = 85919b +bright1 = f2a0ae +bright2 = 73d0b1 +bright3 = dcb46e +bright4 = 7fc3f5 +bright5 = d2a8e8 +bright6 = 62cdda +bright7 = a29e98 + +[colors-light] +foreground = 696257 +background = faf8f5 +cursor = faf8f5 7ad6b7 +selection-foreground = faf8f5 +selection-background = 3a7ead + +regular0 = 272117 +regular1 = d0818f +regular2 = 52af92 +regular3 = bc944f +regular4 = 60a3d4 +regular5 = b289c7 +regular6 = 3dadba +regular7 = b6c3cd + +bright0 = 919da7 +bright1 = 85c9fc +bright2 = 7ad6b7 +bright3 = e3ba74 +bright4 = 60a3d4 +bright5 = d9aeee +bright6 = 85c9fc +bright7 = faf8f5 + +[key-bindings] +color-theme-toggle = Control+Shift+t +primary-paste = Shift+Insert Control+Shift+i + +[search-bindings] +primary-paste = Shift+Insert Control+Shift+i diff --git a/xsession/bin/lupan-set-theme b/xsession/bin/lupan-set-theme index f314db8..b7abfe2 100755 --- a/xsession/bin/lupan-set-theme +++ b/xsession/bin/lupan-set-theme @@ -44,12 +44,19 @@ if [ -f "$ATOML" ]; then sed -i "s#^import =.*#import = [\"~/.config/alacritty/$THEME.toml\"]#" "$ATOML" fi +# Kitty if [ "$THEME" = dark ]; then kitten themes --reload-in=all 'five-colors-dark' elif [ "$THEME" = light ]; then kitten themes --reload-in=all 'five-colors-light' fi +# Foot +FOOT=$(readlink -e ~/.config/foot/foot.ini) +if [ -n "$FOOT" ]; then + sed -i "s/^initial-color-theme .*/initial-color-theme = $THEME/" "$FOOT" +fi + # GTK XSET=$(readlink -e ~/.config/xsettingsd/xsettingsd.conf) if [ -n "$XSET" ]; then