feat: kitty to ghostty

This commit is contained in:
Sweetbread committed 2025-03-27 12:56:44 +03:00
1 parent 4e9b23c9ce
commit 3085c1cf59
6 files changed
+18 -22

No files matched your search

@@ -7,8 +7,8 @@ export default function BatteryLevel() {
const percent = bind(bat, "percentage").as(p => Math.floor(p * 100));
return (
<box
className="Battery"
<box
className="Battery"
visible={bind(bat, "isPresent")}
css={percent.as(p => `
background-image: linear-gradient(
@@ -10,7 +10,7 @@ export default function Wifi() {
{wifi.as(wifi => wifi && (
<button
className="Wifi"
onClicked={() => {execAsync("kitty nmtui")}}>
onClicked={() => {execAsync("ghostty nmtui")}}>
<box>
<icon
tooltipText={bind(wifi, "ssid").as(String)}