feat(ags bar): make slide down open applauncher
This commit is contained in:
parent
03ea25f56e
commit
ee84e4c7bc
2 changed files with 7 additions and 4 deletions
|
@ -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']],
|
||||
}));
|
||||
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue