From e7febace2bdcc7260239c3b790a62d5521c1440e Mon Sep 17 00:00:00 2001 From: matt1432 Date: Tue, 12 Sep 2023 17:38:07 -0400 Subject: [PATCH] fix(ags): make bluetooth state persistent accross reboots again --- config/ags/js/quick-settings/button-grid.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/ags/js/quick-settings/button-grid.js b/config/ags/js/quick-settings/button-grid.js index 8d97f218..31ad981c 100644 --- a/config/ags/js/quick-settings/button-grid.js +++ b/config/ags/js/quick-settings/button-grid.js @@ -56,9 +56,11 @@ const FirstRow = Box({ connections: [[Bluetooth, icon => { if (Bluetooth.enabled) { icon.icon = 'bluetooth-active-symbolic'; + exec('bash -c "echo 󰂯 > $HOME/.config/.bluetooth"'); } else { icon.icon = 'bluetooth-disabled-symbolic'; + exec('bash -c "echo 󰂲 > $HOME/.config/.bluetooth"'); } }, 'changed']], })