From 25081f9271a758b50e052dc565291b7225f78d06 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Fri, 4 Mar 2022 19:27:20 +0000 Subject: [PATCH] Set the Qt DPI when in GNOME --- roles/home-cli/files/bashrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/home-cli/files/bashrc b/roles/home-cli/files/bashrc index de9f7e7..7e19db3 100644 --- a/roles/home-cli/files/bashrc +++ b/roles/home-cli/files/bashrc @@ -78,6 +78,11 @@ then export EDITOR="/usr/bin/vim -f" fi +if [ ${XDG_CURRENT_DESKTOP:-unknown} == GNOME ] +then + export QT_FONT_DPI=72 +fi + shopt -s histappend bind '"\e[1;5C": forward-word' bind '"\e[1;5D": backward-word'