Fix key remaps

This commit is contained in:
Augusto Gunsch 2021-08-13 14:55:27 -03:00
parent 6dcc6899a2
commit 0f5c0a3953
No known key found for this signature in database
GPG Key ID: F7EEFE29825C72DC
3 changed files with 13 additions and 7 deletions

View File

@ -1,6 +1,2 @@
! Use win key as compose
keycode 133 = Multi_key Multi_key
! Turn caps lock into escape
clear lock
keycode 66 = Escape Caps_Lock
remove control = Control_R
keysym Control_R = dead_greek

View File

@ -1,5 +1,5 @@
xset s off -dpms
xmodmap ~/.Xmodmap
customkeys
xdg-mime default mupdf.desktop application/pdf
xdg-mime default feh.desktop image/png
xdg-mime default feh.desktop image/jpg

10
local/bin/customkeys Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
# Compose key: windows key
setxkbmap -option compose:lwin
# Caps turned into escape
setxkbmap -option caps:escape_shifted_capslock
# dead_greek as control right
xmodmap ~/.Xmodmap