add toggle for screen corners
This commit is contained in:
parent
9b8e4292f2
commit
3cddfe4291
4 changed files with 7 additions and 7 deletions
|
|
@ -1,7 +1,6 @@
|
|||
pragma ComponentBehavior: Bound
|
||||
import Quickshell
|
||||
import Quickshell.Hyprland
|
||||
import Quickshell.Widgets
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import qs
|
||||
|
|
@ -33,7 +32,7 @@ Rectangle {
|
|||
visible: Hyprland.monitorFor(root.barScreen) === wsWrapper.modelData.monitor
|
||||
|
||||
implicitHeight: root.moduleHeight
|
||||
implicitWidth: wsName.width
|
||||
implicitWidth: 12
|
||||
parent: wsLayout
|
||||
color: 'transparent'
|
||||
radius: Config.rounding
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ Variants {
|
|||
preferredRendererType: Shape.CurveRenderer
|
||||
asynchronous: true
|
||||
enabled: false // Disable mouse input
|
||||
visible: Config.rounding != 0
|
||||
visible: Config.showCorners ? true : Config.rounding == 0
|
||||
|
||||
ShapePath {
|
||||
id: cornersPath
|
||||
|
|
|
|||
Loading…
Reference in a new issue