Skip to content

Commit

Permalink
(x11) Increase DPI and globally decrease font size
Browse files Browse the repository at this point in the history
  • Loading branch information
danguita committed Jan 12, 2024
1 parent 344b4c7 commit fc428db
Show file tree
Hide file tree
Showing 5 changed files with 6 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: 120
Xft.dpi: 144

! xterm
xterm.vt100.faceName: monospace:size=12:antialias=true:autohint=true
xterm.vt100.faceName: monospace:size=10:antialias=true:autohint=true
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=12"
j4-dmenu-desktop --dmenu="dmenu -i -fn monospace:size=10"
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=12 -p 'Emoji: ' | bash $0 copy
bash $0 list | dmenu -i -fn monospace:size=10 -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=12 -i -p "Open URL:" |
dmenu -fn monospace:size=10 -i -p "Open URL:" |
xargs xdg-open
2 changes: 1 addition & 1 deletion config/dunst/dunstrc
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@

### Text ###

font = monospace 12
font = monospace 10

# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
Expand Down

0 comments on commit fc428db

Please sign in to comment.