mirror of
https://github.com/sneexy-boi/copr.git
synced 2025-07-07 08:05:29 +02:00
fix(zen-browser): provide zen files. oops
This commit is contained in:
parent
43817b4426
commit
da8c3536de
2 changed files with 22 additions and 4 deletions
18
zen-browser/zen-twilight
Normal file
18
zen-browser/zen-twilight
Normal file
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
[ -z "$MOZ_DISABLE_WAYLAND" ] && { [ "$XDG_CURRENT_DESKTOP" = "GNOME" ] && [ -n "$WAYLAND_DISPLAY" ] || [ "$XDG_SESSION_TYPE" = "wayland" ]; } && export MOZ_ENABLE_WAYLAND=1 && export MOZ_DBUS_REMOTE=1
|
||||
|
||||
if [ "$XDG_CURRENT_DESKTOP" = "KDE" ] && [ ! -e "${HOME}/.zen/native-messaging-hosts/org.kde.plasma.browser_integration.json" ]; then
|
||||
mkdir -p "${HOME}/.zen/native-messaging-hosts"
|
||||
[ -r /usr/lib64/mozilla/native-messaging-hosts/org.kde.plasma.browser_integration.json ] && ln -s /usr/lib64/mozilla/native-messaging-hosts/org.kde.plasma.browser_integration.json "${HOME}/.zen/native-messaging-hosts/org.kde.plasma.browser_integration.json"
|
||||
fi
|
||||
|
||||
if [ "$XDG_CURRENT_DESKTOP" = "GNOME" ] && { [ ! -e "${HOME}/.zen/native-messaging-hosts/org.gnome.browser_connector.json" ] || [ ! -e "${HOME}/.zen/native-messaging-hosts/org.gnome.chrome_gnome_shell.json" ]; }; then
|
||||
mkdir -p "${HOME}/.zen/native-messaging-hosts"
|
||||
[ -r /usr/lib64/mozilla/native-messaging-hosts/org.gnome.browser_connector.json ] && ln -s /usr/lib64/mozilla/native-messaging-hosts/org.gnome.browser_connector.json "${HOME}/.zen/native-messaging-hosts/org.gnome.browser_connector.json"
|
||||
[ -r /usr/lib64/mozilla/native-messaging-hosts/org.gnome.chrome_gnome_shell.json ] && ln -s /usr/lib64/mozilla/native-messaging-hosts/org.gnome.chrome_gnome_shell.json "${HOME}/.zen/native-messaging-hosts/org.gnome.chrome_gnome_shell.json"
|
||||
fi
|
||||
|
||||
export MOZ_APP_LAUNCHER="$0"
|
||||
|
||||
exec /opt/zen-twilight/zen-bin "$@"
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env xdg-open
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Zen Browser (Twilight)
|
||||
Name=Zen Browser
|
||||
GenericName=Web Browser
|
||||
GenericName[ca]=Navegador web
|
||||
GenericName[cs]=Webový prohlížeč
|
||||
|
@ -140,7 +140,7 @@ Name[wo]=Palanteer bu bees
|
|||
Name[xh]=Ifestile entsha
|
||||
Name[zh_CN]=新建窗口
|
||||
Name[zh_TW]=開新視窗
|
||||
Exec=zen-browser --new-window %u
|
||||
Exec=zen-twilight --new-window %u
|
||||
|
||||
[Desktop Action new-private-window]
|
||||
Name=Open a New Private Window
|
||||
|
@ -248,11 +248,11 @@ Name[wo]=Panlanteeru biir bu bees
|
|||
Name[xh]=Ifestile yangasese entsha
|
||||
Name[zh_CN]=新建隐私浏览窗口
|
||||
Name[zh_TW]=新增隱私視窗
|
||||
Exec=zen-browser --private-window %u
|
||||
Exec=zen-twilight --private-window %u
|
||||
|
||||
[Desktop Action profile-manager-window]
|
||||
Name=Open the Profile Manager
|
||||
Name[cs]=Správa profilů
|
||||
Name[de]=Profilverwaltung öffnen
|
||||
Name[fr]=Ouvrir le gestionnaire de profils
|
||||
Exec=zen-browser --ProfileManager
|
||||
Exec=zen-twilight --ProfileManager
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue