You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
845 B
29 lines
845 B
2 years ago
|
#! /bin/sh
|
||
|
# ~/.xprofile: execute commands at the beginning of the X user
|
||
|
# session - before the window manager is started.
|
||
|
#
|
||
|
# The xprofile files are natively sourced by the following
|
||
|
# display managers:
|
||
|
#
|
||
|
# GDM - /etc/gdm/Xsession
|
||
|
# LightDM - /etc/lightdm/Xsession
|
||
|
# LXDM - /etc/lxdm/Xsession
|
||
|
# SDDM - /usr/share/sddm/scripts/Xsession
|
||
|
#
|
||
|
# More in https://wiki.archlinux.org/index.php/Autostarting
|
||
|
|
||
|
export QT_QPA_PLATFORMTHEME=qt5ct
|
||
|
export PATH="$HOME/Scripts:$PATH"
|
||
|
xrandr -s 1920x1080
|
||
|
|
||
|
scriptExecutedOne=$(cat $HOME/.xprofile | tail -n 1)
|
||
|
if [ "$scriptExecutedOne" != "#scriptExecuted" ]; then
|
||
|
sh $HOME/Scripts/renameHomeDirInConfigs.sh
|
||
|
echo "#scriptExecuted" >> $HOME/.xprofile
|
||
|
fi
|
||
|
|
||
|
# workaround compiz issue half vblank refresh rate
|
||
|
export vblank_mode=0
|
||
|
/usr/bin/compiz --replace &
|
||
|
unset vblank_mode
|