Browse Source

[TASK] update xprofile

master
drdickgind 7 months ago
parent
commit
d33ed9f62c
  1. 7
      .xprofile

7
.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

Loading…
Cancel
Save