fix(xdg-portal): add missing gtk portal
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
f1ed9770ed
commit
1ee6bf65f2
2 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
import { App, Astal, Gtk, idle, Variable } from 'astal';
|
import { Astal, bind, Gtk, idle, Variable } from 'astal';
|
||||||
|
|
||||||
import FullscreenState from './fullscreen';
|
import FullscreenState from './fullscreen';
|
||||||
|
|
||||||
|
@ -18,13 +18,12 @@ export default () => {
|
||||||
Astal.WindowAnchor.LEFT |
|
Astal.WindowAnchor.LEFT |
|
||||||
Astal.WindowAnchor.RIGHT
|
Astal.WindowAnchor.RIGHT
|
||||||
}
|
}
|
||||||
application={App}
|
|
||||||
setup={() => idle(() => {
|
setup={() => idle(() => {
|
||||||
isVisible.set(true);
|
isVisible.set(true);
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
<revealer
|
<revealer
|
||||||
revealChild={isVisible()}
|
revealChild={bind(isVisible)}
|
||||||
transitionType={Gtk.RevealerTransitionType.SLIDE_DOWN}
|
transitionType={Gtk.RevealerTransitionType.SLIDE_DOWN}
|
||||||
transitionDuration={500}
|
transitionDuration={500}
|
||||||
>
|
>
|
||||||
|
|
|
@ -53,6 +53,7 @@ in {
|
||||||
|
|
||||||
extraPortals = [
|
extraPortals = [
|
||||||
pkgs.kdePackages.xdg-desktop-portal-kde
|
pkgs.kdePackages.xdg-desktop-portal-kde
|
||||||
|
pkgs.xdg-desktop-portal-gtk
|
||||||
];
|
];
|
||||||
|
|
||||||
config.hyprland = {
|
config.hyprland = {
|
||||||
|
|
Loading…
Reference in a new issue