feat: update bar height configuration and bar visibilty on fullscreen
This commit is contained in:
+1
-2
@@ -9,13 +9,12 @@ PanelWindow {
|
|||||||
id: panel
|
id: panel
|
||||||
|
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
visible: Hyprland.monitorFor(screen).activeWorkspace.hasFullscreen
|
|
||||||
|
|
||||||
anchors.top: true
|
anchors.top: true
|
||||||
anchors.left: true
|
anchors.left: true
|
||||||
anchors.right: true
|
anchors.right: true
|
||||||
|
|
||||||
implicitHeight: Math.floor(screen.height * Config.barHeightRatio(screen.height))
|
implicitHeight: Config.barHeight(screen.height)
|
||||||
|
|
||||||
exclusiveZone: height // this is so context menus don't clip into the bar
|
exclusiveZone: height // this is so context menus don't clip into the bar
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user