nixos-configs/devices/wim/config/ags/js/misc/background-fade.js

16 lines
447 B
JavaScript
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)));
`,
});