commit 0fc9898abc68346705c49bed388750e691f83991 parent aa26904bc92ba8fc5b1f29a74f27170f42f2732c Author: pyratebeard <root@pyratebeard.net> Date: Fri, 26 May 2023 17:34:52 +0100 add LANG for urxvt Diffstat:
M | bin/bin/mario | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/bin/mario b/bin/bin/mario @@ -18,15 +18,15 @@ iso_type() { vimify() { timestamp=$(date +%s) curl -L -o /tmp/mario-${timestamp} "${1}" - urxvt -cd /home/pyratebeard -hold -e vim -u ~/tmp/mario.vimrc /tmp/mario-${timestamp} - #rm -f /tmp/mario-${timestamp} + LANG=en_US.UTF-8 urxvt -cd /home/pyratebeard -hold -e vim /tmp/mario-${timestamp} + rm -f /tmp/mario-${timestamp} } plumbit() { case ${filetype} in JPEG|PNG|GIF) /home/pyratebeard/bin/webimg "${url}" ;; Audio|WebM) /usr/bin/mpv "${url}" ;; - POSIX) urxvtc -hold -e curl -s ${url} ;; + POSIX) LANG=en_US.UTF-8 urxvt -hold -e curl -s ${url} ;; ISO) iso_type ;; HTML|XML) qutebrowser "${url}" ;; Unicode|Bourne-Again|ASCII|C|Python) vimify "${url}" ;;