diff --git a/home/config/looking-glass/client.ini b/home/config/looking-glass/client.ini new file mode 100644 index 0000000..f097192 --- /dev/null +++ b/home/config/looking-glass/client.ini @@ -0,0 +1,7 @@ +[input] +rawMouse = yes +autoCapture = yes + +[egl] +scale = 1 + diff --git a/home/config/qimgv/qimgv.conf b/home/config/qimgv/qimgv.conf new file mode 100644 index 0000000..8ff9ed5 --- /dev/null +++ b/home/config/qimgv/qimgv.conf @@ -0,0 +1,71 @@ +[General] +JPEGSaveQuality=95 +autoResizeLimit=90 +autoResizeWindow=false +backgroundOpacity=0.9 +blurBackground=true +clickableEdges=false +clickableEdgesVisible=true +confirmDelete=true +confirmTrash=true +cursorAutohiding=true +defaultCropAction=0 +defaultFitMode=0 +defaultViewMode=0 +drawTransparencyGrid=false +enableSmoothScroll=true +expandImage=false +expandLimit=2 +firstRun=false +fixedZoomLevels="0.05,0.1,0.125,0.166,0.25,0.333,0.5,0.66,1,1.5,2,3,4,5,6,7,8" +focusPointIn1to1Mode=1 +folderEndAction=0 +imageScrolling=1 +infoBarFullscreen=true +infoBarWindowed=false +jxlAnimation=false +keepFitMode=false +language=en_US +lastVerMajor=1 +lastVerMicro=3 +lastVerMinor=0 +loopSlideshow=false +memoryAllocationLimit=1024 +mouseScrollingSpeed=1 +mpvBinary=/nix/store/a0zm5yxmssp95vv5q66gn7vpjnpg3jrp-mpv-with-scripts-0.41.0/bin/mpv +openInFullscreen=false +panelCenterSelection=false +panelEnabled=true +panelFullscreenOnly=true +panelPinned=false +panelPosition=top +panelPreviewsSize=140 +playVideoSounds=false +scalingFilter=3 +showHiddenFiles=false +showSaveOverlay=true +slideshowInterval=3000 +smoothAnimatedImages=true +smoothUpscaling=true +sortFolders=true +sortingMode=0 +squareThumbnails=false +thumbPanelStyle=1 +thumbnailCache=true +thumbnailerThreads=4 +trackpadDetection=true +unloadThumbs=true +unlockMinZoom=true +useFixedZoomLevels=false +usePreloader=true +useSystemColorScheme=false +videoPlayback=true +windowTitleExtendedInfo=true +zoomIndicatorMode=0 +zoomStep=0.20000000298023224 + +[Controls] +shortcuts="zoomIn=+", "frameStepBack=,", "zoomOut=-", "frameStep=.", "fitWindow=1", "fitWidth=2", "fitNormal=3", "fitWindowStretch=4", "zoomIn=eq", "exit=Alt+X", "folderView=Backspace", "copyFile=C", "zoomIn=Ctrl++", "zoomOut=Ctrl+-", "zoomIn=Ctrl+eq", "copyFileClipboard=Ctrl+C", "showInDirectory=Ctrl+D", "zoomOut=Ctrl+Down", "rotateLeft=Ctrl+L", "seekVideoBackward=Ctrl+Left", "open=Ctrl+O", "print=Ctrl+P", "exit=Ctrl+Q", "rotateRight=Ctrl+R", "seekVideoForward=Ctrl+Right", "save=Ctrl+S", "copyPathClipboard=Ctrl+Shift+C", "saveAs=Ctrl+Shift+S", "zoomIn=Ctrl+Up", "pasteFile=Ctrl+V", "setWallpaper=Ctrl+W", "zoomOutCursor=Ctrl+WheelDown", "zoomInCursor=Ctrl+WheelUp", "discardEdits=Ctrl+Z", "toggleShuffle=Ctrl+`", "moveToTrash=Del", "scrollDown=Down", "jumpToLast=End", "folderView=Enter", "closeFullScreenOrExit=Esc", "toggleFullscreen=F", "toggleFullscreen=F11", "renameFile=F2", "reloadImage=F5", "flipH=H", "jumpToFirst=Home", "toggleImageInfo=I", "toggleFullscreen=LMB_DoubleClick", "prevImage=Left", "moveFile=M", "contextMenu=Menu", "exit=MiddleButton", "openSettings=P", "closeFullScreenOrExit=Q", "resize=R", "contextMenu=RMB", "nextImage=Right", "removeFile=Shift+Del", "toggleFullscreenInfoBar=Shift+F", "prevDirectory=Shift+Left", "nextDirectory=Shift+Right", "toggleFitMode=Space", "scrollUp=Up", "flipV=V", "nextImage=WheelDown", "prevImage=WheelUp", "crop=X", "prevImage=XButton1", "nextImage=XButton2", "toggleSlideshow=`" + +[Scripts] +script\size=0 diff --git a/home/config/qimgv/savedState.conf b/home/config/qimgv/savedState.conf new file mode 100644 index 0000000..c73231b --- /dev/null +++ b/home/config/qimgv/savedState.conf @@ -0,0 +1,9 @@ +[General] +lastDisplay=1 +lastPrinter=Mailroom_Copier_Black_White_PDC_CUPS +maximizedWindow=false +printColor=false +printFitToPage=true +printLandscape=false +printPdfDefault=false +windowGeometry=@Rect(0 0 885 702) diff --git a/home/config/qimgv/theme.conf b/home/config/qimgv/theme.conf new file mode 100644 index 0000000..d9ac999 --- /dev/null +++ b/home/config/qimgv/theme.conf @@ -0,0 +1,14 @@ +[Colors] +accent=#b299ec +background=#eff0f1 +background_fullscreen=#000000 +folderview=#ffffff +folderview_topbar=#eff0f1 +icons=#232629 +overlay=#000000 +overlay_text=#000000 +scrollbar=#a292c9 +text=#232629 +tid=5 +widget=#eff0f1 +widget_border=#eff0f1 diff --git a/home/config/zathura/zathurarc b/home/config/zathura/zathurarc new file mode 100644 index 0000000..9ce931e --- /dev/null +++ b/home/config/zathura/zathurarc @@ -0,0 +1,5 @@ +set default-bg "#eff0f1" +set statusbar-bg "#eff0f1" +set statusbar-fg "#000000" +set inputbar-bg "#eff0f1" +set inputbar-fg "#000000" diff --git a/home/frank.nix b/home/frank.nix index 10644cf..fb0b6fe 100644 --- a/home/frank.nix +++ b/home/frank.nix @@ -26,6 +26,36 @@ in "clear;fastfetch --logo nixos2;printf '\n';weather kmco"; }; + xdg = + if pkgs.stdenv.isDarwin then + { } + else + { + configFile = { + "looking-glass" = { + source = ./config/looking-glass; + recursive = true; + }; + + "qimgv" = { + source = ./config/qimgv; + recursive = true; + }; + + "zathura" = { + source = ./config/zathura; + recursive = true; + }; + }; + + dataFile = { + "applications" = { + source = ./local/share/applications; + recursive = true; + }; + }; + }; + programs = { bash = { enable = true; diff --git a/home/local/share/applications/base.desktop b/home/local/share/applications/base.desktop new file mode 100644 index 0000000..db4f7b0 --- /dev/null +++ b/home/local/share/applications/base.desktop @@ -0,0 +1,31 @@ +[Desktop Entry] +Actions=NewDocument; +Categories=Office;Database;X-Red-Hat-Base; +Comment=Manage databases, create queries and reports to track and manage your information. +Exec=env WAYLAND_DISPLAY= libreoffice --base %U +GenericName[en_US]=Database Development +GenericName=Database Development +Icon=libreoffice-base +InitialPreference=5 +Keywords=Data;SQL; +MimeType=application/vnd.oasis.opendocument.base;application/vnd.sun.xml.base; +Name=LibreOffice Base +NoDisplay=false +Path= +PrefersNonDefaultGPU=false +StartupNotify=true +StartupWMClass=libreoffice-base +Terminal=false +TerminalOptions= +Type=Application +Version=1.0 +X-GIO-NoFuse=true +X-KDE-Protocols=file,http,webdav,webdavs +X-KDE-SubstituteUID=false +X-KDE-Username= + +[Desktop Action NewDocument] +Exec=libreoffice --base +Icon=document-new +Name[en_US]=New Database +Name=New Database diff --git a/home/local/share/applications/calc.desktop b/home/local/share/applications/calc.desktop new file mode 100644 index 0000000..6e9c7f3 --- /dev/null +++ b/home/local/share/applications/calc.desktop @@ -0,0 +1,31 @@ +[Desktop Entry] +Actions=NewDocument; +Categories=Office;Spreadsheet;X-Red-Hat-Base; +Comment=Perform calculations, analyze information and manage lists in spreadsheets. +Exec=env WAYLAND_DISPLAY= libreoffice --calc %U +GenericName[en_US]=Spreadsheet +GenericName=Spreadsheet +Icon=libreoffice-calc +InitialPreference=5 +Keywords=Accounting;Stats;OpenDocument Spreadsheet;Chart;Microsoft Excel;Microsoft Works;OpenOffice Calc;ods;xls;xlsx; +MimeType=application/clarisworks;application/csv;application/excel;application/msexcel;application/tab-separated-values;application/vnd.apache.parquet;application/vnd.apple.numbers;application/vnd.lotus-1-2-3;application/vnd.ms-excel;application/vnd.ms-excel.sheet.binary.macroEnabled.12;application/vnd.ms-excel.sheet.macroEnabled.12;application/vnd.ms-excel.template.macroEnabled.12;application/vnd.ms-works;application/vnd.oasis.opendocument.chart;application/vnd.oasis.opendocument.chart-template;application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.spreadsheet-flat-xml;application/vnd.oasis.opendocument.spreadsheet-template;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.stardivision.calc;application/vnd.stardivision.chart;application/vnd.sun.xml.calc;application/vnd.sun.xml.calc.template;application/x-123;application/x-dbase;application/x-dbf;application/x-dos_ms_excel;application/x-excel;application/x-gnumeric;application/x-iwork-numbers-sffnumbers;application/x-ms-excel;application/x-msexcel;application/x-quattropro;application/x-starcalc;application/x-starchart;text/comma-separated-values;text/csv;text/spreadsheet;text/tab-separated-values;text/x-comma-separated-values;text/x-csv; +Name=LibreOffice Calc +NoDisplay=false +Path= +PrefersNonDefaultGPU=false +StartupNotify=true +StartupWMClass=libreoffice-calc +Terminal=false +TerminalOptions= +Type=Application +Version=1.0 +X-GIO-NoFuse=true +X-KDE-Protocols=file,http,webdav,webdavs +X-KDE-SubstituteUID=false +X-KDE-Username= + +[Desktop Action NewDocument] +Exec=libreoffice --calc +Icon=document-new +Name[en_US]=New Spreadsheet +Name=New Spreadsheet diff --git a/home/local/share/applications/draw.desktop b/home/local/share/applications/draw.desktop new file mode 100644 index 0000000..b1bbaa6 --- /dev/null +++ b/home/local/share/applications/draw.desktop @@ -0,0 +1,31 @@ +[Desktop Entry] +Actions=NewDocument; +Categories=Office;FlowChart;Graphics;2DGraphics;VectorGraphics;X-Red-Hat-Base; +Comment=Create and edit drawings, flow charts and logos. +Exec=env WAYLAND_DISPLAY= libreoffice --draw %U +GenericName[en_US]=Drawing Program +GenericName=Drawing Program +Icon=libreoffice-draw +InitialPreference=5 +Keywords=Vector;Schema;Diagram;Layout;OpenDocument Graphics;Microsoft Publisher;Microsoft Visio;Corel Draw;cdr;odg;svg;pdf;vsd; +MimeType=application/clarisworks;application/pdf;application/vnd.corel-draw;application/vnd.ms-publisher;application/vnd.oasis.opendocument.graphics;application/vnd.oasis.opendocument.graphics-flat-xml;application/vnd.oasis.opendocument.graphics-template;application/vnd.quark.quarkxpress;application/vnd.stardivision.draw;application/vnd.sun.xml.draw;application/vnd.sun.xml.draw.template;application/vnd.visio;application/x-pagemaker;application/x-stardraw;application/x-wpg;image/x-emf;image/x-freehand;image/x-wmf; +Name=LibreOffice Draw +NoDisplay=false +Path= +PrefersNonDefaultGPU=false +StartupNotify=true +StartupWMClass=libreoffice-draw +Terminal=false +TerminalOptions= +Type=Application +Version=1.0 +X-GIO-NoFuse=true +X-KDE-Protocols=file,http,webdav,webdavs +X-KDE-SubstituteUID=false +X-KDE-Username= + +[Desktop Action NewDocument] +Exec=libreoffice --draw +Icon=document-new +Name[en_US]=New Drawing +Name=New Drawing diff --git a/home/local/share/applications/impress.desktop b/home/local/share/applications/impress.desktop new file mode 100644 index 0000000..f39adbb --- /dev/null +++ b/home/local/share/applications/impress.desktop @@ -0,0 +1,31 @@ +[Desktop Entry] +Actions=NewDocument; +Categories=Office;Presentation;X-Red-Hat-Base; +Comment=Create and edit presentations for slideshows, meetings and Web pages. +Exec=env WAYLAND_DISPLAY= libreoffice --impress %U +GenericName[en_US]=Presentation +GenericName=Presentation +Icon=libreoffice-impress +InitialPreference=5 +Keywords=Slideshow;Slides;OpenDocument Presentation;Microsoft PowerPoint;Microsoft Works;OpenOffice Impress;odp;ppt;pptx; +MimeType=application/mspowerpoint;application/vnd.apple.keynote;application/vnd.ms-powerpoint;application/vnd.ms-powerpoint.presentation.macroEnabled.12;application/vnd.ms-powerpoint.slideshow.macroEnabled.12;application/vnd.ms-powerpoint.template.macroEnabled.12;application/vnd.oasis.opendocument.presentation;application/vnd.oasis.opendocument.presentation-flat-xml;application/vnd.oasis.opendocument.presentation-template;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.openxmlformats-officedocument.presentationml.slide;application/vnd.openxmlformats-officedocument.presentationml.slideshow;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.stardivision.impress;application/vnd.sun.xml.impress;application/vnd.sun.xml.impress.template;application/x-iwork-keynote-sffkey;application/x-starimpress; +Name=LibreOffice Impress +NoDisplay=false +Path= +PrefersNonDefaultGPU=false +StartupNotify=true +StartupWMClass=libreoffice-impress +Terminal=false +TerminalOptions= +Type=Application +Version=1.0 +X-GIO-NoFuse=true +X-KDE-Protocols=file,http,webdav,webdavs +X-KDE-SubstituteUID=false +X-KDE-Username= + +[Desktop Action NewDocument] +Exec=libreoffice --impress +Icon=document-new +Name[en_US]=New Presentation +Name=New Presentation diff --git a/home/local/share/applications/looking-glass-client.desktop b/home/local/share/applications/looking-glass-client.desktop new file mode 100644 index 0000000..d2a36ef --- /dev/null +++ b/home/local/share/applications/looking-glass-client.desktop @@ -0,0 +1,19 @@ +[Desktop Entry] +Categories=System; +Comment=Clent for Looking Glass KVMFR +Exec=looking-glass-client +Icon=preferences-desktop-search +Keywords=KVM +Name=Looking Glass Client +NoDisplay=false +Path= +PrefersNonDefaultGPU=false +SingleMainWindow=true +StartupNotify=true +StartupWMClass=looking-glass-client +Terminal=false +TerminalOptions= +Type=Application +Version=1.0 +X-KDE-SubstituteUID=false +X-KDE-Username= diff --git a/home/local/share/applications/math.desktop b/home/local/share/applications/math.desktop new file mode 100644 index 0000000..90f2c8c --- /dev/null +++ b/home/local/share/applications/math.desktop @@ -0,0 +1,31 @@ +[Desktop Entry] +Actions=NewDocument; +Categories=Office;Education;Science;Math;X-Red-Hat-Base; +Comment=Create and edit scientific formulas and equations. +Exec=env WAYLAND_DISPLAY= libreoffice --math %U +GenericName[en_US]=Formula Editor +GenericName=Formula Editor +Icon=libreoffice-math +InitialPreference=5 +Keywords=Equation;OpenDocument Formula;Formula;odf;MathML; +MimeType=application/mathml+xml;application/vnd.oasis.opendocument.formula;application/vnd.oasis.opendocument.formula-template;application/vnd.stardivision.math;application/vnd.sun.xml.math;application/x-starmath;text/mathml; +Name=LibreOffice Math +NoDisplay=false +Path= +PrefersNonDefaultGPU=false +StartupNotify=true +StartupWMClass=libreoffice-math +Terminal=false +TerminalOptions= +Type=Application +Version=1.0 +X-GIO-NoFuse=true +X-KDE-Protocols=file,http,webdav,webdavs +X-KDE-SubstituteUID=false +X-KDE-Username= + +[Desktop Action NewDocument] +Exec=libreoffice --math +Icon=document-new +Name[en_US]=New Formula +Name=New Formula diff --git a/home/local/share/applications/startcenter.desktop b/home/local/share/applications/startcenter.desktop new file mode 100644 index 0000000..3e93f69 --- /dev/null +++ b/home/local/share/applications/startcenter.desktop @@ -0,0 +1,47 @@ +[Desktop Entry] +Actions=Writer;Calc;Impress;Draw;Base;Math; +Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office; +Comment=Launch applications to create text documents, spreadsheets, presentations, drawings, formulas, and databases, or open recently used documents. +Exec=env WAYLAND_DISPLAY= libreoffice %U +GenericName[en_US]=Office +GenericName=Office +Icon=libreoffice-startcenter +MimeType=application/vnd.openofficeorg.extension;x-scheme-handler/vnd.libreoffice.cmis;x-scheme-handler/vnd.sun.star.webdav;x-scheme-handler/vnd.sun.star.webdavs;x-scheme-handler/vnd.libreoffice.command;x-scheme-handler/ms-word;x-scheme-handler/ms-powerpoint;x-scheme-handler/ms-excel;x-scheme-handler/ms-visio;x-scheme-handler/ms-access; +Name=LibreOffice +NoDisplay=false +Path= +PrefersNonDefaultGPU=false +StartupNotify=true +StartupWMClass=libreoffice-startcenter +Terminal=false +TerminalOptions= +Type=Application +Version=1.0 +X-GIO-NoFuse=true +X-KDE-Protocols=file,http,webdav,webdavs +X-KDE-SubstituteUID=false +X-KDE-Username= + +[Desktop Action Base] +Exec=libreoffice --base +Name=Base + +[Desktop Action Calc] +Exec=libreoffice --calc +Name=Calc + +[Desktop Action Draw] +Exec=libreoffice --draw +Name=Draw + +[Desktop Action Impress] +Exec=libreoffice --impress +Name=Impress + +[Desktop Action Math] +Exec=libreoffice --math +Name=Math + +[Desktop Action Writer] +Exec=libreoffice --writer +Name=Writer diff --git a/home/local/share/applications/writer.desktop b/home/local/share/applications/writer.desktop new file mode 100644 index 0000000..ee7aeeb --- /dev/null +++ b/home/local/share/applications/writer.desktop @@ -0,0 +1,31 @@ +[Desktop Entry] +Actions=NewDocument; +Categories=Office;WordProcessor;X-Red-Hat-Base; +Comment=Create and edit text and graphics in letters, reports, documents and Web pages. +Exec=env WAYLAND_DISPLAY= libreoffice --writer %U +GenericName[en_US]=Word Processor +GenericName=Word Processor +Icon=libreoffice-writer +InitialPreference=5 +Keywords=Text;Letter;Fax;Document;OpenDocument Text;Microsoft Word;Microsoft Works;Lotus WordPro;OpenOffice Writer;CV;odt;doc;docx;rtf; +MimeType=application/clarisworks;application/docbook+xml;application/macwriteii;application/msword;application/prs.plucker;application/rtf;application/vnd.apple.pages;application/vnd.lotus-wordpro;application/vnd.ms-word;application/vnd.ms-word.document.macroEnabled.12;application/vnd.ms-word.template.macroEnabled.12;application/vnd.ms-works;application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-flat-xml;application/vnd.oasis.opendocument.text-master;application/vnd.oasis.opendocument.text-master-template;application/vnd.oasis.opendocument.text-template;application/vnd.oasis.opendocument.text-web;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.palm;application/vnd.stardivision.writer-global;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.global;application/vnd.sun.xml.writer.template;application/vnd.wordperfect;application/wordperfect;application/x-abiword;application/x-aportisdoc;application/x-doc;application/x-extension-txt;application/x-fictionbook+xml;application/x-hwp;application/x-iwork-pages-sffpages;application/x-mswrite;application/x-pocket-word;application/x-sony-bbeb;application/x-starwriter;application/x-starwriter-global;application/x-t602;text/plain;text/rtf; +Name=LibreOffice Writer +NoDisplay=false +Path= +PrefersNonDefaultGPU=false +StartupNotify=true +StartupWMClass=libreoffice-writer +Terminal=false +TerminalOptions= +Type=Application +Version=1.0 +X-GIO-NoFuse=true +X-KDE-Protocols=file,http,webdav,webdavs +X-KDE-SubstituteUID=false +X-KDE-Username= + +[Desktop Action NewDocument] +Exec=libreoffice --writer +Icon=document-new +Name[en_US]=New Document +Name=New Document