NPill: allow to open left or right depending on

This commit is contained in:
LemmyCook 2025-08-31 15:45:10 -04:00
parent 2498f0273d
commit 3683d3c29b
7 changed files with 73 additions and 11 deletions

View file

@ -12,6 +12,9 @@ Item {
property ShellScreen screen
property real scaling: ScalingService.scale(screen)
property string barSection: ""
property int sectionWidgetIndex: 0
property int sectionWidgetsCount: 0
// Used to avoid opening the pill on Quickshell startup
property bool firstVolumeReceived: false
@ -53,6 +56,8 @@ Item {
NPill {
id: pill
rightOpen: BarWidgetRegistry.getNPillDirection(root)
icon: getIcon()
iconCircleColor: Color.mPrimary
collapsedIconColor: Color.mOnSurface