HiDPI and fonts

This commit is contained in:
2021-05-16 12:43:18 +01:00
parent eaa1f41744
commit 63b0af4617
11 changed files with 32 additions and 18 deletions

View File

@@ -3,8 +3,16 @@
# This file runs when a DM logs you into a graphical session.
# If you use startx/xinit, this file will also be sourced.
# xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources & # Use Xresources colors/settings on startup
setbg & # set the background
xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources # Use Xresources colors/settings on startup
if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/.DPI" ]; then
DPI="$(cat "${XDG_CONFIG_HOME:-$HOME/.config}/x11/.DPI")"
echo "Xft.dpi: $DPI" | xrdb -merge
xrandr --dpi "$DPI"
fi
setbg ~/Scarif/Pictures/Wallpapers/Dual\ 4K & # set the background
enpass & # start password manager
xcompmgr & # xcompmgr for transparency
dunst & # dunst for notifications
xset r rate 300 50 & # Speed xrate up