[AGS] Fixes, BT apparently crashing
This commit is contained in:
parent
1a4610a2d6
commit
f4b58b08ba
@ -113,6 +113,7 @@ const SinkPicker = (type: AstalWp.MediaClass) => {
|
|||||||
<box vertical>
|
<box vertical>
|
||||||
<label
|
<label
|
||||||
label={`Available Audio ${type === AstalWp.MediaClass.AUDIO_SPEAKER ? "Output" : type === AstalWp.MediaClass.AUDIO_MICROPHONE ? "Input" : ""} Devices`}
|
label={`Available Audio ${type === AstalWp.MediaClass.AUDIO_SPEAKER ? "Output" : type === AstalWp.MediaClass.AUDIO_MICROPHONE ? "Input" : ""} Devices`}
|
||||||
|
cssClasses={[ 'title-2' ]}
|
||||||
></label>
|
></label>
|
||||||
<Gtk.Separator marginBottom={5} marginTop={3}></Gtk.Separator>
|
<Gtk.Separator marginBottom={5} marginTop={3}></Gtk.Separator>
|
||||||
<box vertical cssClasses={["sink-picker"]}>
|
<box vertical cssClasses={["sink-picker"]}>
|
||||||
|
@ -61,6 +61,6 @@ window.Bar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.quick-view-symbol {
|
.quick-view-symbol {
|
||||||
margin: 2px;
|
margin: 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -121,11 +121,15 @@ const WindowPopoverBox = () => {
|
|||||||
<box vertical>
|
<box vertical>
|
||||||
{bind(hypr, 'clients').as(clients => {
|
{bind(hypr, 'clients').as(clients => {
|
||||||
return clients.map(client => {
|
return clients.map(client => {
|
||||||
return <box>
|
return <button child={
|
||||||
<label label={bind(client, 'workspace').as(w => `(WS ${w.name})`)}></label>
|
<box>
|
||||||
<label label={bind(client, 'initialClass').as(c => `[${c}]`)}></label>
|
<label label={bind(client, 'workspace').as(w => `(WS ${w.name})`)}></label>
|
||||||
<label label={bind(client, 'title')}></label>
|
<label label={bind(client, 'initialClass').as(c => `[${c}]`)}></label>
|
||||||
</box>
|
<label label={bind(client, 'title')}></label>
|
||||||
|
</box>
|
||||||
|
}
|
||||||
|
onClicked={() => client.focus()}
|
||||||
|
></button>
|
||||||
})
|
})
|
||||||
})}
|
})}
|
||||||
</box>
|
</box>
|
||||||
|
@ -60,18 +60,30 @@ const SystemInfo = () => {
|
|||||||
onClicked={() => openSysInfo()}
|
onClicked={() => openSysInfo()}
|
||||||
child={
|
child={
|
||||||
<box tooltipText={sysinfo.ramUsed(v => v)}>
|
<box tooltipText={sysinfo.ramUsed(v => v)}>
|
||||||
<image
|
<box
|
||||||
iconName={"power-profile-performance-symbolic"}
|
cssClasses={[ 'quick-view-symbol' ]}
|
||||||
marginEnd={1}
|
>
|
||||||
></image>
|
<image
|
||||||
<label
|
iconName={"power-profile-performance-symbolic"}
|
||||||
label={sysinfo.cpuUtil(util => util)}
|
marginEnd={1}
|
||||||
marginEnd={5}
|
></image>
|
||||||
></label>
|
<label
|
||||||
<image iconName={"histogram-symbolic"}></image>
|
label={sysinfo.cpuUtil(util => util)}
|
||||||
<label label={sysinfo.ramUtil(util => util)}></label>
|
marginEnd={5}
|
||||||
<image iconName={"show-gpu-effects-symbolic"}></image>
|
></label>
|
||||||
<label label={sysinfo.gpuUtil(util => util)}></label>
|
</box>
|
||||||
|
<box
|
||||||
|
cssClasses={[ 'quick-view-symbol' ]}
|
||||||
|
>
|
||||||
|
<image iconName={"histogram-symbolic"}></image>
|
||||||
|
<label label={sysinfo.ramUtil(util => util)}></label>
|
||||||
|
</box>
|
||||||
|
<box
|
||||||
|
cssClasses={[ 'quick-view-symbol' ]}
|
||||||
|
>
|
||||||
|
<image iconName={"show-gpu-effects-symbolic"}></image>
|
||||||
|
<label label={sysinfo.gpuUtil(util => util)}></label>
|
||||||
|
</box>
|
||||||
{panel}
|
{panel}
|
||||||
</box>
|
</box>
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user