forked from Shinonome/dots-hyprland
bouncy audio device selector buttons
This commit is contained in:
@@ -8,14 +8,14 @@ import QtQuick.Layouts
|
|||||||
import Quickshell.Widgets
|
import Quickshell.Widgets
|
||||||
import Quickshell.Services.Pipewire
|
import Quickshell.Services.Pipewire
|
||||||
|
|
||||||
RippleButton {
|
GroupButton {
|
||||||
id: button
|
id: button
|
||||||
required property bool input
|
required property bool input
|
||||||
|
|
||||||
buttonRadius: Appearance.rounding.small
|
buttonRadius: Appearance.rounding.small
|
||||||
colBackground: Appearance.colors.colLayer2
|
colBackground: Appearance.colors.colLayer2
|
||||||
colBackgroundHover: Appearance.colors.colLayer2Hover
|
colBackgroundHover: Appearance.colors.colLayer2Hover
|
||||||
colRipple: Appearance.colors.colLayer2Active
|
colBackgroundActive: Appearance.colors.colLayer2Active
|
||||||
|
|
||||||
contentItem: RowLayout {
|
contentItem: RowLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ Item {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Device selector
|
// Device selector
|
||||||
RowLayout {
|
ButtonGroup {
|
||||||
id: deviceSelectorRowLayout
|
id: deviceSelectorRowLayout
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: false
|
Layout.fillHeight: false
|
||||||
|
|||||||
Reference in New Issue
Block a user