Compare commits
3 Commits
bfe5941c81
...
d6a8f3ecc3
Author | SHA1 | Date | |
---|---|---|---|
d6a8f3ecc3 | |||
fe11f6c655 | |||
c1857b56e0 |
@ -64,6 +64,9 @@
|
|||||||
# Enable fstrim
|
# Enable fstrim
|
||||||
services.fstrim.enable = true;
|
services.fstrim.enable = true;
|
||||||
|
|
||||||
|
# Enable upower
|
||||||
|
services.upower.enable = true;
|
||||||
|
|
||||||
# Enable ratbagd to customize mouse options
|
# Enable ratbagd to customize mouse options
|
||||||
services.ratbagd.enable = true;
|
services.ratbagd.enable = true;
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ function SysTray() {
|
|||||||
|
|
||||||
return <box className="SysTray">
|
return <box className="SysTray">
|
||||||
{bind(tray, "items").as(items => items.map(item => (
|
{bind(tray, "items").as(items => items.map(item => (
|
||||||
<menubutton
|
<menubutton visible={item.title != "Wayland to X11 Video bridge"}
|
||||||
tooltipMarkup={bind(item, "tooltipMarkup")}
|
tooltipMarkup={bind(item, "tooltipMarkup")}
|
||||||
usePopover={false}
|
usePopover={false}
|
||||||
actionGroup={bind(item, "actionGroup").as(ag => ["dbusmenu", ag])}
|
actionGroup={bind(item, "actionGroup").as(ag => ["dbusmenu", ag])}
|
||||||
@ -29,7 +29,7 @@ function Wifi() {
|
|||||||
|
|
||||||
return <box visible={wifi.as(Boolean)}>
|
return <box visible={wifi.as(Boolean)}>
|
||||||
{wifi.as(wifi => wifi && (
|
{wifi.as(wifi => wifi && (
|
||||||
<icon
|
<icon visible={wifi.ssid != null}
|
||||||
tooltipText={bind(wifi, "ssid").as(String)}
|
tooltipText={bind(wifi, "ssid").as(String)}
|
||||||
className="Wifi"
|
className="Wifi"
|
||||||
icon={bind(wifi, "iconName")}
|
icon={bind(wifi, "iconName")}
|
||||||
@ -59,7 +59,7 @@ function BatteryLevel() {
|
|||||||
visible={bind(bat, "isPresent")}>
|
visible={bind(bat, "isPresent")}>
|
||||||
<icon icon={bind(bat, "batteryIconName")} />
|
<icon icon={bind(bat, "batteryIconName")} />
|
||||||
<label label={bind(bat, "percentage").as(p =>
|
<label label={bind(bat, "percentage").as(p =>
|
||||||
`${Math.floor(p * 100)} %`
|
` ${Math.floor(p * 100)} %`
|
||||||
)} />
|
)} />
|
||||||
</box>
|
</box>
|
||||||
}
|
}
|
||||||
|
@ -63,6 +63,7 @@ in {
|
|||||||
'')
|
'')
|
||||||
cliphist
|
cliphist
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
adwaita-icon-theme
|
||||||
xwaylandvideobridge
|
xwaylandvideobridge
|
||||||
inputs.ags.packages.${pkgs.system}.battery
|
inputs.ags.packages.${pkgs.system}.battery
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user