From 85b133d47f79f51f1bba27dc9e79550f58eed4bc Mon Sep 17 00:00:00 2001 From: networkException Date: Tue, 2 Aug 2022 01:20:40 +0200 Subject: [PATCH] Utilities+Base: Rename `pape` utility to `wallpaper` --- Base/usr/share/man/man1/{pape.md => wallpaper.md} | 10 +++++----- Userland/Utilities/CMakeLists.txt | 4 ++-- Userland/Utilities/{pape.cpp => wallpaper.cpp} | 0 3 files changed, 7 insertions(+), 7 deletions(-) rename Base/usr/share/man/man1/{pape.md => wallpaper.md} (63%) rename Userland/Utilities/{pape.cpp => wallpaper.cpp} (100%) diff --git a/Base/usr/share/man/man1/pape.md b/Base/usr/share/man/man1/wallpaper.md similarity index 63% rename from Base/usr/share/man/man1/pape.md rename to Base/usr/share/man/man1/wallpaper.md index c116c24236..ca439ae01f 100644 --- a/Base/usr/share/man/man1/pape.md +++ b/Base/usr/share/man/man1/wallpaper.md @@ -1,16 +1,16 @@ ## Name -pape - manage the system wallpaper. +wallpaper - manage the system wallpaper. ## Synopsis ```**sh -$ pape [--show-all] [--show-current] [name] +$ wallpaper [--show-all] [--show-current] [name] ``` ## Description -The `pape` utility can be used to set the system wallpaper and +The `wallpaper` utility can be used to set the system wallpaper and list available wallpapers in the `/res/wallpapers/` directory. ## Options @@ -23,11 +23,11 @@ list available wallpapers in the `/res/wallpapers/` directory. Set wallpaper to `/res/wallpapers/grid.png`: ```**sh -$ pape grid.png +$ wallpaper grid.png ``` List available wallpapers: ```**sh -$ pape -a +$ wallpaper -a ``` diff --git a/Userland/Utilities/CMakeLists.txt b/Userland/Utilities/CMakeLists.txt index eef5e9ae84..fddcfd195a 100644 --- a/Userland/Utilities/CMakeLists.txt +++ b/Userland/Utilities/CMakeLists.txt @@ -8,7 +8,7 @@ list(APPEND REQUIRED_TARGETS ) list(APPEND RECOMMENDED_TARGETS adjtime aplay abench asctl bt checksum chres cksum copy fortune gunzip gzip init install keymap lsirq lsof lspci man mknod mktemp - nc netstat notify ntpquery open pape passwd pls printf pro shot tar tt unzip zip + nc netstat notify ntpquery open passwd pls printf pro shot tar tt unzip wallpaper zip ) # FIXME: Support specifying component dependencies for utilities (e.g. WebSocket for telws) @@ -168,7 +168,6 @@ target_link_libraries(notify LibGUI LibMain) target_link_libraries(nproc LibMain) target_link_libraries(ntpquery LibMain) target_link_libraries(open LibDesktop LibMain) -target_link_libraries(pape LibGUI LibMain) target_link_libraries(passwd LibCrypt LibMain) target_link_libraries(paste LibGUI LibCore LibMain) target_link_libraries(pathchk LibMain) @@ -240,6 +239,7 @@ target_link_libraries(userdel LibMain) target_link_libraries(usermod LibMain) target_link_libraries(utmpupdate LibMain) target_link_libraries(w LibMain) +target_link_libraries(wallpaper LibGUI LibMain) target_link_libraries(wasm LibMain LibWasm LibLine) target_link_libraries(watch LibMain) target_link_libraries(wc LibMain) diff --git a/Userland/Utilities/pape.cpp b/Userland/Utilities/wallpaper.cpp similarity index 100% rename from Userland/Utilities/pape.cpp rename to Userland/Utilities/wallpaper.cpp