nixos-configs/devices/wim/config/ags/ts/misc/background-fade.ts
matt1432 3e0b416a33
All checks were successful
Discord / discord commits (push) Has been skipped
refactor(ags): switch to TypeScript
2024-01-13 11:15:08 -05:00

15 lines
447 B
TypeScript

import { Window } from 'resource:///com/github/Aylur/ags/widget.js';
export default () => Window({
name: 'bg-gradient',
layer: 'background',
exclusivity: 'ignore',
anchor: ['top', 'bottom', 'left', 'right'],
css: `
background-image: -gtk-gradient (linear,
left top, left bottom,
from(rgba(0, 0, 0, 0.5)),
to(rgba(0, 0, 0, 0)));
`,
});