Use kanshi to turn wifi on or off based on docked status
This commit is contained in:
parent
e4a9c6d820
commit
127c4df7fa
|
@ -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"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue