Fix font in urxvt

This commit is contained in:
davidovski 2023-03-01 00:07:40 +00:00
parent 8c1786d852
commit 1e137b842f
4 changed files with 19 additions and 11 deletions

View file

@ -1,5 +1,8 @@
#define FG #fefefe
#define BG #191919
#define font1 xft:mononoki:minispace=False:size=10:antialias=true
#define font2 xft:MesloLGM Nerd Font Mono:minispace=False:size=10
#define font3 xft:Noto Sans Mono CJK TC:minispace=False:size=10
*.foreground: FG
URxvt.background: BG
URxvt.borderColor: BG
@ -40,10 +43,10 @@ URxvt.borderColor: BG
! Set depth to make transparency work.
URxvt*depth: 32
URxvt.font: xft:mononoki:minispace=False:size=10:antialias=true,xft:MesloLGM Nerd Font:minispace=False:size=10,Noto Sans Mono CJK TC:minispace=False:size=10
URxvt.boldFont: xft:mononoki:minispace=False:style=bold:size=10,xft:MesloLGM Nerd Font:minispace=False:size=10,Noto Sans Mono CJK TC:minispace=False:size=10
URxvt.italicFont: xft:mononoki:minispace=False:style=italic:size=10
URxvt.boldItalicfont: xft:mononoki:minispace=False:style=bolditalic:size=10
URxvt.font: font1,font2,font3
URxvt.boldFont: font1:style=bold,font2:style=bold,font3:style=bold
URxvt.italicFont:font1:style=italic,font2:style=italic,font3:style=italic
URxvt.boldItalicfont: font1:style=bolditalic,font2:style=bolditalic,font3:style=bolditalic
URxvt.letterSpace: 0
URxvt.lineSpace: -4
@ -69,7 +72,8 @@ Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintfull
URxvt.perl-ext-common: default,matcher,font-size,config-reload
URxvt.perl-ext-common: resize-font
URxvt.url-launcher: /usr/bin/xdg-open
URxvt.matcher.button: 1

View file

@ -289,8 +289,8 @@ blur-background-exclude = [
# `xrender` is the default one.
#
experimental-backends = true;
backend = "glx";
#backend = "xrender";
#backend = "glx";
backend = "xrender";
#backend = "xr_glx_hybrid";
@ -405,14 +405,14 @@ detect-client-leader = true
# has actually changed. Potentially degrades the performance, but might fix some artifacts.
# The opposing option is use-damage
#
# no-use-damage = false
use-damage = true
no-use-damage = true
use-damage = false
# Use X Sync fence to sync clients' draw calls, to make sure all draw
# calls are finished before picom starts drawing. Needed on nvidia-drivers
# with GLX backend for some users.
#
xrender-sync-fence = true
#xrender-sync-fence = true
# GLX backend: Use specified GLSL fragment shader for rendering window contents.
# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl`

View file

@ -81,6 +81,10 @@ load () {
cp -r icons/* $HOME/.local/share/icons/
cp .local/share/kaomoji ~/.local/share/
git clone https://github.com/simmel/urxvt-resize-font /tmp/urxvt-resize-font
mkdir -p ~/.urxvt/ext/
cp /tmp/urxvt-resize-font/resize-font ~/.urxvt/ext/
echo "Copied configurations!"
else

View file

@ -16,7 +16,7 @@ alias settabletscale="tablet 18 155 2 4:3"
alias gosumemory-default="sudo /home/david/.local/share/gosumemory/gosumemory -path /home/david/.local/share/osu-wine/OSU/Songs"
alias yta="yt-dlp --no-mtime --add-metadata --no-check-certificate -x -f bestaudio/best"
alias yta="yt-dlp --no-mtime --add-metadata --no-check-certificate --embed-thumbnail -x -f bestaudio/best"
alias suspend="i3lock-fancy -p -t ''; systemctl suspend"