Snap interface for configuring Bluetooth

This commit is contained in:
Adnan Hodzic 2021-11-28 14:57:22 +01:00
parent 167b761888
commit 2daa37cf0e
2 changed files with 9 additions and 3 deletions

View File

@ -84,11 +84,11 @@ def main(config, daemon, debug, install, live, log, monitor, stats, version, don
elif live:
config_info_dialog()
print("\nNote: You can quit live mode by pressing \"ctrl+c\"")
gnome_power_detect()
gnome_power_disable_live()
time.sleep(1)
while True:
root_check()
gnome_power_detect()
gnome_power_disable_live()
running_daemon()
footer()
gov_check()

View File

@ -38,8 +38,13 @@ parts:
plugs:
etc-auto-cpufreq-conf:
interface: system-files
read:
write:
- /etc/auto-cpufreq.conf
etc-bluetooth-conf:
interface: system-files
write:
- /etc/bluetooth/main.conf
apps:
auto-cpufreq:
@ -51,6 +56,7 @@ apps:
- system-observe
- hardware-observe
- etc-auto-cpufreq-conf
- etc-bluetooth-conf
environment:
LC_ALL: C.UTF-8
LANG: C.UTF-8