浏览代码

Base: Add icons to man pages for GUI applications

Differentiate GUI applications in man pages with icons.

This is the revert of the revert commit, now that the icon processing
was fixed in 89c0f84a280778a877b89d1b5f3facf5020095fb.
Revert: dae298e9df23a2f2be7f1b5a5c4726096c310a58
Original: 74238d0abaac7c36c49e33e863c65eb6b199d9f3

Co-authored-by: electrikmilk <brandonjordan124@gmail.com>
Brian Gianforcaro 3 年之前
父节点
当前提交
64dfb3a28f

+ 0 - 1
Base/root/generate_manpages.sh

@@ -8,7 +8,6 @@ echo
 rm -rf generated_manpages || exit 1
 rm -rf generated_manpages || exit 1
 
 
 for i in ( \
 for i in ( \
-            (Eyes 1) \
             (UserspaceEmulator 1) \
             (UserspaceEmulator 1) \
             (TelnetServer 1) \
             (TelnetServer 1) \
             (WebServer 1) \
             (WebServer 1) \

+ 2 - 1
Base/usr/share/man/man1/CharacterMap.md

@@ -1,6 +1,6 @@
 ## Name
 ## Name
 
 
-Character Map
+![Icon](/res/icons/16x16/app-character-map.png) Character Map
 
 
 [Open](file:///bin/CharacterMap)
 [Open](file:///bin/CharacterMap)
 
 
@@ -30,3 +30,4 @@ $ CharacterMap --search "yak"
 ## See Also
 ## See Also
 
 
 * [`FontEditor`(1)](help://man/1/FontEditor) To edit the fonts instead of just viewing them.
 * [`FontEditor`(1)](help://man/1/FontEditor) To edit the fonts instead of just viewing them.
+

+ 1 - 3
Base/usr/share/man/man1/Eyes.md

@@ -1,6 +1,6 @@
 ## Name
 ## Name
 
 
-Eyes
+![Icon](/res/icons/16x16/app-eyes.png) Eyes
 
 
 ## Synopsis
 ## Synopsis
 
 
@@ -16,5 +16,3 @@ $ Eyes [--num-eyes number] [--max-in-row number] [--grid-rows number] [--grid-co
 * `-m number`, `--max-in-row number`: Maximum number of eyes in a row
 * `-m number`, `--max-in-row number`: Maximum number of eyes in a row
 * `-r number`, `--grid-rows number`: Number of rows in grid (incompatible with --number)
 * `-r number`, `--grid-rows number`: Number of rows in grid (incompatible with --number)
 * `-c number`, `--grid-cols number`: Number of columns in grid (incompatible with --number)
 * `-c number`, `--grid-cols number`: Number of columns in grid (incompatible with --number)
-
-<!-- Auto-generated through ArgsParser -->

+ 2 - 1
Base/usr/share/man/man1/FontEditor.md

@@ -1,6 +1,6 @@
 ## Name
 ## Name
 
 
-FontEditor - Serenity font editor
+![Icon](/res/icons/16x16/app-font-editor.png) FontEditor - Serenity font editor
 
 
 [Open](file:///bin/FontEditor)
 [Open](file:///bin/FontEditor)
 
 
@@ -19,3 +19,4 @@ FontEditor is a font editing application for Serenity.
 ```sh
 ```sh
 $ FontEditor /res/fonts/CsillaRegular10.font
 $ FontEditor /res/fonts/CsillaRegular10.font
 ```
 ```
+

+ 1 - 1
Base/usr/share/man/man1/Help.md

@@ -1,6 +1,6 @@
 ## Name
 ## Name
 
 
-Help
+![Icon](/res/icons/16x16/app-help.png) Help
 
 
 ## Synopsis
 ## Synopsis
 
 

+ 2 - 1
Base/usr/share/man/man1/ImageViewer.md

@@ -1,6 +1,6 @@
 ## Name
 ## Name
 
 
-Image Viewer - SerenityOS image viewer
+![Icon](/res/icons/16x16/filetype-image.png) Image Viewer - SerenityOS image viewer
 
 
 [Open](file:///bin/ImageViewer)
 [Open](file:///bin/ImageViewer)
 
 
@@ -23,3 +23,4 @@ ImageViewer is an image viewing application for SerenityOS.
 ```sh
 ```sh
 $ ImageViewer /res/graphics/buggie.png
 $ ImageViewer /res/graphics/buggie.png
 ```
 ```
+

+ 1 - 2
Base/usr/share/man/man1/Inspector.md

@@ -1,6 +1,6 @@
 ## Name
 ## Name
 
 
-Inspector - Serenity process inspector
+![Icon](/res/icons/16x16/app-inspector.png) Inspector - Serenity process inspector
 
 
 [Open](file:///bin/Inspector)
 [Open](file:///bin/Inspector)
 
 
@@ -28,4 +28,3 @@ via UNIX socket.
 ```sh
 ```sh
 $ Inspector $(pidof Shell)
 $ Inspector $(pidof Shell)
 ```
 ```
-

+ 1 - 1
Base/usr/share/man/man1/Mail.md

@@ -1,6 +1,6 @@
 ## Name
 ## Name
 
 
-Mail - Serenity e-mail client
+![Icon](/res/icons/16x16/app-mail.png)  Mail - Serenity e-mail client
 
 
 [Open](file:///bin/Mail)
 [Open](file:///bin/Mail)
 
 

+ 2 - 1
Base/usr/share/man/man1/Playground.md

@@ -1,6 +1,6 @@
 ## Name
 ## Name
 
 
-Playground - GUI Markup Language (GML) editor
+![Icon](/res/icons/16x16/app-playground.png) Playground - GUI Markup Language (GML) editor
 
 
 [Open](file:///bin/Playground)
 [Open](file:///bin/Playground)
 
 
@@ -32,3 +32,4 @@ $ Playground /home/anon/example.gml
 ## See also
 ## See also
 
 
 * [`gml-format`(1)](help://man/1/gml-format) For automated GML formatting
 * [`gml-format`(1)](help://man/1/gml-format) For automated GML formatting
+

+ 1 - 1
Base/usr/share/man/man1/Profiler.md

@@ -1,6 +1,6 @@
 ## Name
 ## Name
 
 
-Profiler - Serenity process profiler
+![Icon](/res/icons/16x16/app-profiler.png) Profiler - Serenity process profiler
 
 
 [Open](file:///bin/Profiler)
 [Open](file:///bin/Profiler)
 
 

+ 1 - 1
Base/usr/share/man/man1/Terminal.md

@@ -1,6 +1,6 @@
 ## Name
 ## Name
 
 
-Terminal - Serenity terminal emulator
+![Icon](/res/icons/16x16/app-terminal.png) Terminal - Serenity terminal emulator
 
 
 [Open](file:///bin/Terminal)
 [Open](file:///bin/Terminal)
 
 

+ 1 - 1
Base/usr/share/man/man1/TextEditor.md

@@ -1,6 +1,6 @@
 ## Name
 ## Name
 
 
-TextEditor - SerenityOS text editor
+![Icon](/res/icons/16x16/app-text-editor.png) TextEditor - SerenityOS text editor
 
 
 [Open](file:///bin/TextEditor)
 [Open](file:///bin/TextEditor)
 
 

+ 1 - 1
Base/usr/share/man/man6/2048.md

@@ -1,6 +1,6 @@
 ## Name
 ## Name
 
 
-2048
+![Icon](/res/icons/16x16/app-2048.png) 2048
 
 
 ## Synopsis
 ## Synopsis
 
 

+ 1 - 1
Base/usr/share/man/man6/Breakout.md

@@ -1,6 +1,6 @@
 ## Name
 ## Name
 
 
-Breakout
+![Icon](/res/icons/16x16/app-breakout.png) Breakout
 
 
 ## Synopsis
 ## Synopsis
 
 

+ 1 - 1
Base/usr/share/man/man6/Chess.md

@@ -1,6 +1,6 @@
 ## Name
 ## Name
 
 
-Chess
+![Icon](/res/icons/16x16/app-chess.png) Chess
 
 
 ## Synopsis
 ## Synopsis
 
 

+ 1 - 1
Base/usr/share/man/man6/FlappyBug.md

@@ -1,6 +1,6 @@
 ## Name
 ## Name
 
 
-Flappy Bug
+![Icon](/res/icons/16x16/app-flappybug.png) Flappy Bug
 
 
 ## Synopsis
 ## Synopsis
 
 

+ 1 - 1
Base/usr/share/man/man6/GameOfLife.md

@@ -1,6 +1,6 @@
 ## Name
 ## Name
 
 
-GameOfLife
+![Icon](/res/icons/16x16/app-gameoflife.png) GameOfLife
 
 
 ## Synopsis
 ## Synopsis
 
 

+ 1 - 1
Base/usr/share/man/man6/Hearts.md

@@ -1,6 +1,6 @@
 ## Name
 ## Name
 
 
-Hearts - The Hearts card game
+![Icon](/res/icons/16x16/app-hearts.png) Hearts - The Hearts card game
 
 
 ## Synopsis
 ## Synopsis
 
 

+ 1 - 1
Base/usr/share/man/man6/Minesweeper.md

@@ -1,6 +1,6 @@
 ## Name
 ## Name
 
 
-Minesweeper
+![Icon](/res/icons/16x16/app-minesweeper.png) Minesweeper
 
 
 ## Synopsis
 ## Synopsis
 
 

+ 1 - 1
Base/usr/share/man/man6/Pong.md

@@ -1,6 +1,6 @@
 ## Name
 ## Name
 
 
-Pong
+![Icon](/res/icons/16x16/app-pong.png) Pong
 
 
 ## Synopsis
 ## Synopsis
 
 

+ 1 - 1
Base/usr/share/man/man6/Snake.md

@@ -1,6 +1,6 @@
 ## Name
 ## Name
 
 
-Snake
+![Icon](/res/icons/16x16/app-snake.png) Snake
 
 
 ## Synopsis
 ## Synopsis