diff options
| author | tslil clingman <> | 2021-03-03 10:38:42 -0500 |
|---|---|---|
| committer | tslil clingman <> | 2021-03-03 10:38:42 -0500 |
| commit | 6df8edee472dbdcc67b7eb7d423d518f3e401563 (patch) | |
| tree | 8b93a567d58d22ae76c1578f09e7e7da0882ad0a /qubes-dwm-6.2/autostart | |
| parent | 1adae202f53b0c49e957b9c0a840b81e9361c776 (diff) | |
I want AltGr but no dead keys on my USB keyboards
Diffstat (limited to 'qubes-dwm-6.2/autostart')
| -rwxr-xr-x | qubes-dwm-6.2/autostart/autostart_blocking.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/qubes-dwm-6.2/autostart/autostart_blocking.sh b/qubes-dwm-6.2/autostart/autostart_blocking.sh index 2b723b8..903f27e 100755 --- a/qubes-dwm-6.2/autostart/autostart_blocking.sh +++ b/qubes-dwm-6.2/autostart/autostart_blocking.sh @@ -1,11 +1,11 @@ #!/bin/sh if [ -n "$(qvm-usb | grep tslil_clingman_dactyl_manuform_mini_0)" ]; then - # If my USB keyboard is detected, don't mangle the layout - setxkbmap -layout us -option caps:ctrl_modifier,terminate:ctrl_alt_bksp + # If my USB keyboard is detected, don't mangle the layout + setxkbmap -layout us -variant altgr-intl -option caps:ctrl_modifier,terminate:ctrl_alt_bksp,nodeadkeys else - # Otherwise set the layout for the built-in keyboard - setxkbmap -model pc104curl-z -layout us -variant cmk_ed_dh -option caps:ctrl_modifier,terminate:ctrl_alt_bksp + # Otherwise set the layout for the built-in keyboard + setxkbmap -model pc104curl-z -layout us -variant cmk_ed_dh -option caps:ctrl_modifier,terminate:ctrl_alt_bksp fi # In a better world we could use something like # internal_keyboard=$(xinput -list | grep 'AT Translated' | sed 's/^.*id=\([0-9]*\).*$/\1/') @@ -16,13 +16,13 @@ fi # would occassionaly cause the RAM to fail. This is fixed, but i might as # well keep the following around. if [ "$(xl info | awk '/total_memory/ { print $3 }')" -lt "16148" ]; then - notify-send -u critical "RAM malfunction" + notify-send -u critical "RAM malfunction" fi; # FHD mod! Thanks nitrocaster for your hard work, and the coreboot community # for the patch that disconnects the internal LVDS. if [ -n "$(xrandr | grep 'VGA1 connected')" ]; then - xrandr --output eDP --auto --output VGA1 --left-of eDP --auto + xrandr --output eDP --auto --output VGA1 --left-of eDP --auto fi exec xdg_autostart |
