diff --git a/modules/programs/xournalpp/default.nix b/modules/programs/xournalpp/default.nix new file mode 100644 index 0000000..44dd098 --- /dev/null +++ b/modules/programs/xournalpp/default.nix @@ -0,0 +1,10 @@ +{ config, pkgs, ... }: + +{ + environment.systemPackages = with pkgs; [ xournalpp ]; + + home-manager.users."${config.system.singleUser}".home.file = { + ".xournalpp/settings.xml".source = ./settings.xml; + ".xournalpp/toolbar.ini".source = ./toolbar.ini; + }; +} diff --git a/modules/programs/xournalpp/settings.xml b/modules/programs/xournalpp/settings.xml new file mode 100644 index 0000000..4ec344d --- /dev/null +++ b/modules/programs/xournalpp/settings.xml @@ -0,0 +1,181 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/programs/xournalpp/toolbar.ini b/modules/programs/xournalpp/toolbar.ini new file mode 100644 index 0000000..815e362 --- /dev/null +++ b/modules/programs/xournalpp/toolbar.ini @@ -0,0 +1,33 @@ +## Xournal++ Toolbar configuration +## Here you can customize the Toolbars +# Delete this file to generate a new config file with default values +# +# Available buttons: +# File: NEW,SAVE,OPEN +# +# Edit: CUT,COPY,PASTE,SEARCH,UNDO,REDO,INSERT_NEW_PAGE +# +# Navigation: GOTO_FIRST,GOTO_BACK,GOTO_NEXT,GOTO_LAST,GOTO_NEXT_ANNOTATED_PAGE +# +# Zoom: ZOOM_OUT,ZOOM_IN,ZOOM_FIT,ZOOM_100,FULLSCREEN,PAIRED_PAGES +# +# Color: COLOR(0xffffff),COLOR(0xffff00),COLOR(0xff8000),COLOR(0xff00ff),COLOR(0x00ff00),COLOR(0x00c0ff),COLOR(0x808080),COLOR(0x008000),COLOR(0xff0000),COLOR(0x3333cc),COLOR(0x000000),COLOR_SELECT +# Notice: This are the default Xournal colors, each other color in HEX can also be used, eg COLOR(0x12ABCF); +# +# Tools: ERASER,PEN,HILIGHTER,IMAGE,TEXT,IMAGE,SELECT,SELECT_REGION,SELECT_RECTANGLE,VERTICAL_SPACE,HAND +# Notice: ERASER also has a drop down menu to select the eraser type, SELECT are all selection tools, with drop down menu +# +# Tool settings: SHAPE_RECOGNIZER,RULER,FINE,MEDIUM,THICK,SELECT_FONT +# +# Components: PAGE_SPIN,ZOOM_SLIDER,LAYER +# PAGE_SPIN: The page spiner, incl. current page label +# ZOOM_SLIDER: The zoom slider +# LAYER: The layer dropdown menu +# +# + +[Right hand Note Taking Copy] +toolbarTop1=SAVE,NEW,OPEN,SEPARATOR,PASTE,SEPARATOR,UNDO,REDO,SEPARATOR,PEN,ERASER,HILIGHTER,IMAGE,TEXT,SEPARATOR,SEPARATOR,INSERT_NEW_PAGE,DELETE_CURRENT_PAGE,SEPARATOR,GOTO_BACK,GOTO_NEXT,SEPARATOR,SEPARATOR,FULLSCREEN +toolbarLeft1=COLOR(0xffffff),COLOR(0xffff00),COLOR(0xff8000),COLOR(0xff00ff),COLOR(0x00ff00),COLOR(0x00c0ff),COLOR(0x808080),COLOR(0x008000),COLOR(0xff0000),COLOR(0x3333cc),COLOR(0x000000),COLOR_SELECT,SEPARATOR,ZOOM_100,ZOOM_FIT,ZOOM_IN,ZOOM_OUT +toolbarLeft2=FINE,MEDIUM,THICK,SEPARATOR,SEPARATOR,DRAW_CIRCLE,DRAW_RECTANGLE,DRAW_ARROW,RULER,SEPARATOR,SEPARATOR,VERTICAL_SPACE,SELECT_REGION,SELECT_RECTANGLE +name=Right hand Note Taking Copy