dotfiles bugabingas dorkfiles
owned by bugabinga
README Source History Refs Compare Notes Search feat(nuguland): make idle active state pop louder than the dot 55d62fe1ca3ea8f2dd517142812045f5f477757a
Oliver Jan Krylow <oliver@bugabinga.net > · 26 Jun 2026
unsigned
Browse files Compare with HEAD
Keep-awake is important to notice, so the idle chip gets a prominent
active treatment — accent-tinted fill, accent border, bold accent label —
instead of the subtle dot the other widgets use. Selected state still
takes precedence.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Changed files (1) quickshell/nuguland/Bar.qml Modified 107 + function chipActiveStrong (name) {
108 + return String (name)
=== "idle" && root.chipActive(name);
106 111 function itemRectInBar (item) {
531 536 property int preferredWidth:
Math .max(
52 , labelText.implicitWidth
+ 18 )
532 537 readonly property bool selected: root.surfaces
&& root.surfaces.popoutName
=== popoutName
533 538 readonly property bool active: root.chipActive(popoutName)
539 + readonly property bool activeStrong: root.chipActiveStrong(popoutName)
535 541 Layout .preferredWidth: preferredWidth
536 542 Layout .preferredHeight:
26 537 543 Layout .alignment:
Qt .AlignVCenter
539 - color: selected
&& root.theme
? root.theme.ui.focus
: (root.theme
? root.theme.withAlpha(root.theme.ui.minor,
0.1 )
: "transparent" )
545 + color:
! root.theme
? "transparent" : (selected
? root.theme.ui.focus
: (activeStrong
&& ! selected
? root.theme.withAlpha(root.theme.ui.accent,
0.3 )
: root.theme.withAlpha(root.theme.ui.minor,
0.1 )))
542 - border.color:
"transparent" 547 + border.width: chip.activeStrong
&& ! chip.selected
? 1 : 0 548 + border.color: root.theme
&& chip.activeStrong
? root.theme.ui.accent
: "transparent" 543 549 Component .onCompleted:
Qt .callLater(()
=> {
544 550 return root.registerAnchor(chip.popoutName, chip);
558 564 selected: chip.selected
566 + font.bold: chip.activeStrong
&& ! chip.selected
561 567 horizontalAlignment:
Text .AlignHCenter
562 568 elide:
Text .ElideRight
563 - color: root.theme
? (chip.selected
? root.theme.content.backdrop
: root.theme.content.normal)
: "transparent" 569 + color:
! root.theme
? "transparent" : (chip.selected
? root.theme.content.backdrop
: (chip.activeStrong
? root.theme.ui.accent
: root.theme.content.normal))
570 - visible : chip.active
&& ! chip.selected
576 + visible : chip.active
&& ! chip.activeStrong
&& ! chip.selected