You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
465 B
28 lines
465 B
#!/bin/sh |
|
|
|
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 |
|
|
|
# Screensaver |
|
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
|
|
|