nixos-configs/modules/ags/config/ts/misc/background-fade.ts

16 lines
447 B
TypeScript
Raw Normal View History

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)));
`,
});