From 5fca56c6cbf5b4442470807c9e599a3d179e51c3 Mon Sep 17 00:00:00 2001 From: dx Date: Tue, 12 May 2020 23:08:12 +0100 Subject: +xmodmap and xinitrc Theses are the files that dictate the startx routine. I don't use a login manager as I don't need one. The last statement in xinitrc represents the wm I'm using. Xmodmap maps the caps lock to hyper, which I can use as an extra layer system for sxhkdrc, allowing even more key combinations. --- XServer/.xinitrc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 XServer/.xinitrc (limited to 'XServer/.xinitrc') diff --git a/XServer/.xinitrc b/XServer/.xinitrc new file mode 100644 index 0000000..15e806c --- /dev/null +++ b/XServer/.xinitrc @@ -0,0 +1,14 @@ +#!/bin/sh + +setxkbmap gb -option shift:both_capslock -option caps:none; +xmodmap ~/.Xmodmap; +systemctl --user restart emacs; + +xss-lock --transfer-sleep-lock -- i3lock -n -f -e -i $HOME/Pictures/Lockscreens/milkyway.png -c 555555 & +feh --randomize --bg-scale $HOME/Pictures/Backgrounds & +picom & + +while true; do + $HOME/.local/scripts/reboot_services & + ssh-agent dwm || break +done -- cgit v1.2.3-13-gbd6f