From 394927573d72d1a0d831971739839c88b14eae34 Mon Sep 17 00:00:00 2001 From: The_miro Date: Fri, 26 Jun 2026 11:11:19 +0200 Subject: [PATCH] feat(apps): add Rnote module (Flatpak) Installs com.github.flxzt.rnote via Flatpak with cyberqueer theme applied. Registered in TUI installer, answerfile generator, and docs alongside xournal++ in the Productivity section. Co-Authored-By: Claude Sonnet 4.6 --- docs/md/modules.md | 2 ++ setup/generate-answerfile.sh | 1 + setup/modules/optional-Modules/apps/rnote.sh | 10 ++++++++++ setup/tui-install.sh | 4 ++++ 4 files changed, 17 insertions(+) create mode 100755 setup/modules/optional-Modules/apps/rnote.sh diff --git a/docs/md/modules.md b/docs/md/modules.md index 66c53ab..544add5 100644 --- a/docs/md/modules.md +++ b/docs/md/modules.md @@ -204,6 +204,8 @@ bash ~/Dotfiles/setup/install-modules.sh | `productivity` | taskwarrior · watson · jrnl | Task management, time tracking, journaling | | `himalaya` | himalaya (AUR) | Terminal email client | | `toot` | toot (AUR) | Mastodon CLI client | +| `xournal` | xournalpp | Note-taking and PDF annotator | +| `rnote` | Rnote (Flatpak) | Handwriting and note-taking with stylus support | ### System Utilities diff --git a/setup/generate-answerfile.sh b/setup/generate-answerfile.sh index 92777da..a40170c 100644 --- a/setup/generate-answerfile.sh +++ b/setup/generate-answerfile.sh @@ -256,6 +256,7 @@ if [[ "$AF_RUN_TUI" == "true" ]]; then "opendeck" "OpenDeck Stream Deck controller (Flatpak+ydotool)" off \ "onlyoffice" "OnlyOffice office suite (AUR)" off \ "xournal" "Xournal++ note-taking & PDF annotator" off \ + "rnote" "Rnote handwriting & note-taking (Flatpak)" off \ "gimp" "GIMP GNU image manipulation program" off \ "inkscape" "Inkscape vector graphics editor" off \ "krita" "Krita digital painting application" off \ diff --git a/setup/modules/optional-Modules/apps/rnote.sh b/setup/modules/optional-Modules/apps/rnote.sh new file mode 100755 index 0000000..ef8c59f --- /dev/null +++ b/setup/modules/optional-Modules/apps/rnote.sh @@ -0,0 +1,10 @@ +#!/bin/bash +set -euo pipefail +source "$(dirname "${BASH_SOURCE[0]}")/../../lib/logging.sh" + +log "Installing Rnote (Flatpak)..." +ensure_flatpak +flatpak install -y flathub com.github.flxzt.rnote +apply_flatpak_theme "com.github.flxzt.rnote" + +log "Rnote installed." diff --git a/setup/tui-install.sh b/setup/tui-install.sh index f6e3a27..d7b8b34 100755 --- a/setup/tui-install.sh +++ b/setup/tui-install.sh @@ -223,6 +223,7 @@ count_steps() { [[ "$a" == *"lamco-rdp-server"* ]] && TOTAL=$(( TOTAL + 1 )) [[ "$a" == *"qemu"* ]] && TOTAL=$(( TOTAL + 1 )) [[ "$a" == *"xournal"* ]] && TOTAL=$(( TOTAL + 1 )) + [[ "$a" == *"rnote"* ]] && TOTAL=$(( TOTAL + 1 )) [[ "$a" == *"gimp"* ]] && TOTAL=$(( TOTAL + 1 )) [[ "$a" == *"inkscape"* ]] && TOTAL=$(( TOTAL + 1 )) [[ "$a" == *"krita"* ]] && TOTAL=$(( TOTAL + 1 )) @@ -478,6 +479,7 @@ else "opendeck" "OpenDeck Stream Deck controller (Flatpak+ydotool)" off \ "onlyoffice" "OnlyOffice office suite (AUR)" off \ "xournal" "Xournal++ note-taking & PDF annotator" off \ + "rnote" "Rnote handwriting & note-taking (Flatpak)" off \ "gimp" "GIMP GNU image manipulation program" off \ "inkscape" "Inkscape vector graphics editor" off \ "krita" "Krita digital painting application" off \ @@ -589,6 +591,7 @@ if ! $ANSWERFILE_MODE; then [[ "$SELECTED_APPS" == *"opendeck"* ]] && SUMMARY+=" ✦ OpenDeck + ydotool\n" [[ "$SELECTED_APPS" == *"onlyoffice"* ]] && SUMMARY+=" ✦ OnlyOffice\n" [[ "$SELECTED_APPS" == *"xournal"* ]] && SUMMARY+=" ✦ Xournal++\n" + [[ "$SELECTED_APPS" == *"rnote"* ]] && SUMMARY+=" ✦ Rnote\n" [[ "$SELECTED_APPS" == *"gimp"* ]] && SUMMARY+=" ✦ GIMP\n" [[ "$SELECTED_APPS" == *"inkscape"* ]] && SUMMARY+=" ✦ Inkscape\n" [[ "$SELECTED_APPS" == *"krita"* ]] && SUMMARY+=" ✦ Krita\n" @@ -708,6 +711,7 @@ fi [[ "$SELECTED_APPS" == *"opendeck"* ]] && run_module "OpenDeck" "$APPS/opendeck.sh" [[ "$SELECTED_APPS" == *"onlyoffice"* ]] && run_module "OnlyOffice" "$APPS/onlyoffice.sh" [[ "$SELECTED_APPS" == *"xournal"* ]] && run_module "Xournal++" "$APPS/xournal.sh" +[[ "$SELECTED_APPS" == *"rnote"* ]] && run_module "Rnote" "$APPS/rnote.sh" [[ "$SELECTED_APPS" == *"gimp"* ]] && run_module "GIMP" "$APPS/gimp.sh" [[ "$SELECTED_APPS" == *"inkscape"* ]] && run_module "Inkscape" "$APPS/inkscape.sh" [[ "$SELECTED_APPS" == *"krita"* ]] && run_module "Krita" "$APPS/krita.sh"