aboutsummaryrefslogtreecommitdiff
path: root/XServer
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-05-31 01:00:35 +0100
committerdx <aryadevchavali1@gmail.com>2020-05-31 01:00:35 +0100
commit8b141a9c07f569bb490b80c985e5585b2de5e197 (patch)
tree922e7a9374544f1df8aec5159dff974cc56f31a2 /XServer
parent54f6140857b0ff751084d4d344c22c0451fd5ba5 (diff)
downloaddotfiles-8b141a9c07f569bb490b80c985e5585b2de5e197.tar.gz
dotfiles-8b141a9c07f569bb490b80c985e5585b2de5e197.tar.bz2
dotfiles-8b141a9c07f569bb490b80c985e5585b2de5e197.zip
+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.
Diffstat (limited to 'XServer')
-rw-r--r--XServer/.xinitrc4
-rw-r--r--XServer/.xprofile3
2 files changed, 4 insertions, 3 deletions
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;