From 64dfb3a28f024fe94e19e00297a75b9d1958e816 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Mon, 17 Jan 2022 02:30:28 -0800 Subject: [PATCH] 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 --- Base/root/generate_manpages.sh | 1 - Base/usr/share/man/man1/CharacterMap.md | 3 ++- Base/usr/share/man/man1/Eyes.md | 4 +--- Base/usr/share/man/man1/FontEditor.md | 3 ++- Base/usr/share/man/man1/Help.md | 2 +- Base/usr/share/man/man1/ImageViewer.md | 3 ++- Base/usr/share/man/man1/Inspector.md | 3 +-- Base/usr/share/man/man1/Mail.md | 2 +- Base/usr/share/man/man1/Playground.md | 3 ++- Base/usr/share/man/man1/Profiler.md | 2 +- Base/usr/share/man/man1/Terminal.md | 2 +- Base/usr/share/man/man1/TextEditor.md | 2 +- Base/usr/share/man/man6/2048.md | 2 +- Base/usr/share/man/man6/Breakout.md | 2 +- Base/usr/share/man/man6/Chess.md | 2 +- Base/usr/share/man/man6/FlappyBug.md | 2 +- Base/usr/share/man/man6/GameOfLife.md | 2 +- Base/usr/share/man/man6/Hearts.md | 2 +- Base/usr/share/man/man6/Minesweeper.md | 2 +- Base/usr/share/man/man6/Pong.md | 2 +- Base/usr/share/man/man6/Snake.md | 2 +- 21 files changed, 24 insertions(+), 24 deletions(-) diff --git a/Base/root/generate_manpages.sh b/Base/root/generate_manpages.sh index 94180915f39..4f6f213185a 100755 --- a/Base/root/generate_manpages.sh +++ b/Base/root/generate_manpages.sh @@ -8,7 +8,6 @@ echo rm -rf generated_manpages || exit 1 for i in ( \ - (Eyes 1) \ (UserspaceEmulator 1) \ (TelnetServer 1) \ (WebServer 1) \ diff --git a/Base/usr/share/man/man1/CharacterMap.md b/Base/usr/share/man/man1/CharacterMap.md index 2999faee709..69e8616364b 100644 --- a/Base/usr/share/man/man1/CharacterMap.md +++ b/Base/usr/share/man/man1/CharacterMap.md @@ -1,6 +1,6 @@ ## Name -Character Map +![Icon](/res/icons/16x16/app-character-map.png) Character Map [Open](file:///bin/CharacterMap) @@ -30,3 +30,4 @@ $ CharacterMap --search "yak" ## See Also * [`FontEditor`(1)](help://man/1/FontEditor) To edit the fonts instead of just viewing them. + diff --git a/Base/usr/share/man/man1/Eyes.md b/Base/usr/share/man/man1/Eyes.md index deaf371b1b8..c1f92e5f3d9 100644 --- a/Base/usr/share/man/man1/Eyes.md +++ b/Base/usr/share/man/man1/Eyes.md @@ -1,6 +1,6 @@ ## Name -Eyes +![Icon](/res/icons/16x16/app-eyes.png) Eyes ## 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 * `-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) - - diff --git a/Base/usr/share/man/man1/FontEditor.md b/Base/usr/share/man/man1/FontEditor.md index 26cd6139cf2..66c6bccc97b 100644 --- a/Base/usr/share/man/man1/FontEditor.md +++ b/Base/usr/share/man/man1/FontEditor.md @@ -1,6 +1,6 @@ ## Name -FontEditor - Serenity font editor +![Icon](/res/icons/16x16/app-font-editor.png) FontEditor - Serenity font editor [Open](file:///bin/FontEditor) @@ -19,3 +19,4 @@ FontEditor is a font editing application for Serenity. ```sh $ FontEditor /res/fonts/CsillaRegular10.font ``` + diff --git a/Base/usr/share/man/man1/Help.md b/Base/usr/share/man/man1/Help.md index 234ddaad7e1..070d9df93df 100644 --- a/Base/usr/share/man/man1/Help.md +++ b/Base/usr/share/man/man1/Help.md @@ -1,6 +1,6 @@ ## Name -Help +![Icon](/res/icons/16x16/app-help.png) Help ## Synopsis diff --git a/Base/usr/share/man/man1/ImageViewer.md b/Base/usr/share/man/man1/ImageViewer.md index 3550e79c5b3..af8a32f194a 100644 --- a/Base/usr/share/man/man1/ImageViewer.md +++ b/Base/usr/share/man/man1/ImageViewer.md @@ -1,6 +1,6 @@ ## Name -Image Viewer - SerenityOS image viewer +![Icon](/res/icons/16x16/filetype-image.png) Image Viewer - SerenityOS image viewer [Open](file:///bin/ImageViewer) @@ -23,3 +23,4 @@ ImageViewer is an image viewing application for SerenityOS. ```sh $ ImageViewer /res/graphics/buggie.png ``` + diff --git a/Base/usr/share/man/man1/Inspector.md b/Base/usr/share/man/man1/Inspector.md index 0cbe13ec9b0..d6e30dd8b0a 100644 --- a/Base/usr/share/man/man1/Inspector.md +++ b/Base/usr/share/man/man1/Inspector.md @@ -1,6 +1,6 @@ ## Name -Inspector - Serenity process inspector +![Icon](/res/icons/16x16/app-inspector.png) Inspector - Serenity process inspector [Open](file:///bin/Inspector) @@ -28,4 +28,3 @@ via UNIX socket. ```sh $ Inspector $(pidof Shell) ``` - diff --git a/Base/usr/share/man/man1/Mail.md b/Base/usr/share/man/man1/Mail.md index 060957d060b..1e054b96dcf 100644 --- a/Base/usr/share/man/man1/Mail.md +++ b/Base/usr/share/man/man1/Mail.md @@ -1,6 +1,6 @@ ## Name -Mail - Serenity e-mail client +![Icon](/res/icons/16x16/app-mail.png) Mail - Serenity e-mail client [Open](file:///bin/Mail) diff --git a/Base/usr/share/man/man1/Playground.md b/Base/usr/share/man/man1/Playground.md index bda28437ff1..05d9ff1a45b 100644 --- a/Base/usr/share/man/man1/Playground.md +++ b/Base/usr/share/man/man1/Playground.md @@ -1,6 +1,6 @@ ## Name -Playground - GUI Markup Language (GML) editor +![Icon](/res/icons/16x16/app-playground.png) Playground - GUI Markup Language (GML) editor [Open](file:///bin/Playground) @@ -32,3 +32,4 @@ $ Playground /home/anon/example.gml ## See also * [`gml-format`(1)](help://man/1/gml-format) For automated GML formatting + diff --git a/Base/usr/share/man/man1/Profiler.md b/Base/usr/share/man/man1/Profiler.md index 37ace8f6a52..81f868d2d65 100644 --- a/Base/usr/share/man/man1/Profiler.md +++ b/Base/usr/share/man/man1/Profiler.md @@ -1,6 +1,6 @@ ## Name -Profiler - Serenity process profiler +![Icon](/res/icons/16x16/app-profiler.png) Profiler - Serenity process profiler [Open](file:///bin/Profiler) diff --git a/Base/usr/share/man/man1/Terminal.md b/Base/usr/share/man/man1/Terminal.md index 9164fb10dbe..8644a5c27cf 100644 --- a/Base/usr/share/man/man1/Terminal.md +++ b/Base/usr/share/man/man1/Terminal.md @@ -1,6 +1,6 @@ ## Name -Terminal - Serenity terminal emulator +![Icon](/res/icons/16x16/app-terminal.png) Terminal - Serenity terminal emulator [Open](file:///bin/Terminal) diff --git a/Base/usr/share/man/man1/TextEditor.md b/Base/usr/share/man/man1/TextEditor.md index 0e8c2ae4989..c58cf310f87 100644 --- a/Base/usr/share/man/man1/TextEditor.md +++ b/Base/usr/share/man/man1/TextEditor.md @@ -1,6 +1,6 @@ ## Name -TextEditor - SerenityOS text editor +![Icon](/res/icons/16x16/app-text-editor.png) TextEditor - SerenityOS text editor [Open](file:///bin/TextEditor) diff --git a/Base/usr/share/man/man6/2048.md b/Base/usr/share/man/man6/2048.md index 3ee58df9eb6..e4c4c0a2ad3 100644 --- a/Base/usr/share/man/man6/2048.md +++ b/Base/usr/share/man/man6/2048.md @@ -1,6 +1,6 @@ ## Name -2048 +![Icon](/res/icons/16x16/app-2048.png) 2048 ## Synopsis diff --git a/Base/usr/share/man/man6/Breakout.md b/Base/usr/share/man/man6/Breakout.md index 76a76364413..cd4d8fc2938 100644 --- a/Base/usr/share/man/man6/Breakout.md +++ b/Base/usr/share/man/man6/Breakout.md @@ -1,6 +1,6 @@ ## Name -Breakout +![Icon](/res/icons/16x16/app-breakout.png) Breakout ## Synopsis diff --git a/Base/usr/share/man/man6/Chess.md b/Base/usr/share/man/man6/Chess.md index d97a93b1cd4..8597bfac14d 100644 --- a/Base/usr/share/man/man6/Chess.md +++ b/Base/usr/share/man/man6/Chess.md @@ -1,6 +1,6 @@ ## Name -Chess +![Icon](/res/icons/16x16/app-chess.png) Chess ## Synopsis diff --git a/Base/usr/share/man/man6/FlappyBug.md b/Base/usr/share/man/man6/FlappyBug.md index 9c3dab13714..469dc39edf2 100644 --- a/Base/usr/share/man/man6/FlappyBug.md +++ b/Base/usr/share/man/man6/FlappyBug.md @@ -1,6 +1,6 @@ ## Name -Flappy Bug +![Icon](/res/icons/16x16/app-flappybug.png) Flappy Bug ## Synopsis diff --git a/Base/usr/share/man/man6/GameOfLife.md b/Base/usr/share/man/man6/GameOfLife.md index 9825278e776..e151ee2368a 100644 --- a/Base/usr/share/man/man6/GameOfLife.md +++ b/Base/usr/share/man/man6/GameOfLife.md @@ -1,6 +1,6 @@ ## Name -GameOfLife +![Icon](/res/icons/16x16/app-gameoflife.png) GameOfLife ## Synopsis diff --git a/Base/usr/share/man/man6/Hearts.md b/Base/usr/share/man/man6/Hearts.md index f6cc8a3c48a..c5f03ffe26c 100644 --- a/Base/usr/share/man/man6/Hearts.md +++ b/Base/usr/share/man/man6/Hearts.md @@ -1,6 +1,6 @@ ## Name -Hearts - The Hearts card game +![Icon](/res/icons/16x16/app-hearts.png) Hearts - The Hearts card game ## Synopsis diff --git a/Base/usr/share/man/man6/Minesweeper.md b/Base/usr/share/man/man6/Minesweeper.md index fd42b10d77b..e58fc2a3aef 100644 --- a/Base/usr/share/man/man6/Minesweeper.md +++ b/Base/usr/share/man/man6/Minesweeper.md @@ -1,6 +1,6 @@ ## Name -Minesweeper +![Icon](/res/icons/16x16/app-minesweeper.png) Minesweeper ## Synopsis diff --git a/Base/usr/share/man/man6/Pong.md b/Base/usr/share/man/man6/Pong.md index d04a61ff024..062ca833e69 100644 --- a/Base/usr/share/man/man6/Pong.md +++ b/Base/usr/share/man/man6/Pong.md @@ -1,6 +1,6 @@ ## Name -Pong +![Icon](/res/icons/16x16/app-pong.png) Pong ## Synopsis diff --git a/Base/usr/share/man/man6/Snake.md b/Base/usr/share/man/man6/Snake.md index 3bf24d742a2..c93d58da19b 100644 --- a/Base/usr/share/man/man6/Snake.md +++ b/Base/usr/share/man/man6/Snake.md @@ -1,6 +1,6 @@ ## Name -Snake +![Icon](/res/icons/16x16/app-snake.png) Snake ## Synopsis