summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-29 16:06:19 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-29 16:06:19 +1000
commit02b80265d30a795986c623b05d83622df30da552 (patch)
treef71ce992c38c10ae217cdbb1b91ad9aeab29421f /modules
parenthyprland: fix active workspace (diff)
downloadcaelestia-shell-02b80265d30a795986c623b05d83622df30da552.tar.gz
caelestia-shell-02b80265d30a795986c623b05d83622df30da552.tar.bz2
caelestia-shell-02b80265d30a795986c623b05d83622df30da552.zip
bar: workspaces active indicator tweak
Decrease size by 2 (px?) with 1 margin to make it seem the same size as occupied
Diffstat (limited to 'modules')
-rw-r--r--modules/bar/components/workspaces/ActiveIndicator.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/bar/components/workspaces/ActiveIndicator.qml b/modules/bar/components/workspaces/ActiveIndicator.qml
index 7feab35..f6a78d2 100644
--- a/modules/bar/components/workspaces/ActiveIndicator.qml
+++ b/modules/bar/components/workspaces/ActiveIndicator.qml
@@ -23,10 +23,10 @@ Rectangle {
property real offset: Math.min(leading, trailing)
clip: true
- x: vertical ? 0 : offset
- y: vertical ? offset : 0
- width: vertical ? BarConfig.sizes.innerHeight : size
- height: vertical ? size : BarConfig.sizes.innerHeight
+ x: vertical ? 1 : offset + 1
+ y: vertical ? offset + 1 : 1
+ width: (vertical ? BarConfig.sizes.innerHeight : size) - 2
+ height: (vertical ? size : BarConfig.sizes.innerHeight) - 2
color: Appearance.colours.mauve
radius: Appearance.rounding.full