~geb/tiles

ede7a205b1877748a40881de91dfb5209f5a9656 — John Gebbie 2 months ago 342b31e
urxvt: use monospace and support changing the size
4 files changed, 7 insertions(+), 3 deletions(-)

M PACKAGES
M bin/tiles-terminal
M doc/tiles.7.scd
M etc/xresources
M PACKAGES => PACKAGES +0 -1
@@ 14,7 14,6 @@ xclip  # used for copy/paste related things
# TERMINAL EMULATOR
rxvt-unicode
urxvt-perls  # enables selecting text with the keyboard
font-bh-ttf  # has the Luxi Mono font

# WEB BROWSER
qutebrowser

M bin/tiles-terminal => bin/tiles-terminal +3 -1
@@ 1,2 1,4 @@
#!/bin/sh
XENVIRONMENT=/etc/tiles/xresources exec urxvt "$@"
fontsize=$((TILES_TERMINAL_FONT_SIZE))
[ "$fontsize" = 0 ] && fontsize=14
XENVIRONMENT=/etc/tiles/xresources exec urxvt -fn "xft:monospace:size=$fontsize" "$@"

M doc/tiles.7.scd => doc/tiles.7.scd +4 -0
@@ 208,6 208,10 @@ is *picom*.
your desktops, if you are using the default *bspwm* setup.  It is run each
time you focus a desktop.  The default is */usr/libexec/tiles/wallpaper*.

## TILES-TERMINAL

The environment variable *TILES_TERMINAL_FONT_SIZE* changes the font size.

## TILES-BROWSER

*tiles-browser* sources any additional config files ending with *.py*

M etc/xresources => etc/xresources +0 -1
@@ 1,4 1,3 @@
URxvt.font: xft:Luxi Mono
URxvt.scrollBar: false
URxvt.internalBorder: 5
URxvt.background: #00000f