fix(ags): make bluetooth state persistent accross reboots again
This commit is contained in:
parent
cd38ec8c10
commit
e7febace2b
1 changed files with 2 additions and 0 deletions
|
@ -56,9 +56,11 @@ const FirstRow = Box({
|
||||||
connections: [[Bluetooth, icon => {
|
connections: [[Bluetooth, icon => {
|
||||||
if (Bluetooth.enabled) {
|
if (Bluetooth.enabled) {
|
||||||
icon.icon = 'bluetooth-active-symbolic';
|
icon.icon = 'bluetooth-active-symbolic';
|
||||||
|
exec('bash -c "echo > $HOME/.config/.bluetooth"');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
icon.icon = 'bluetooth-disabled-symbolic';
|
icon.icon = 'bluetooth-disabled-symbolic';
|
||||||
|
exec('bash -c "echo > $HOME/.config/.bluetooth"');
|
||||||
}
|
}
|
||||||
}, 'changed']],
|
}, 'changed']],
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue