#!/bin/sh # To be run by the window manager or desktop environment when starting an X session xrdb ~/.Xresources pgrep -x picom || picom -b pgrep -x dunst || dunst & xset -b pgrep -x unclutter || unclutter --idle 1 & #touchpad.sh initialLayout.sh setInitialWP.sh pgrep -x sxhkd || sxhkd >~/logs/sxhkd.log & # Swap Escape and Caps except when Kyria keyboard is connected if lsusb | grep -Fq 'Kyria'; then setxkbmap -layout es else setxkbmap -layout es -option caps:swapescape fi