Skip to content

Commit 3b4716d

Browse files
committed
round hyprland corners
1 parent 16a1485 commit 3b4716d

4 files changed

Lines changed: 11 additions & 4 deletions

File tree

dot_files/quickshell/modules/common/Appearance.qml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ QtObject {
164164
small: 3,
165165
medium: 4,
166166
large: 6,
167+
window: 10, // Match Hyprland window rounding
167168
full: 9999
168169
})
169170

dot_files/quickshell/modules/common/TuiPanel.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ Rectangle {
2626
border.width: Appearance.borderWidth.thin
2727
border.color: Appearance.colors.border
2828

29-
// Sharp corners for TUI look
30-
radius: Appearance.rounding.tiny
29+
// Match Hyprland window rounding
30+
radius: Appearance.rounding.window
3131

3232
// Layout
3333
ColumnLayout {

dot_files/quickshell/modules/sidebars/SidebarLeft.qml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ PanelWindow {
2121
left: true
2222
}
2323

24-
margins.bottom: Common.Appearance.spacing.small
24+
// Match Hyprland gaps_out (20) for floating window look
25+
margins.top: 20
26+
margins.bottom: 20
27+
margins.left: 20
2528

2629
implicitWidth: Common.Appearance.sizes.sidebarWidth
2730
color: "transparent"

dot_files/quickshell/modules/sidebars/SidebarRight.qml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ PanelWindow {
2121
right: true
2222
}
2323

24-
margins.bottom: Common.Appearance.spacing.small
24+
// Match Hyprland gaps_out (20) for floating window look
25+
margins.top: 20
26+
margins.bottom: 20
27+
margins.right: 20
2528

2629
implicitWidth: Common.Appearance.sizes.sidebarWidth
2730
color: "transparent"

0 commit comments

Comments
 (0)