unhide bar on panel visibilities
This commit is contained in:
@@ -18,8 +18,10 @@ ShapePath {
|
||||
readonly property real utilsWidthDiff: panels.utilities.width - wrapper.width
|
||||
readonly property real utilsRoundingX: utilsWidthDiff < rounding * 2 ? utilsWidthDiff / 2 : rounding
|
||||
|
||||
readonly property bool flatten: wrapper.width < rounding * 2
|
||||
|
||||
strokeWidth: -1
|
||||
fillColor: DynamicColors.palette.m3surface
|
||||
fillColor: flatten ? "transparent" : DynamicColors.palette.m3surface
|
||||
|
||||
PathLine {
|
||||
relativeX: -root.wrapper.width - root.notifsRoundingX
|
||||
|
||||
@@ -105,14 +105,6 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
CustomShortcut {
|
||||
name: "show-osd"
|
||||
|
||||
onPressed: {
|
||||
root.show();
|
||||
}
|
||||
}
|
||||
|
||||
Timer {
|
||||
id: timer
|
||||
|
||||
|
||||
@@ -22,4 +22,22 @@ Scope {
|
||||
root.launcherInterrupted = false;
|
||||
}
|
||||
}
|
||||
|
||||
CustomShortcut {
|
||||
name: "toggle-nc"
|
||||
|
||||
onPressed: {
|
||||
const visibilities = Visibilities.getForActive()
|
||||
visibilities.sidebar = !visibilities.sidebar
|
||||
}
|
||||
}
|
||||
|
||||
CustomShortcut {
|
||||
name: "show-osd"
|
||||
|
||||
onPressed: {
|
||||
const visibilities = Visibilities.getForActive()
|
||||
visibilities.osd = !visibilities.osd
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user