diff --git a/.xprofile b/.xprofile index 309a3c2..52758d9 100644 --- a/.xprofile +++ b/.xprofile @@ -18,13 +18,16 @@ export EDITOR=nano export GTK_THEME=Adwaita:dark # execute this stuff only one time -scriptExecutedOne=$(cat $HOME/.xprofile | tail -n 1) -if [ "$scriptExecutedOne" != "#scriptExecuted" ]; then +scriptExecutedOnce=$(cat $HOME/.xprofile | tail -n 1) +if [ "$scriptExecutedOnce" != "#scriptExecuted" ]; then # execute script to replace the user and hostname in some config files sh $HOME/Scripts/renameHomeDirInConfigs.sh # set dark theme for gkt4 apps, userspace gsettings set org.gnome.desktop.interface color-scheme prefer-dark # writes #scriptExecuted at the end of this files echo "#scriptExecuted" >> $HOME/.xprofile + # make scripts executeable + chmod +x $HOME/Scripts/* + # force 1080p xrandr -s 1920x1080 fi