diff options
author | davidovski <david@davidovski.xyz> | 2023-03-01 00:07:40 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-03-01 00:07:40 +0000 |
commit | 1e137b842f55e37484cf7df0e1fcf11af7280e61 (patch) | |
tree | afb42b83520719f7ae03c9b812fbacfbd558c31f | |
parent | 8c1786d852784591f55d04c29ec036e53bed2900 (diff) |
Fix font in urxvt
-rw-r--r-- | Xdefaults | 14 | ||||
-rw-r--r-- | config/picom/picom.conf | 10 | ||||
-rwxr-xr-x | deploy.sh | 4 | ||||
-rw-r--r-- | sh_aliases | 2 |
4 files changed, 19 insertions, 11 deletions
@@ -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 diff --git a/config/picom/picom.conf b/config/picom/picom.conf index 68d0f83..4407cc1 100644 --- a/config/picom/picom.conf +++ b/config/picom/picom.conf @@ -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` @@ -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 @@ -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" |