Improved readme instructions for switching the theme globally, fixed various ts imports

This commit is contained in:
pascalyazid committed 2026-04-14 01:09:27 +02:00
1 parent 9b2e4e84ab
commit be426ef35d
8 files changed
+57 -62

No files matched your search

+4 -4
View File
@@ -1,7 +1,7 @@
import { Gtk } from "ags/gtk4"
import AstalNetwork from "gi://AstalNetwork?version=0.1"
import AstalBluetooth from "gi://AstalBluetooth?version=0.1"
import AstalWp from "gi://AstalWp?version=0.1"
import AstalNetwork from "gi://AstalNetwork"
import AstalBluetooth from "gi://AstalBluetooth"
import Wp from "gi://AstalWp"
import { createBinding } from "ags"
import { execAsync } from "ags/process"
@@ -69,7 +69,7 @@ function BluetoothItem() {
}
function AudioSlider({ type }: { type: "speaker" | "microphone" }) {
const wp = AstalWp.get_default()
const wp = Wp.get_default()
const audio = wp?.audio
if (!audio) return <box />