diff --git a/.config/xorg/xinitrc b/.config/xorg/xinitrc index 8f982f9..9225835 100644 --- a/.config/xorg/xinitrc +++ b/.config/xorg/xinitrc @@ -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 diff --git a/packages b/packages index 855f8d7..e91780f 100644 --- a/packages +++ b/packages @@ -8,7 +8,6 @@ checkbashisms chromium clang cower -cura dialog domoticz-git dos2unix @@ -18,6 +17,7 @@ feh ffmpegthumbnailer filezilla firefox +fritzing gedit git gnome-themes-standard @@ -97,8 +97,8 @@ wpa_actiond wpa_supplicant x86_energy_perf_policy xarchiver +xcape xdotool -xf86-video-intel xorg-server xorg-xbacklight xorg-xinit