sway
This commit is contained in:
parent
8fdbd1f4ea
commit
d1cc5e20ba
2 changed files with 10 additions and 3 deletions
10
style.scss
10
style.scss
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue