Update font and power icon.

This commit is contained in:
Jas Singh
2024-06-23 21:46:18 -07:00
parent 42b8948e48
commit f03443a252
12 changed files with 42 additions and 38 deletions

View File

@@ -1,5 +1,5 @@
const date = Variable("", {
poll: [1000, 'date "+󰃭 %a %b %d 󱑍 %I:%M:%S %p"'],
poll: [1000, 'date "+󰃭 %a %b %d %I:%M:%S %p"'],
});
const Clock = () => {

View File

@@ -34,7 +34,7 @@ const Media = () => {
["Mozilla Firefox", "󰈹 "],
["Microsoft Edge", "󰇩 "],
["(.*)Discord(.*)", " "],
["Plex", "󰚺 Plex"],
["Plex", "󰚺 "],
["(.*) Spotify Free", "󰓇 "],
["(.*)Spotify Premium", "󰓇 "],
["Spotify", "󰓇 "],

View File

@@ -23,6 +23,7 @@ const Network = () => {
return {
component: Widget.Box({
vpack: "center",
class_name: "bar-network",
children: network
.bind("primary")

View File

@@ -3,9 +3,9 @@ export const Power = () => {
component: Widget.Box({
child: Widget.Button({
class_name: "bar-powermenu",
child: Widget.Label({
child: Widget.Icon({
class_name: "bar-power_label",
label: "",
icon: "system-shutdown-symbolic",
}),
}),
}),

View File

@@ -26,17 +26,20 @@ const Volume = () => {
};
const volIcn = Widget.Label({
vpack: "center",
label: getIcon(),
class_name: "bar-volume_icon",
});
const volPct = Widget.Label({
vpack: "center",
label: audio.speaker.bind("volume").as((v) => ` ${Math.floor(v * 100)}%`),
class_name: "bar-volume_percentage",
});
return {
component: Widget.Box({
vpack: "center",
class_name: "volume",
children: [volIcn, volPct],
}),

View File

@@ -1,7 +1,7 @@
@import '../colors';
.bar-bt_icon {
font-size: 1.2em;
font-size: 1.15em;
color: $sky;
}

View File

@@ -2,5 +2,5 @@
.bar-power_label {
color: $red;
margin-right: 0.2rem;
margin-top: 0.2rem;
}

View File

@@ -1,8 +1,8 @@
* {
all: unset;
font-family: "JetBrains Mono Nerd Font";
font-size: 1.15rem;
font-weight: bold;
font-family: "Ubuntu";
font-size: 1.2rem;
font-weight: 600;
}
//general

View File

@@ -1,7 +1,7 @@
@import "../colors";
.media-indicator-container {
min-width: 41rem;
min-width: 40rem;
min-height: 10rem;
background: $mantle;
border: 0.25rem solid $surface0;

View File

@@ -1,8 +1,8 @@
* {
all: unset;
font-family: "JetBrains Mono Nerd Font";
font-size: 1.15rem;
font-weight: bold;
font-family: "Ubuntu";
font-size: 1.2rem;
font-weight: 600;
}
menu {
@@ -304,7 +304,7 @@ spinner:checked {
}
.bar-bt_icon {
font-size: 1.2em;
font-size: 1.15em;
color: #89dceb;
}
@@ -387,7 +387,7 @@ spinner:checked {
.bar-power_label {
color: #f38ba8;
margin-right: 0.2rem;
margin-top: 0.2rem;
}
.bar {
@@ -896,7 +896,7 @@ window#powermenu .powermenu.box {
}
.media-indicator-container {
min-width: 41rem;
min-width: 40rem;
min-height: 10rem;
background: #181825;
border: 0.25rem solid #313244;