some hidpi tweaks

This commit is contained in:
Rick van Lieshout 2018-05-07 22:56:26 +02:00
parent fb4f5719d3
commit c76c1566d7
5 changed files with 9 additions and 2 deletions

View File

@ -57,6 +57,10 @@ alias cmyip='curl -s http://ipecho.net/plain; echo'
alias mkdir='mkdir -p'
alias wget='wget -c'
alias ls='ls --color=auto'
alias sudo='sudo '
# grub
alias update-grub='grub-mkconfig -o /boot/grub/grub.cfg'
## Functions

1
config/hidpi/environment Normal file
View File

@ -0,0 +1 @@
QT_AUTO_SCREEN_SCALE_FACTOR=1

View File

@ -96,8 +96,10 @@ function install_config {
}
function install_HiDPI {
ln -sf "$PWD"/config/xorg/xinitrc ~/.xinitrc
ln -sf "$PWD"/config/xorg/Xresources ~/.Xresources
ln -sf "$PWD"/config/hidpi/xorg/xinitrc ~/.xinitrc
ln -sf "$PWD"/config/hidpi/xorg/Xresources ~/.Xresources
sudo ln -sf "$PWD"/config/hidpi/environment /etc/environment
}
# Installs the dependencies on Arch Linux