zutty: add xresources
This commit is contained in:
@@ -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
|
! 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
|
! 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
|
#ifdef THEME_DARK
|
||||||
st.lightmode: 0
|
st.lightmode: 0
|
||||||
st.background: #1f1f28
|
st.background: #1f1f28
|
||||||
@@ -83,6 +87,26 @@ st.color12: #7fb4ca
|
|||||||
st.color13: #938aa9
|
st.color13: #938aa9
|
||||||
st.color14: #7aa89f
|
st.color14: #7aa89f
|
||||||
st.color15: #dcd7ba
|
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
|
#else
|
||||||
st.lightmode: 1
|
st.lightmode: 1
|
||||||
st.background: #f6f2ee
|
st.background: #f6f2ee
|
||||||
@@ -105,4 +129,24 @@ st.color12: #4863b6
|
|||||||
st.color13: #8452d5
|
st.color13: #8452d5
|
||||||
st.color14: #488d93
|
st.color14: #488d93
|
||||||
st.color15: #f4ece6
|
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
|
#endif
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ xset b off
|
|||||||
xrandr --auto
|
xrandr --auto
|
||||||
xrandr --output DP-0 --left-of DP-2 --primary
|
xrandr --output DP-0 --left-of DP-2 --primary
|
||||||
xrandr --output HDMI-0 --left-of DP-0
|
xrandr --output HDMI-0 --left-of DP-0
|
||||||
xrdb -merge ~/.Xresources
|
xrdb -merge ~/.Xresources -DHOME="$HOME"
|
||||||
setxkbmap pl -option ctrl:nocaps
|
setxkbmap pl -option ctrl:nocaps
|
||||||
|
|
||||||
if [ -x ~/.fehbg ]; then
|
if [ -x ~/.fehbg ]; then
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ if [ -n "$XRES" ]; then
|
|||||||
elif [ "$THEME" = light ]; then
|
elif [ "$THEME" = light ]; then
|
||||||
sed -i 's/^#define THEME_DARK/#undef THEME_DARK/' "$XRES"
|
sed -i 's/^#define THEME_DARK/#undef THEME_DARK/' "$XRES"
|
||||||
fi
|
fi
|
||||||
xrdb -merge "$XRES"
|
xrdb -merge "$XRES" -DHOME="$HOME"
|
||||||
pkill -USR1 '^st$'
|
pkill -USR1 '^st$'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user