[xprofile] Add xprofile

This commit is contained in:
Marcel Kapfer 2021-03-15 10:15:03 +01:00
parent 6a8f661c95
commit ad65301bf9
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

18
x/xprofile Executable file
View file

@ -0,0 +1,18 @@
#!/bin/sh
######################################
### Additional X Environment variables
######################################
export QT_QPA_PLATFORMTHEME=qt5ct
##################################
### Adjust for multi-monitor setup
##################################
extern="HDMI-1"
intern="eDP-1"
if xrandr | grep "$extern connected"; then
xrandr --output "$extern" --auto --primary --left-of "$intern"
fi