summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-09-14 13:23:52 +0200
committerAlan Pearce2017-09-14 13:23:52 +0200
commit54c18184114b266cec0966b663e12e60c52ed985 (patch)
tree3a9053b2cb59a8c5e60bf5d011880662e8a7a5cb
parent424117953b6441f9be061f4c8324e66da971746b (diff)
downloaddotfiles-54c18184114b266cec0966b663e12e60c52ed985.tar.lz
dotfiles-54c18184114b266cec0966b663e12e60c52ed985.tar.zst
dotfiles-54c18184114b266cec0966b663e12e60c52ed985.zip
npmrc: Fix creation of '$HOME' dir
-rwxr-xr-xautorandr/.config/autorandr/postswitch8
-rw-r--r--javascript/.npmrc2
2 files changed, 7 insertions, 3 deletions
diff --git a/autorandr/.config/autorandr/postswitch b/autorandr/.config/autorandr/postswitch
index f0dd1ef..44cb6cc 100755
--- a/autorandr/.config/autorandr/postswitch
+++ b/autorandr/.config/autorandr/postswitch
@@ -2,9 +2,13 @@
 DPI=96
 case $AUTORANDR_CURRENT_PROFILE in
   ("laptop")
-    DPI=144;;
+    DPI=144
+    nmcli radio wifi on
+    ;;
   ("docked")
-    DPI=120;;
+    DPI=120
+    nmcli radio all off
+    ;;
 esac
 
 xrandr --dpi $DPI
diff --git a/javascript/.npmrc b/javascript/.npmrc
index ab49973..2da1b6d 100644
--- a/javascript/.npmrc
+++ b/javascript/.npmrc
@@ -1,3 +1,3 @@
-prefix=$HOME/.local
+prefix=${HOME}/.local
 //registry.npmjs.org/:_authToken=$NPM_TOKEN
 @satoshipay:registry=http://registry.npmjs.org/