Skip to content

Commit 5bfb4a7

Browse files
committed
Improve integration with desktop environments
1 parent 304e17d commit 5bfb4a7

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

ChangeLog

+6-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@
88
* src/main.c (main): Removed unnecessary debug statements
99
printing the number of loaded rules and the selected command.
1010

11-
* src/*.c, src/*.h: Corrected typo in copyright notice ('Brigw' ->
12-
'Brogw').
11+
* src/*.c, src/*.h: Corrected typo in copyright notice.
12+
13+
* etc/brogw.desktop: Updated to conform with the Desktop Entry
14+
specification. Added 'Version', 'GenericName', and
15+
'StartupNotify' fields. Specified `Terminal=false` for graphical
16+
environments.
1317

1418
2024-12-13 Serghei Iakovlev <gnu@serghei.pl>
1519

NEWS

+6
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ Added validation to reject empty string inputs, e.g., 'brogw ""'.
3636
** Code cleanup.
3737
Cleaned up runtime output by removing unnecessary debug logs.
3838

39+
** Improved integration with desktop environments.
40+
Updated the '.desktop' file to conform with the Freedesktop Desktop
41+
Entry specification. Added 'Version', 'GenericName', 'Terminal' and
42+
'StartupNofify' fields to ensure proper behavior in graphical
43+
environments.
44+
3945
* Release 1.0, 2024-12-10
4046

4147
Initial release.

etc/brogw.desktop

+7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1+
# For information about the Desktop Entry specification,
2+
# see http://freedesktop.org/wiki/Specifications/desktop-entry-spec.
3+
14
[Desktop Entry]
5+
Version=1.0
26
Name=Brogw
7+
GenericName=Web Browser
38
Comment=Route links to appropriate web browser
49
Type=Application
510
Exec=brogw %u
11+
Terminal=false
612
Categories=Network;WebBrowser
13+
StartupNotify=false
714
MimeType=x-scheme-handler/http;x-scheme-handler/https;

0 commit comments

Comments
 (0)