Build the Panama Hyprland desktop
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
// The session never disappears completely. Dismissing the larger glass signal
|
||||
// leaves this quiet bar-native indicator, which reopens it in one click.
|
||||
|
||||
import QtQuick
|
||||
import qs.config
|
||||
import qs.services
|
||||
import qs.widgets
|
||||
|
||||
Pill {
|
||||
id: root
|
||||
|
||||
visible: FocusSession.active
|
||||
horizontalPadding: 8
|
||||
onActivated: FocusSession.reveal()
|
||||
onSecondaryActivated: FocusSession.pauseOrResume()
|
||||
|
||||
Text {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
text: FocusSession.paused ? "\u{F03E4}" : "\u{F051F}" // pause / timer-outline
|
||||
color: FocusSession.paused ? Theme.warn : Theme.accent
|
||||
font.family: Theme.fontMono
|
||||
font.pixelSize: 14
|
||||
}
|
||||
|
||||
Text {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
text: FocusSession.remainingText
|
||||
color: FocusSession.paused ? Theme.fgDim : Theme.fg
|
||||
font.family: Theme.fontFamily
|
||||
font.features: Theme.tabularFigures
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
font.weight: Font.Medium
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user