reorganize cache folder, apply color instantly on color mode change

This commit is contained in:
end-4
2024-02-17 16:03:38 +07:00
parent 00ea2126f5
commit 680b5696b0
12 changed files with 85 additions and 181 deletions
+19 -19
View File
@@ -36,7 +36,7 @@ lines=10000
[cursor]
style=beam
color=$background # $onBackground #
color={{ $background }} {{ $onBackground }}
# blink=no
beam-thickness=1.5
# underline-thickness=<font underline thickness>
@@ -44,24 +44,24 @@ beam-thickness=1.5
[colors]
alpha=1
background=$background #
foreground=$onBackground #
regular0=$background #
regular1=$error #
regular2=$inversePrimary #
regular3=$onPrimaryContainer #
regular4=$onPrimaryContainer #
regular5=$onSecondaryContainer #
regular6=$primary #
regular7=$onSurfaceVariant #
bright0=$background #
bright1=$error #
bright2=$inversePrimary #
bright3=$onPrimaryContainer #
bright4=$onPrimaryContainer #
bright5=$onSecondaryContainer #
bright6=$primary #
bright7=$onSurfaceVariant #
background={{ $background }}
foreground={{ $onBackground }}
regular0={{ $background }}
regular1={{ $error }}
regular2={{ $inversePrimary }}
regular3={{ $onPrimaryContainer }}
regular4={{ $onPrimaryContainer }}
regular5={{ $onSecondaryContainer }}
regular6={{ $primary }}
regular7={{ $onSurfaceVariant }}
bright0={{ $background }}
bright1={{ $error }}
bright2={{ $inversePrimary }}
bright3={{ $onPrimaryContainer }}
bright4={{ $onPrimaryContainer }}
bright5={{ $onSecondaryContainer }}
bright6={{ $primary }}
bright7={{ $onSurfaceVariant }}
[csd]
# preferred=server
@@ -1,4 +1,4 @@
// Could just sed but scss is way less hacky
// Could just sed but scss is better
@import '../../../scss/_material.scss'; // Which is ~/.config/ags/scss/_material.scss
* {
@@ -1,102 +0,0 @@
/* Gtklock css */
* {
all: unset;
border: 0px;
}
window {
background: rgba(0, 0, 0, 0.5);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
#window-box {
border-radius: 1.5rem;
padding: 1.5rem;
border: 0px solid black;
}
#input-label {
font-size: 1.5rem;
color: transparent;
background-color: transparent;
margin: -20rem;
}
#input-field {
background-color: $secondaryContainer;
color: $onSecondaryContainer;
caret-color: $onSecondaryContainer;
border-radius: 999px;
font-size: 1.3rem;
padding: 0.341rem 1.364rem;
margin: 0.477rem;
box-shadow: 2px 2px 4px rgba(22, 22, 22, 0.5);
min-height: 2.727rem;
}
#unlock-button {
margin: -20rem;
color: transparent;
background-color: transparent;
}
#error-label {
color: $error;
}
#clock-label {
font-family: 'Lexend';
font-size: 6rem;
border-radius: 1.2rem;
padding: 0.5rem;
margin: 0.6rem;
margin-top: -35rem;
color: $onSecondaryContainer;
text-shadow: 1px 1px 2px rgba(22, 22, 30, 0.5);
}
#user-image {}
#powerbar-box {}
#poweroff-button {
background-color: $secondaryContainer;
color: $onSecondaryContainer;
min-width: 3rem;
min-height: 3rem;
margin: 10px;
border-radius: 99px;
}
#suspend-button {
background-color: $secondaryContainer;
color: $onSecondaryContainer;
min-width: 3rem;
min-height: 3rem;
margin: 10px;
border-radius: 99px;
}
#reboot-button {
background-color: $secondaryContainer;
color: $onSecondaryContainer;
min-width: 3rem;
min-height: 3rem;
margin: 10px;
border-radius: 99px;
}
#poweroff-button:hover,
#reboot-button:hover,
#suspend-button:hover {
background: rgba(200, 200, 200, 0.3);
}
#poweroff-button:active,
#reboot-button:active,
#suspend-button:active {
background: rgba(200, 200, 200, 0.5);
}
@@ -1 +0,0 @@
]4;0;#regular0\]4;1;#regular1\]4;2;#regular2\]4;3;#regular3\]4;4;#regular4\]4;5;#regular5\]4;6;#regular6\]4;7;#regular7\]4;8;#bright0\]4;9;#bright1\]4;10;#bright2\]4;11;#bright3\]4;12;#bright4\]4;13;#bright5\]4;14;#bright6\]4;15;#bright7\]10;#regular7\]11;#regular0\]12;#regular7\]13;#regular7\]17;#regular7\]19;#regular0\]4;232;#regular0\]4;256;#regular7\]708;#regular0\