mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-23 01:09:58 -05:00
waffles: map media controls bind to action center
This commit is contained in:
@@ -228,11 +228,6 @@ Rectangle {
|
||||
component TabSwitchAnim: SequentialAnimation {
|
||||
id: switchAnim
|
||||
property bool down: false
|
||||
// ScriptAction {
|
||||
// script: {
|
||||
// switchAnim.down = root.selectedTab > root.previousIndex;
|
||||
// }
|
||||
// }
|
||||
ParallelAnimation {
|
||||
PropertyAnimation {
|
||||
target: tabStack
|
||||
|
||||
@@ -74,7 +74,7 @@ function getCalendarLayout(dateObject, highlight) {
|
||||
// Fill
|
||||
var monthDiff = (weekdayOfMonthFirst == 0 ? 0 : -1);
|
||||
var toFill, dim;
|
||||
if(weekdayOfMonthFirst == 0) {
|
||||
if (weekdayOfMonthFirst == 0) {
|
||||
toFill = 1;
|
||||
dim = daysInMonth;
|
||||
}
|
||||
@@ -88,8 +88,7 @@ function getCalendarLayout(dateObject, highlight) {
|
||||
calendar[i][j] = {
|
||||
"day": toFill,
|
||||
"today": ((toFill == day && monthDiff == 0 && highlight) ? 1 : (
|
||||
monthDiff == 0 ? 0 :
|
||||
-1
|
||||
monthDiff == 0 ? 0 : -1
|
||||
))
|
||||
};
|
||||
// Increment
|
||||
@@ -112,4 +111,3 @@ function getCalendarLayout(dateObject, highlight) {
|
||||
}
|
||||
return calendar;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user