Skip to content

Commit

Permalink
feat(validation): add round corners and border color configuration to…
Browse files Browse the repository at this point in the history
… disk widget
  • Loading branch information
amnweb committed Jan 10, 2025
1 parent 7808ec0 commit 13eccf4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/core/validation/widgets/yasb/disk.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
'enabled': False,
'volume_labels': ['C'],
'blur': True,
'round_corners': True,
'round_corners_type': 'normal',
'border_color': 'System',
'alignment': 'right',
'direction': 'down',
'distance': 6,
Expand Down Expand Up @@ -65,6 +68,19 @@
'type': 'boolean',
'default': DEFAULTS['group_label']['blur']
},
'round_corners': {
'type': 'boolean',
'default': DEFAULTS['group_label']['round_corners']
},
'round_corners_type': {
'type': 'string',
'default': DEFAULTS['group_label']['round_corners_type'],
'allowed': ['normal', 'small']
},
'border_color': {
'type': 'string',
'default': DEFAULTS['group_label']['border_color']
},
'alignment': {
'type': 'string',
'default': DEFAULTS['group_label']['alignment']
Expand Down

0 comments on commit 13eccf4

Please sign in to comment.