Implemented Wallpaper Selector and Matugen's Wallpaper based auto-theming. (#73)

* Implement matugen - WIP

* Added matugen

* Add types and cleanup code

* Matugen implementation updates and added more options such as scheme and contrast.

* Code cleanup and matugen settings renamed for clarity.

* Makon maroon a primary matugen color.

* Updates to handle variations of matugen colors

* Finalizing matugen and wrapping up variations.

* Minor styling updates of the settings dialog.

* Do a swww dependency check.

* Dependency logic update

* Switch shouldn't double trigger notifications now when checking dependency.

* Logic was inverted

* Add matugen to dependency checker.

* Fixed dependency checking conditional

* Update dependency list in readme and check for matugen before doing matugen operations

* Styling fixes

* OSD Fix

* Remove unused code from wallpaper service.

* Color fixes for matugen.

* Nix updates for new dependencies

* Change default wallpaper to empty.

* Added custom notification service for startup, cleaned up code and updated readme.
This commit is contained in:
Jas Singh
2024-08-07 21:43:31 -07:00
committed by GitHub
parent d743c98a6a
commit f5b75edbed
31 changed files with 1315 additions and 197 deletions

View File

@@ -42,7 +42,7 @@
}
&.underline {
border-bottom: 0.1em solid $pink;
border-bottom: 0.1em solid $bar-buttons-workspaces-numbered_active_text_color;
}
&.highlight {

View File

@@ -62,6 +62,11 @@
}
}
.menu-active-percentage.playback,
.menu-active-percentage.input {
color: if($bar-menus-monochrome, $bar-menus-text, $bar-menus-menu-volume-text);
}
.menu-active-button {
.menu-active-icon.playback,
@@ -120,7 +125,7 @@
.menu-button-name.playback,
.menu-button-name.input {
color: if($bar-menus-monochrome, $bar-menus-icons-active, $bar-menus-menu-volume-icons-active);
color: if($bar-menus-monochrome, $bar-menus-listitems-active, $bar-menus-menu-volume-listitems-active);
}
}
}
@@ -165,4 +170,4 @@
.menu-items-section.playback {
border-radius: 0em;
}
}

View File

@@ -44,7 +44,7 @@
}
image {
color: $base;
color: if($bar-menus-monochrome, $bar-menus-buttons-text, $bar-menus-menu-dashboard-shortcuts-text);
font-size: 1.5em;
}

View File

@@ -17,8 +17,9 @@
background: if($bar-menus-monochrome, $bar-menus-cards, $bar-menus-menu-battery-card-color);
}
.power-profile-item {
margin-bottom: 0.5em;
.power-profile-item {
color: if($bar-menus-monochrome, $bar-menus-listitems-passive, $bar-menus-menu-battery-listitems-passive);
margin-bottom: 0.5em;
label {
margin-left: 1em;
@@ -31,40 +32,43 @@
color: if($bar-menus-monochrome, $bar-menus-icons-passive, $bar-menus-menu-battery-icons-passive);
}
&:hover {
label {
color: if($bar-menus-monochrome, $bar-menus-icons-active, $bar-menus-menu-battery-icons-active);
}
&:hover {
color: if($bar-menus-monochrome, $bar-menus-listitems-active, $bar-menus-menu-battery-listitems-active);
label {
color: if($bar-menus-monochrome, $bar-menus-icons-active, $bar-menus-menu-battery-icons-active);
}
image {
color: if($bar-menus-monochrome, $bar-menus-icons-active, $bar-menus-menu-battery-icons-active);
}
}
&.active {
image {
color: if($bar-menus-monochrome, $bar-menus-icons-active, $bar-menus-menu-battery-icons-active);
}
&.active {
color: if($bar-menus-monochrome, $bar-menus-listitems-active, $bar-menus-menu-battery-listitems-active);
image {
color: if($bar-menus-monochrome, $bar-menus-icons-active, $bar-menus-menu-battery-icons-active);
}
}
}
}
.brightness-container {
padding-bottom: 1em;
}
.brightness-slider-icon {
font-size: 1.4em;
min-width: 1em;
min-height: 1em;
color: $overlay2;
}
.brightness-slider-icon {
font-size: 1.4em;
min-width: 1em;
min-height: 1em;
color: if($bar-menus-monochrome, $bar-menus-icons-active, $bar-menus-menu-battery-icons-active);
}
.brightness-slider-label {
font-size: 0.9em;
min-width: 2.5em;
font-weight: bold;
margin-bottom: 0.2em;
}
.brightness-slider-label {
color: if($bar-menus-monochrome, $bar-menus-text, $bar-menus-menu-battery-text);
font-size: 0.9em;
min-width: 2.5em;
font-weight: bold;
margin-bottom: 0.2em;
}
.menu-slider.brightness {
trough {

View File

@@ -108,6 +108,7 @@
}
.menu-icon-button.network.disconnect {
color: if($bar-menus-monochrome, $bar-menus-iconbuttons-passive, $bar-menus-menu-network-iconbuttons-passive);
margin: 0em;
margin-top: -0.2em;
margin-left: 1em;

View File

@@ -2,7 +2,7 @@ window.settings-dialog {
background-color: $bar-menus-cards;
color: $bar-menus-text;
$padding: 1em;
$padding: 0.5em;
$primary_bg: $bar-menus-background;
$spacing: 0.4em;
$radius: 0.5em;
@@ -10,10 +10,14 @@ window.settings-dialog {
$border: none;
$fg: $bar-menus-text;
.settings-dialog-box {
min-width: 75em;
}
.header {
background-color: $bar-menus-background;
background-color: transparentize($bar-menus-background, 0.1);
border-bottom-left-radius: $bar-menus-border-radius/2;
border-bottom-right-radius: $bar-menus-border-radius/2;
padding: $padding;
button {
@@ -57,7 +61,7 @@ window.settings-dialog {
.group {
.group-title {
color: $primary-bg;
color: $bar-menus-text;
margin-bottom: $spacing*.5;
}
@@ -178,7 +182,7 @@ window.settings-dialog {
}
padding: 0.35em 0.35em;
background: $surface1;
background: transparentize($bar-menus-background, 0.6);
margin-right: 1em;
}
}
@@ -194,6 +198,7 @@ window.settings-dialog {
}
.pager-button {
color: transparentize($bar-menus-text, 0.4);
margin: 0.5em 0.75em;
&.category label {
@@ -201,11 +206,17 @@ window.settings-dialog {
}
&:hover {
color: $bar-menus-iconbuttons-active;
label {
text-decoration: underline;
color: $bar-menus-text;
}
}
&.active {
color: $bar-menus-iconbuttons-active;
label {
text-decoration: underline;
color: $bar-menus-text;
}
}
}
@@ -219,7 +230,7 @@ window.settings-dialog {
.paged-container {
.reset-options {
color: $bar-menus-iconbuttons-passive;
color: $bar-menus-text;
image:disabled {
color: $bar-menus-buttons-disabled;
@@ -227,7 +238,7 @@ window.settings-dialog {
&:hover {
image {
color: $bar-menus-buttons-active;
color: transparentize($bar-menus-text, 0.5);
}
}
}
@@ -246,7 +257,8 @@ window.settings-dialog {
}
selection {
background: $bar-menus-background;
background: $bar-menus-label;
color: $bar-menus-cards;
}
switch {
@@ -272,6 +284,12 @@ window.settings-dialog {
dialog {
background: $bar-menus-cards;
color: $bar-menus-text;
:selected {
background: transparentize($bar-menus-label, 0.2);
color: transparentize($bar-menus-cards, 0.2);
}
headerbar {
border-bottom: 0.075em solid $bar-menus-border-color;