From 8b141a9c07f569bb490b80c985e5585b2de5e197 Mon Sep 17 00:00:00 2001 From: dx Date: Sun, 31 May 2020 01:00:35 +0100 Subject: +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. --- XServer/.xinitrc | 4 +--- XServer/.xprofile | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 XServer/.xprofile (limited to 'XServer') diff --git a/XServer/.xinitrc b/XServer/.xinitrc index cc72050..62d849e 100644 --- a/XServer/.xinitrc +++ b/XServer/.xinitrc @@ -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 & diff --git a/XServer/.xprofile b/XServer/.xprofile new file mode 100644 index 0000000..777e080 --- /dev/null +++ b/XServer/.xprofile @@ -0,0 +1,3 @@ +#!/usr/bin/env sh +setxkbmap gb -option shift:both_capslock -option caps:none; +xmodmap ~/.Xmodmap; -- cgit v1.2.3-13-gbd6f