forked from Shinonome/dots-hyprland
Merge branch 'main' of https://github.com/Sighthesia/dots-hyprland into Sighthesia-main
This commit is contained in:
@@ -27,7 +27,7 @@ Item { // Bar content region
|
|||||||
|
|
||||||
// Background shadow
|
// Background shadow
|
||||||
Loader {
|
Loader {
|
||||||
active: Config.options.bar.showBackground && Config.options.bar.cornerStyle === 1
|
active: Config.options.bar.showBackground && Config.options.bar.cornerStyle === 1 && Config.options.bar.floatStyleShadow
|
||||||
anchors.fill: barBackground
|
anchors.fill: barBackground
|
||||||
sourceComponent: StyledRectangularShadow {
|
sourceComponent: StyledRectangularShadow {
|
||||||
anchors.fill: undefined // The loader's anchors act on this, and this should not have any anchor
|
anchors.fill: undefined // The loader's anchors act on this, and this should not have any anchor
|
||||||
|
|||||||
@@ -194,6 +194,7 @@ Singleton {
|
|||||||
}
|
}
|
||||||
property bool bottom: false // Instead of top
|
property bool bottom: false // Instead of top
|
||||||
property int cornerStyle: 0 // 0: Hug | 1: Float | 2: Plain rectangle
|
property int cornerStyle: 0 // 0: Hug | 1: Float | 2: Plain rectangle
|
||||||
|
property bool floatStyleShadow: true // Show shadow behind bar when cornerStyle == 1 (Float)
|
||||||
property bool borderless: false // true for no grouping of items
|
property bool borderless: false // true for no grouping of items
|
||||||
property string topLeftIcon: "spark" // Options: "distro" or any icon name in ~/.config/quickshell/ii/assets/icons
|
property string topLeftIcon: "spark" // Options: "distro" or any icon name in ~/.config/quickshell/ii/assets/icons
|
||||||
property bool showBackground: true
|
property bool showBackground: true
|
||||||
|
|||||||
Reference in New Issue
Block a user