Skip to content

Commit

Permalink
(x11) Configure fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
danguita committed Mar 27, 2024
1 parent c0885d5 commit ea3ebc1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Xresources
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
! 125%: 96*1.25 = 120
! 150%: 96*1.5 = 144
! 200%: 96*2.0 = 192
Xft.dpi: 144
Xft.dpi: 120

! xterm
xterm.vt100.faceName: monospace:size=10:antialias=true:autohint=true
xterm.vt100.faceName: monospace:size=10:antialias=false
xterm.vt100.eightBitInput: false
xterm.vt100.reverseVideo: true
xterm.vt100.printerCommand: select-url
Expand Down
2 changes: 1 addition & 1 deletion bin/dmenu-desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

set -e

j4-dmenu-desktop --dmenu="dmenu -i -fn monospace:size=10"
j4-dmenu-desktop --dmenu="dmenu -i -fn monospace:size=10:antialias=false"
2 changes: 1 addition & 1 deletion bin/emoji-selector
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ case "$1" in
fi
;;
"")
bash $0 list | dmenu -i -fn monospace:size=10 -p 'Emoji: ' | bash $0 copy
bash $0 list | dmenu -i -fn "monospace:size=10:antialias=false" -p 'Emoji: ' | bash $0 copy
;;
esac

Expand Down
2 changes: 1 addition & 1 deletion bin/select-url
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@

grep -Eo '\bhttps?://\S+\b' |
uniq |
dmenu -fn monospace:size=10 -i -p "Open URL:" |
dmenu -fn "monospace:size=10:antialias=false" -i -p "Open URL:" |
xargs xdg-open
1 change: 0 additions & 1 deletion config/fontconfig/conf.d/99-font-aliases.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<alias>
<family>monospace</family>
<prefer>
<family>Liberation Mono</family>
<family>DejaVu Sans Mono</family>
</prefer>
</alias>
Expand Down

0 comments on commit ea3ebc1

Please sign in to comment.