From 9a2a4822c28fc405ee1a86b8b7e8048d1c4b969f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= Date: Wed, 28 Jan 2026 11:16:38 +0100 Subject: [PATCH] zutty: add xresources --- xsession/.Xresources | 44 ++++++++++++++++++++++++++++++++++++ xsession/.xsession | 2 +- xsession/bin/lupan-set-theme | 2 +- 3 files changed, 46 insertions(+), 2 deletions(-) diff --git a/xsession/.Xresources b/xsession/.Xresources index 75eef15..d3623ed 100644 --- a/xsession/.Xresources +++ b/xsession/.Xresources @@ -61,6 +61,10 @@ st.font: FiraCode Nerd Font:size=10 ! kanagawa wave colors from https://github.com/rebelot/kanagawa.nvim/blob/master/extras/alacritty/kanagawa_wave.toml ! dayfox colors from https://github.com/edeneast/nightfox.nvim/raw/main/extra/dayfox/alacritty.toml +Zutty.font: monaspaceneon +Zutty.fontpath: /usr/share/fonts:HOME/.local/share/fonts +Zutty.fontsize: 20 + #ifdef THEME_DARK st.lightmode: 0 st.background: #1f1f28 @@ -83,6 +87,26 @@ st.color12: #7fb4ca st.color13: #938aa9 st.color14: #7aa89f st.color15: #dcd7ba + +Zutty.bg: #1f1f28 +Zutty.fg: #dcd7ba +Zutty.cr: #cbd9d8 +Zutty.color0: #090618 +Zutty.color1: #c34043 +Zutty.color2: #76946a +Zutty.color3: #c0a36e +Zutty.color4: #7e9cd8 +Zutty.color5: #957fb8 +Zutty.color6: #6a9589 +Zutty.color7: #c8c093 +Zutty.color8: #727169 +Zutty.color9: #e82424 +Zutty.color10: #98bb6c +Zutty.color11: #e6c384 +Zutty.color12: #7fb4ca +Zutty.color13: #938aa9 +Zutty.color14: #7aa89f +Zutty.color15: #dcd7ba #else st.lightmode: 1 st.background: #f6f2ee @@ -105,4 +129,24 @@ st.color12: #4863b6 st.color13: #8452d5 st.color14: #488d93 st.color15: #f4ece6 + +Zutty.bg: #f6f2ee +Zutty.fg: #3d2b5a +Zutty.cr: #643f61 +Zutty.color0: #352c24 +Zutty.color1: #a5222f +Zutty.color2: #396847 +Zutty.color3: #ac5402 +Zutty.color4: #2848a9 +Zutty.color5: #6e33ce +Zutty.color6: #287980 +Zutty.color7: #f2e9e1 +Zutty.color8: #534c45 +Zutty.color9: #b3434e +Zutty.color10: #577f63 +Zutty.color11: #b86e28 +Zutty.color12: #4863b6 +Zutty.color13: #8452d5 +Zutty.color14: #488d93 +Zutty.color15: #f4ece6 #endif diff --git a/xsession/.xsession b/xsession/.xsession index eee7e7f..fe91d51 100755 --- a/xsession/.xsession +++ b/xsession/.xsession @@ -8,7 +8,7 @@ xset b off xrandr --auto xrandr --output DP-0 --left-of DP-2 --primary xrandr --output HDMI-0 --left-of DP-0 -xrdb -merge ~/.Xresources +xrdb -merge ~/.Xresources -DHOME="$HOME" setxkbmap pl -option ctrl:nocaps if [ -x ~/.fehbg ]; then diff --git a/xsession/bin/lupan-set-theme b/xsession/bin/lupan-set-theme index 85c83df..40d2943 100755 --- a/xsession/bin/lupan-set-theme +++ b/xsession/bin/lupan-set-theme @@ -30,7 +30,7 @@ if [ -n "$XRES" ]; then elif [ "$THEME" = light ]; then sed -i 's/^#define THEME_DARK/#undef THEME_DARK/' "$XRES" fi - xrdb -merge "$XRES" + xrdb -merge "$XRES" -DHOME="$HOME" pkill -USR1 '^st$' fi