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