commit e629dec252162ca1d53584cdad725f08f3513055 parent afaf81bd3493285e24aa245ae315af4268dc5932 Author: jacobs-github <JacobDoesLinux@protonmail.com> Date: Thu, 27 Feb 2020 00:51:22 -0800 hopefully fixed desktop/laptop detection Diffstat:
| M | profile/.profile | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/profile/.profile b/profile/.profile @@ -10,10 +10,10 @@ export PAGER='less' export LOCKER='slock' # set platform variable -if [ -d '/sys/class/power_supply' ]; then - export PLATFORM='desktop' -else +if [ -d '/sys/class/power_supply/BAT0' ]; then export PLATFORM='laptop' +else + export PLATFORM='desktop' fi # variables for my scripts