Add cava and TODO for frequency graph
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import Quickshell
|
||||
import Quickshell.Io
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
|
||||
import "../constants"
|
||||
import "../services"
|
||||
@@ -7,8 +9,11 @@ import "../services"
|
||||
Text {
|
||||
id: root
|
||||
|
||||
required property TopBar parentWindow;
|
||||
|
||||
// Nerd Font Bluetooth icon (nf-fa-bluetooth)
|
||||
// cheat sheet: https://www.nerdfonts.com/cheat-sheet
|
||||
// TODO make custom floating panel with animation and buttons to connect/disconnect devices
|
||||
property string iconGlyph: "\udb80\udcaf"
|
||||
property string connectedIconGlyph: "\udb80\udcb1"
|
||||
property string disconnectedIconGlyph: "\udb80\udcaf"
|
||||
@@ -42,9 +47,18 @@ Text {
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
hoverEnabled: true
|
||||
|
||||
|
||||
onClicked: {
|
||||
bluemanManagerProcess.running = true;
|
||||
popupWindow.visible = true;
|
||||
}
|
||||
}
|
||||
|
||||
PopupWindow {
|
||||
id: popupWindow
|
||||
visible: false
|
||||
implicitWidth: 200
|
||||
implicitHeight: 100
|
||||
anchor.window: parentWindow
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user