+xprofile file for the xmodmap and setxkbmap

When switching keyboards, these aren't applied. So I want a separate
script to run such that when I do switch keyboards I can just run it to
reapply these crucial settings.
This commit is contained in:
dx
2020-05-31 01:00:35 +01:00
parent 54f6140857
commit 8b141a9c07
2 changed files with 4 additions and 3 deletions

View File

@@ -1,8 +1,6 @@
#!/bin/sh
setxkbmap gb -option shift:both_capslock -option caps:none;
xmodmap ~/.Xmodmap;
sh .xprofile;
systemctl start --user emacs &
$(xss-lock --transfer-sleep-lock -- lock) &
feh --randomize --bg-scale $HOME/Pictures/Backgrounds &

3
XServer/.xprofile Normal file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env sh
setxkbmap gb -option shift:both_capslock -option caps:none;
xmodmap ~/.Xmodmap;