Add hover show applications in workspace bar

This commit is contained in:
Amaro Lopes
2025-09-22 02:37:28 -03:00
parent 2445e21f0b
commit 65497edde2
8 changed files with 205 additions and 56 deletions

View File

@@ -1,19 +1,62 @@
pragma Singleton
import Quickshell
import QtQuick
import Quickshell
import Quickshell.Io
Singleton {
id: timeRoot
readonly property int barSize: 35
readonly property double heightGaps: barSize * 0.8
readonly property string fontFamily: "IBM Plex Mono"
// Colors
FileView {
id: walColors
path: Qt.resolvedUrl("/home/amaro/.cache/wal/colors")
blockLoading: true
watchChanges: true
onFileChanged: this.reload()
}
readonly property var walColorsText: walColors.text().split('\n')
property double barOpacity: 0.2
property color backgroudColor: Qt.rgba(0.27, 0.28, 0.35)
property color foregroundColor: Qt.rgba(0.27, 0.28, 0.35)
property color backgroudColor: walColorsText[0]
property color color2: walColorsText[1]
property color color3: walColorsText[2]
property color color4: walColorsText[3]
property color color5: walColorsText[4]
property color color6: walColorsText[5]
property color color7: walColorsText[6]
property color foregroundColor: walColorsText[7]
property color backgroudColorBright: walColorsText[8]
property color color2Bright: walColorsText[9]
property color color3Bright: walColorsText[10]
property color color4Bright: walColorsText[11]
property color color5Bright: walColorsText[12]
property color color6Bright: walColorsText[13]
property color color7Bright: walColorsText[14]
property color foregroundColorBright: walColorsText[15]
readonly property string textColor: foregroundColor
// background "#0e1721"
// color2 "#463e44"
// color3 "#7b4834"
// color4 "#735148"
// color5 "#896451"
// color6 "#9d7057"
// color7 "#595563"
// foreground "#91959b"
// "#5d6772"
// "#5E535B"
// "#A56046"
// "#9A6C60"
// "#B7866C"
// "#D29674"
// "#777285"
// "#c2c5c7"
}