1
1
Fork 0

hyprland: launch onlyoffice with xdg-desktop-portal flag

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-10-18 15:43:26 -05:00
parent 7c3e4351e6
commit 09fcf7bb42
Signed by: myned
GPG key ID: C7224454F7881A34
2 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ with lib; let
networkmanager_dmenu = "${pkgs.networkmanager_dmenu}/bin/networkmanager_dmenu";
notify-send = "${pkgs.libnotify}/bin/notify-send";
obsidian = "${pkgs.obsidian}/bin/obsidian";
onlyoffice = "${pkgs.onlyoffice-bin}/bin/onlyoffice-desktopeditors";
onlyoffice = "${pkgs.onlyoffice-bin}/bin/onlyoffice-desktopeditors --xdg-desktop-portal";
pkill = "${pkgs.procps}/bin/pkill";
playerctl = "${pkgs.playerctl}/bin/playerctl";
rofi-rbw = "${pkgs.rofi-rbw}/bin/rofi-rbw";

View file

@ -11,7 +11,7 @@ with lib; let
kitty = "${config.home-manager.users.${config.custom.username}.programs.kitty.package}/bin/kitty";
launch = config.home-manager.users.${config.custom.username}.home.file.".local/bin/launch".source;
loupe = "${pkgs.loupe}/bin/loupe";
onlyoffice = "${pkgs.onlyoffice-bin}/bin/onlyoffice-desktopeditors";
onlyoffice = "${pkgs.onlyoffice-bin}/bin/onlyoffice-desktopeditors --xdg-desktop-portal";
pgrep = "${pkgs.procps}/bin/pgrep";
steam = "${config.programs.steam.package}/bin/steam";
virt-manager = "${pkgs.virt-manager}/bin/virt-manager";
@ -33,7 +33,7 @@ in {
"special:android, on-created-empty:${waydroid} app launch com.YoStarEN.Arknights"
"special:music, on-created-empty:${youtube-music}"
"special:office, on-created-empty:[tile] ${onlyoffice}"
"special:office, on-created-empty:[tile] ${onlyoffice} --xdg-desktop-portal"
"special:password, on-created-empty:${launch} --empty --tile --workspace special:password ${_1password}"
"special:steam, on-created-empty:${steam}"
"special:terminal, on-created-empty:${kitty}"