Compare commits

...

2 commits

3 changed files with 23 additions and 12 deletions

View file

@ -34,7 +34,7 @@
"window.menuBarVisibility" = "toggle";
"window.zoomLevel" = -0.25;
"workbench.colorTheme" = "Catppuccin Mocha";
"workbench.editor.untitled.hint" = "hidden";
"workbench.editor.empty.hint" = "hidden";
"workbench.iconTheme" = "catppuccin-mocha";
"gitlens.telemetry.enabled" = false;
"telemetry.telemetryLevel" = "off";

View file

@ -35,31 +35,35 @@ $colors: $rosewater, $flamingo, $pink, $mauve, $red, $maroon, $peach, $yellow, $
}
.seperator {
font-size: 19px;
margin-top: -1px;
font-size: 21px;
&.up {
margin-top: -1px;
margin-bottom: -2px;
color: mix(nth($colors, $i), $mantle, 30%);
}
&.up.active {
&.active {
color: mix(nth($colors, $i), $mantle, 100%);
}
}
&.down {
margin-left: -12px;
margin-right: -1px;
margin-bottom: -1px;
margin-top: -2px;
@if $i ==10 {
color: transparent;
}
@else {
color: mix(nth($colors, $i + 1), $mantle, 30%);
&.active {
color: mix(nth($colors, $i + 1), $mantle, 100%);
}
color: mix(nth($colors, $i + 1), $mantle, 30%);
}
}
}
@ -73,6 +77,13 @@ $colors: $rosewater, $flamingo, $pink, $mauve, $red, $maroon, $peach, $yellow, $
all: unset;
}
checkbutton {
all: unset;
margin: 4 20px;
border-radius: 50%;
background-color: $surface0;
}
.metric scale trough highlight {
all: unset;
background-color: $blue;

View file

@ -6,7 +6,6 @@
:x "0%"
:y "0%"
:width "100%"
:height "22px"
:anchor "top center"
)
:reserve (struts
@ -31,6 +30,10 @@
:orientation "h"
:space-evenly false
:halign "end"
(checkbox
:onchecked "systemctl --user stop swayidle"
:onunchecked "systemctl --user restart swayidle"
)
(metric
:label "󰕾"
:value volume
@ -100,8 +103,6 @@
)
)
(defwidget metric [label value onchange]
(box
:orientation "h"
@ -121,7 +122,6 @@
)
)
(defpoll volume
:interval "1s"
"pamixer --get-volume"