testttttttttt
This commit is contained in:
parent
edda56f8f6
commit
0ebad6023a
2 changed files with 32 additions and 0 deletions
|
@ -5,6 +5,7 @@ Summary: Librewolf, with the privacy.override_rfp_for_color_scheme option
|
|||
License: MPL-2.0
|
||||
URL: https://git.askiiart.net/pkg-repo/librewolf-allow-dark
|
||||
BuildRequires: tar zstd
|
||||
Source0: librewolf.desktop
|
||||
|
||||
%description
|
||||
Librewolf with the privacy.override_rfp_for_color_scheme about:config option added, which if enabled lets you change the color scheme even if rfp is turned on
|
||||
|
@ -22,6 +23,10 @@ mkdir -p %{buildroot}%{_bindir}
|
|||
mkdir -p %{buildroot}%{_datadir}/applications
|
||||
|
||||
mv ./librewolf %{buildroot}%{_bindir}/librewolf
|
||||
mv %{_topdir}/librewolf.desktop
|
||||
|
||||
find / -name "librewolf.desktop"
|
||||
|
||||
resolutions=(16 32 64 128)
|
||||
for res in $resolutions; do
|
||||
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${res}x${res}/apps
|
||||
|
|
27
librewolf.desktop
Normal file
27
librewolf.desktop
Normal file
|
@ -0,0 +1,27 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=LibreWolf
|
||||
GenericName=Web Browser
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
MimeType=application/json;application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https;
|
||||
Comment=Browse the World Wide Web
|
||||
Categories=Network;WebBrowser;Security;
|
||||
StartupWMClass=librewolf-default
|
||||
Exec=MYDIR/librewolf %u
|
||||
Icon=librewolf
|
||||
|
||||
Actions=new-window;new-private-window;safe-mode;preferences;
|
||||
|
||||
[Desktop Action new-window]
|
||||
Name=New Window
|
||||
Exec=MYDIR/librewolf
|
||||
[Desktop Action new-private-window]
|
||||
Name=New Private Window
|
||||
Exec=MYDIR/librewolf --private-window %u
|
||||
[Desktop Action safe-mode]
|
||||
Name=Start in Safe Mode
|
||||
Exec=MYDIR/librewolf --safe-mode
|
||||
[Desktop Action preferences]
|
||||
Name=Show Preferences
|
||||
Exec=MYDIR/librewolf --preferences
|
Loading…
Add table
Add a link
Reference in a new issue