From 30b8133d9df30bf1193b45686cbf34638e492ce6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Sun, 1 May 2022 10:17:09 +0200 Subject: [PATCH] Update deps in installation instructions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 61844cd..b596168 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,11 @@ A plasmoid for integrating i3 with KDE Plasma. ## Installation -+ Install system dependencies libsigc++-2.0 libjsoncpp extra-cmake-modules - + For Debian based distros: - ``` - sudo apt install -y libsigc++-2.0-dev libjsoncpp-dev extra-cmake-modules ++ Install system dependencies: libsigc++-2.0 libjsoncpp extra-cmake-modules qt-labs-qmlmodels make cmake + + For Debian based distros: + + ```sh + sudo apt install -y libsigc++-2.0-dev libjsoncpp-dev extra-cmake-modules qml-module-qt-labs-qmlmodels make cmake ``` + Build and install i3-pager: @@ -63,10 +64,10 @@ If you can't see any icons make sure `Font Awesome` is installed as `Font Awesom You can choose to hide workspace names in the plasmoid settings. - ## Development Build with debug mode: + ```bash cmake -DCMAKE_INSTALL_PREFIX=$(kf5-config --prefix) -DCMAKE_BUILD_TYPE=Debug -B build make -C build @@ -84,11 +85,13 @@ killall plasmashell; kstart5 plasmashell The `plasmoid` folder contains the code for the widget and settings. To quickly prototype changes use plasmoidviewer: + ```bash plasmoidviewer --applet plasmoid ``` For better logging override QT's log format: + ``` QT_MESSAGE_PATTERN="[%{type}] (%{function}:%{line}) - %{message}" plasmoidviewer --applet plasmoid ```