This commit is contained in:
Benjamin Palko 2025-04-06 11:20:10 -04:00
parent 8fdbd1f4ea
commit d1cc5e20ba
2 changed files with 10 additions and 3 deletions

View file

@ -65,10 +65,18 @@ label {
} }
} }
.Tray > * { .Tray {
margin: 0 4px; margin: 0 4px;
} }
.Tray > * {
margin: 0 6px;
image {
-gtk-icon-size: 20px;
}
}
.Workspaces { .Workspaces {
background: $mantle; background: $mantle;
padding: 2px; padding: 2px;

View file

@ -1,4 +1,3 @@
import { bind } from "astal";
import { exec, Variable } from "astal"; import { exec, Variable } from "astal";
import { Gdk } from "astal/gtk4"; import { Gdk } from "astal/gtk4";
@ -38,7 +37,7 @@ const SwayNC = function () {
<button <button
cursor={Gdk.Cursor.new_from_name("pointer", null)} cursor={Gdk.Cursor.new_from_name("pointer", null)}
onClicked={() => exec("swaync-client -t -sw")} onClicked={() => exec("swaync-client -t -sw")}
label={options().as((options) => Icon(options?.alt ?? "none"))} label={options().as((options) => ` ${Icon(options?.alt ?? "none")} `)}
></button> ></button>
); );
}; };