From d33ed9f62cb060b05269fcd218ef631f4f1cb2b5 Mon Sep 17 00:00:00 2001 From: drdickgind Date: Sun, 26 May 2024 01:28:02 +0200 Subject: [PATCH] [TASK] update xprofile --- .xprofile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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