[xprofile] Add xprofile
This commit is contained in:
parent
6a8f661c95
commit
ad65301bf9
1 changed files with 18 additions and 0 deletions
18
x/xprofile
Executable file
18
x/xprofile
Executable 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
|
Loading…
Reference in a new issue