#!/bin/bash xrdb -merge /etc/X11/xinit/.Xresources xmodmap /etc/X11/xinit/.Xmodmap xrdb -merge "$HOME/.Xresources" xmodmap "$HOME/.Xmodmap" xrandr -o right if [ -d /etc/X11/xinit/xinitrc.d ] ; then for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do [ -x "$f" ] && . "$f" done unset f fi # https://unix.stackexchange.com/questions/613080/are-the-altctlfn-key-combinations-aka-srvrkeys-hardcoded-into-xorg exec systemd-inhibit --what=handle-power-key --who=i3 --why="interactive shutdown" i3