Add xinitrc qt scaling and keybinds, update packages

This commit is contained in:
Riyyi
2018-03-19 14:44:38 +01:00
parent 4faf5c566e
commit 0bdf428739
2 changed files with 17 additions and 2 deletions
+15
View File
@@ -2,6 +2,10 @@
xrdb "$XDG_CONFIG_HOME/xorg/Xresources"
# Qt application scaling
export QT_AUTO_SCREEN_SCALE_FACTOR=0
export QT_SCREEN_SCALE_FACTORS=2
# GTK application scaling
export GDK_SCALE=2
export GDK_DPI_SCALE=0.5
@@ -10,4 +14,15 @@ export GDK_DPI_SCALE=0.5
xset s off
xset -dpms
## Custom keybinds
# Clear all mappings
setxkbmap -option ''
# Make CapsLock behave like Ctrl
setxkbmap -option ctrl:nocaps
# Make short-pressed Ctrl behave like Escape
xcape -e 'Control_L=Escape'
exec i3