nixos-configs/nixosModules/ags/config/ts/date/binto.ts

17 lines
454 B
TypeScript
Raw Normal View History

2024-07-24 11:45:28 -04:00
import PopupWindow from '../misc/popup.ts';
import CalendarWidget from './main.ts';
import { get_gdkmonitor_from_desc } from '../lib.ts';
const RIGHT_MARGIN = 20;
2024-07-24 11:45:28 -04:00
export default () => PopupWindow({
name: 'calendar',
anchor: ['bottom', 'right'],
margins: [0, RIGHT_MARGIN, 0, 0],
2024-07-24 11:45:28 -04:00
transition: 'slide bottom',
gdkmonitor: get_gdkmonitor_from_desc('desc:Acer Technologies Acer K212HQL T3EAA0014201'),
child: CalendarWidget(),
});