feat(ags bar): make slide down open applauncher

This commit is contained in:
matt1432 2023-11-01 14:31:55 -04:00
parent 03ea25f56e
commit ee84e4c7bc
2 changed files with 7 additions and 4 deletions

View file

@ -19,7 +19,7 @@ export default ({
connections: [[gesture, () => {
const velocity = gesture.get_velocity()[1];
if (velocity < -100)
App.openWindow('quick-settings');
App.openWindow('applauncher');
}, 'update']],
}));

View file

@ -20,9 +20,12 @@ export const BgGradient = () => Window({
name: 'bg-gradient',
layer: 'background',
anchor: ['top', 'bottom', 'left', 'right'],
style: `background-image: -gtk-gradient (linear,
left top, left bottom,
from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));`,
style: `
background-image: -gtk-gradient (linear,
left top, left bottom,
from(rgba(0, 0, 0, 0.5)),
to(rgba(0, 0, 0, 0)));
`,
});
export const Bar = () => Window({