💥 fix(swaync): bluetooth toggle not working, no fit screen size, move notifications up

This commit is contained in:
retrozinndev
2024-11-10 13:00:34 -03:00
parent 4c684f9c14
commit 0c297bb9ff
9 changed files with 576 additions and 514 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env bash
Update_state() {
if [[ $(nmcli n c) =~ "partial" ]] || [[ $(nmcli n c) =~ "full" ]]
then
echo true
else
echo false
fi
}
Toggle_state() {
if [[ $SWAYNC_TOGGLE_STATE == true ]]
then
nmcli n on
else
nmcli n off
fi
}