mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
sidebar: config option for expanding calendar by default (#1070)
This commit is contained in:
parent
7ff0a9d298
commit
9b8bcedb8c
2 changed files with 5 additions and 2 deletions
|
|
@ -117,7 +117,10 @@ let configOptions = {
|
|||
},
|
||||
'quickToggles': {
|
||||
'order': ["wifi", "bluetooth", "nightlight", "gamemode", "idleinhibitor", "cloudflarewarp"],
|
||||
}
|
||||
},
|
||||
'calendar': {
|
||||
'expandByDefault': true,
|
||||
},
|
||||
},
|
||||
'search': {
|
||||
'enableFeatures': {
|
||||
|
|
|
|||
|
|
@ -259,7 +259,7 @@ export const ModuleCalendar = () => {
|
|||
transition: 'slide_up_down',
|
||||
transitionDuration: userOptions.animations.durationLarge,
|
||||
setup: (stack) => Utils.timeout(1, () => {
|
||||
stack.shown = 'expanded';
|
||||
stack.shown = userOptions.sidebar.calendar.expandByDefault ? 'expanded' : 'collapsed';
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue