parent
e2d8754f81
commit
04003d26ee
6 changed files with 179 additions and 2 deletions
nixosModules/ags-v2/config/widgets/bar
61
nixosModules/ags-v2/config/widgets/bar/binto.tsx
Normal file
61
nixosModules/ags-v2/config/widgets/bar/binto.tsx
Normal file
|
@ -0,0 +1,61 @@
|
|||
import { Astal, Gtk } from 'astal/gtk3';
|
||||
|
||||
import Audio from './items/audio';
|
||||
import Clock from './items/clock';
|
||||
import CurrentClient from './items/current-client';
|
||||
import Network from './items/network';
|
||||
import NotifButton from './items/notif-button';
|
||||
import SysTray from './items/tray';
|
||||
import Workspaces from './items/workspaces';
|
||||
|
||||
import BarRevealer from './fullscreen';
|
||||
import Separator from '../misc/separator';
|
||||
import { get_gdkmonitor_from_desc } from '../../lib';
|
||||
|
||||
|
||||
export default () => (
|
||||
<BarRevealer
|
||||
gdkmonitor={get_gdkmonitor_from_desc('desc:Acer Technologies Acer K212HQL T3EAA0014201')}
|
||||
exclusivity={Astal.Exclusivity.EXCLUSIVE}
|
||||
anchor={
|
||||
Astal.WindowAnchor.BOTTOM |
|
||||
Astal.WindowAnchor.LEFT |
|
||||
Astal.WindowAnchor.RIGHT
|
||||
}
|
||||
>
|
||||
<centerbox className="bar widget">
|
||||
<box hexpand halign={Gtk.Align.START}>
|
||||
<Workspaces />
|
||||
|
||||
<Separator size={8} />
|
||||
|
||||
<CurrentClient />
|
||||
|
||||
<Separator size={8} />
|
||||
</box>
|
||||
|
||||
<box>
|
||||
<Clock />
|
||||
</box>
|
||||
|
||||
<box hexpand halign={Gtk.Align.END}>
|
||||
<SysTray />
|
||||
|
||||
<Separator size={8} />
|
||||
|
||||
<Network />
|
||||
|
||||
<Separator size={8} />
|
||||
|
||||
<NotifButton />
|
||||
|
||||
<Separator size={8} />
|
||||
|
||||
<Audio />
|
||||
|
||||
<Separator size={2} />
|
||||
</box>
|
||||
</centerbox>
|
||||
|
||||
</BarRevealer>
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue