commit f217816694aaa495dcc2751eed27578cd9af5e4d
parent a692408bc73b2152e9972c2c36e96603e697fafc
Author: jacobs-github <JacobDoesLinux@protonmail.com>
Date: Tue, 25 Feb 2020 18:08:38 -0800
added desktop/laptop variable
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/profile/.profile b/profile/.profile
@@ -9,6 +9,13 @@ export COMPOSITOR='xcompmgr'
export PAGER='less'
export LOCKER='slock'
+# set platform variable
+if [ "$( hostname )" = 'nzxt' ]; then
+ export PLATFORM='desktop'
+else
+ export PLATFORM='laptop'
+fi
+
# variables for my scripts
export WALLPAPERS="$HOME/wallpapers"
export DATAHOME="$HOME/data"