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: elif live:
config_info_dialog() config_info_dialog()
print("\nNote: You can quit live mode by pressing \"ctrl+c\"") print("\nNote: You can quit live mode by pressing \"ctrl+c\"")
gnome_power_detect()
gnome_power_disable_live()
time.sleep(1) time.sleep(1)
while True: while True:
root_check() root_check()
gnome_power_detect()
gnome_power_disable_live()
running_daemon() running_daemon()
footer() footer()
gov_check() gov_check()

View File

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