Compare commits

..

No commits in common. "3f9d3245161b71e4c7ebc462dd473a25e195b5ef" and "af6ab87de73af886d435985c13ea0b00b51c3497" have entirely different histories.

3 changed files with 12 additions and 23 deletions

View file

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

View file

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

View file

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