change screencorners
This commit is contained in:
parent
ddf4c2e654
commit
cebb5749cb
1 changed files with 0 additions and 2 deletions
|
|
@ -6,7 +6,6 @@ import qs
|
||||||
import qs.settings
|
import qs.settings
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
// Top-left corners
|
|
||||||
Variants {
|
Variants {
|
||||||
model: Quickshell.screens
|
model: Quickshell.screens
|
||||||
delegate: WlrLayershell {
|
delegate: WlrLayershell {
|
||||||
|
|
@ -33,7 +32,6 @@ Item {
|
||||||
var c = Colors.base00
|
var c = Colors.base00
|
||||||
ctx.fillStyle = Qt.rgba(c.r, c.g, c.b, Config.opacity)
|
ctx.fillStyle = Qt.rgba(c.r, c.g, c.b, Config.opacity)
|
||||||
ctx.fillRect(0, 0, s, s)
|
ctx.fillRect(0, 0, s, s)
|
||||||
// Punch out quarter-circle from inner corner (s, s)
|
|
||||||
ctx.globalCompositeOperation = "destination-out"
|
ctx.globalCompositeOperation = "destination-out"
|
||||||
ctx.beginPath()
|
ctx.beginPath()
|
||||||
ctx.moveTo(s, s)
|
ctx.moveTo(s, s)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue