#!/bin/sh if xrandr | grep -q '^DP-2-[1-3] connected'; then echo switching to profile homeoffice ~/.screenlayout/homeoffice.sh elif xrandr | grep -q '^DP-[1-2] connected'; then echo switching to profile homeoffice_jenny ~/.screenlayout/homeoffice_jenny.sh else echo switching to profile laptop_only ~/.screenlayout/laptop_only.sh fi #if xrandr | grep -q 'DP-2-2 connected'; then # ~/.screenlayout/workplace_withlaptop.sh #else # ~/.screenlayout/laptop_only.sh #fi # Set keyboard layout setxkbmap us altgr-intl # Remap Context Menu key to Super xmodmap -e "keysym Menu = Super_R"