added stuff

This commit is contained in:
Charlie Root 2024-04-09 23:11:33 +02:00
commit 9d0ebdfbd0
907 changed files with 70990 additions and 0 deletions

View file

@ -0,0 +1,34 @@
// Components
// top
@import "modules/launcher";
@import "modules/system";
@import "modules/weather";
// center
@import "modules/workspaces";
// bottom
@import "modules/tray";
@import "modules/battery";
@import "modules/bluetooth";
@import "modules/lock";
@import "modules/swallow";
@import "modules/audio";
@import "modules/net";
@import "modules/clock";
@import "modules/power";
// general config
.bar {
@include barWindow;
}
// top section
.utilsBox {
@include barSection;
}
// bottom section
.systemInfo {
@include barSection;
}

View file

@ -0,0 +1,3 @@
.audio {
@include barModule;
}

View file

@ -0,0 +1,3 @@
.battery {
@include barModule;
}

View file

@ -0,0 +1,28 @@
// default state of the bluetooth icon
.bluetooth {
@include barModule;
}
// if bluetooth is paired
// but not active
.bluetooth-paired {
color: $onSurface;
}
// if bluetooth is paired
// and active
.bluetooth-active {
color: $onSurface;
}
// if bluetooth is disabled
.bluetooth-disabled {
color: lighten($surfaceVariant, 30%);
transition:
all 0.3s $materialStandard,
border 0.35s $materialStandard;
&:hover {
color: $red;
}
}

View file

@ -0,0 +1,9 @@
.clock {
background: $surfaceVariant;
color: $onPrimary;
font-family: $monoFont;
font-weight: 800;
border-radius: 12px;
margin: 6px 4px;
padding: 6px;
}

View file

@ -0,0 +1,13 @@
.launcherIcon {
background: $surfaceVariant;
font-family: $iconFont;
border-radius: 12px;
margin: 6px 4px;
padding: 6px;
min-height: 1.5rem;
transition: all 0.2s $materialAccel;
&:hover {
background: lighten($surfaceVariant, 5%);
}
}

View file

@ -0,0 +1,7 @@
.lock {
background: $surface;
font-size: 24px;
border-radius: 12px;
margin: 2px 4px;
padding: 2px;
}

View file

@ -0,0 +1,3 @@
.network {
@include barModule;
}

View file

@ -0,0 +1,15 @@
.power {
color: $red;
background: $surface;
font-size: 24px;
border-radius: 12px;
margin: 6px 4px;
padding: 6px;
min-height: 1.5rem;
transition: all 0.2s $materialAccel;
&:hover {
background: lighten($surfaceVariant, 5%);
color: lighten($red, 5%);
}
}

View file

@ -0,0 +1,3 @@
.swallow {
@include barModule;
}

View file

@ -0,0 +1,41 @@
$size: 1.2rem;
.systemUsage {
color: $onSurface;
background: $surfaceVariant;
font-family: $iconFont;
border-radius: 12px;
margin: 4px;
}
// cpu indicator
.cpuButton {
padding: 6px 2px 3px 2px;
margin: 1px;
}
.cpuProgress {
color: $lavender;
padding: 4px 4px;
margin: 0.1rem;
font-size: 4px;
background: $primary;
min-height: $size;
min-width: $size;
}
// memory indicator
.memButton {
padding: 3px 2px 6px 2px;
margin: 1px;
}
.memProgress {
color: $blue;
padding: 4px 4px;
margin: 0.1rem;
font-size: 4px;
background: $primary;
min-height: $size;
min-width: $size;
}

View file

@ -0,0 +1,15 @@
.tray {
margin: 0;
}
.trayChevron {
font-family: $iconFont;
}
.trayIcons {
margin: 3px 0 0;
}
.trayIcon {
margin: 0 0 3px;
}

View file

@ -0,0 +1,14 @@
.weather {
background: $surfaceVariant;
font-family: "Material Symbols Sharp", Roboto;
border-radius: 12px;
margin: 6px 4px;
padding: 4px;
min-height: 1.5rem;
min-width: 1rem;
transition: all 0.2s $materialAccel;
&:hover {
background: lighten($surfaceVariant, 5%);
}
}

View file

@ -0,0 +1,29 @@
.workspaces {
background: transparent;
padding: 14px;
button {
@include barModule;
// override some styles provided by barModule
// to better suit the position of the workspaces
// module
margin: 5px 3px;
min-width: 0.6rem;
min-height: 0.6rem;
color: transparent;
background: $onSurface;
border-radius: 99px;
&:hover {
background: $lavender;
}
&.focused {
border-radius: 18px;
background: $blue;
padding: 8px 0;
}
}
}