[Meson] Prepare
This commit is contained in:
		| @@ -1,4 +1,4 @@ | ||||
| import { bind, readFile, Variable, writeFile } from "astal"; | ||||
| import { bind, readFile, writeFile } from "astal"; | ||||
| import { Gtk } from "astal/gtk4"; | ||||
| import AstalBluetooth from "gi://AstalBluetooth"; | ||||
| import BTDevice from "./Device"; | ||||
| @@ -74,7 +74,7 @@ const openBTPicker = () => { | ||||
| }; | ||||
|  | ||||
| const BluetoothPickerList = () => { | ||||
|     let btEnableState = readFile("./btconf") === "true" ? true : false; | ||||
|     let btEnableState = readFile(`${DATADIR}./btconf`) === "true" ? true : false; | ||||
|     bt.adapter.set_powered(btEnableState); | ||||
|  | ||||
|     const updateState = () => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user