summary refs log tree commit diff stats
path: root/autorandr
diff options
context:
space:
mode:
Diffstat (limited to 'autorandr')
-rwxr-xr-xautorandr/.config/autorandr/postswitch8
1 files changed, 6 insertions, 2 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