feat: kitty to ghostty

This commit is contained in:
2025-03-27 12:53:41 +03:00
parent 6105e157c7
commit 530be0cf44
7 changed files with 26 additions and 24 deletions

View File

@ -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(

View File

@ -10,7 +10,7 @@ export default function Wifi() {
{wifi.as(wifi => wifi && (
<button
className="Wifi"
onClicked={() => {execAsync("kitty nmtui")}}>
onClicked={() => {execAsync("ghostty --title=nmtui -e nmtui")}}>
<box>
<icon
tooltipText={bind(wifi, "ssid").as(String)}