Use kanshi to turn wifi on or off based on docked status

This commit is contained in:
Evie Litherland-Smith 2023-07-19 09:17:24 +01:00
parent e4a9c6d820
commit 127c4df7fa

View file

@ -43,7 +43,10 @@ in {
status = "enable"; status = "enable";
} }
]; ];
exec = [restart_hyprpaper]; exec = [
restart_hyprpaper
"rfkill unblock wlan"
];
}; };
docked = { docked = {
outputs = [ outputs = [
@ -60,7 +63,10 @@ in {
status = "enable"; status = "enable";
} }
]; ];
exec = [restart_hyprpaper]; exec = [
restart_hyprpaper
"rfkill block wlan"
];
}; };
}; };
}; };