initial commit
This commit is contained in:
10
dotfiles/doom/bookmarks
Normal file
10
dotfiles/doom/bookmarks
Normal file
@@ -0,0 +1,10 @@
|
||||
;;;; Emacs Bookmark Format Version 1;;;; -*- coding: utf-8-emacs; mode: lisp-data -*-
|
||||
;;; This format is meant to be slightly human-readable;
|
||||
;;; nevertheless, you probably don't want to edit it.
|
||||
;;; -*- End Of Bookmark File Format Version Stamp -*-
|
||||
(("org-capture-last-stored"
|
||||
(filename . "~/Documents/Notes/20240518175854-egypt.org")
|
||||
(front-context-string)
|
||||
(rear-context-string . "\n#+title: Egypt\n")
|
||||
(position . 83))
|
||||
)
|
||||
1076
dotfiles/doom/config.org
Executable file
1076
dotfiles/doom/config.org
Executable file
File diff suppressed because it is too large
Load Diff
21
dotfiles/doom/custom.el
Normal file
21
dotfiles/doom/custom.el
Normal file
@@ -0,0 +1,21 @@
|
||||
(custom-set-variables
|
||||
;; custom-set-variables was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(flycheck-flake8-maximum-line-length 88)
|
||||
'(safe-local-variable-values
|
||||
'((org-hugo-auto-export-on-save . t)
|
||||
(org-hugo-base-dir . /home/jawz/Development/Websites/portfolio/)
|
||||
(git-commit-major-mode . git-commit-elisp-text-mode))))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(org-document-title ((t (:inherit outline-1 :height 2.0))))
|
||||
'(org-level-1 ((t (:inherit outline-1 :height 1.4))))
|
||||
'(org-level-2 ((t (:inherit outline-2 :height 1.3))))
|
||||
'(org-level-3 ((t (:inherit outline-3 :height 1.2))))
|
||||
'(org-level-4 ((t (:inherit outline-4 :height 1.1))))
|
||||
'(org-level-5 ((t (:inherit outline-5 :height 1.0)))))
|
||||
192
dotfiles/doom/init.el
Executable file
192
dotfiles/doom/init.el
Executable file
@@ -0,0 +1,192 @@
|
||||
;;; init.el -*- lexical-binding: t; -*-
|
||||
|
||||
;; This file controls what Doom modules are enabled and what order they load
|
||||
;; in. Remember to run 'doom sync' after modifying it!
|
||||
|
||||
;; NOTE Press 'SPC h d h' (or 'C-h d h' for non-vim users) to access Doom's
|
||||
;; documentation. There you'll find a link to Doom's Module Index where all
|
||||
;; of our modules are listed, including what flags they support.
|
||||
|
||||
;; NOTE Move your cursor over a module's name (or its flags) and press 'K' (or
|
||||
;; 'C-c c k' for non-vim users) to view its documentation. This works on
|
||||
;; flags as well (those symbols that start with a plus).
|
||||
;;
|
||||
;; Alternatively, press 'gd' (or 'C-c c d') on a module to browse its
|
||||
;; directory (for easy access to its source code).
|
||||
|
||||
(doom! :input
|
||||
;;bidi ; (tfel ot) thgir etirw uoy gnipleh
|
||||
;;chinese
|
||||
;;japanese
|
||||
;;layout ; auie,ctsrnm is the superior home row
|
||||
|
||||
:completion
|
||||
;; company ; the ultimate code completion backend
|
||||
(corfu +orderless) ; complete with cap(f), cape and a flying feather!
|
||||
;;helm ; the *other* search engine for love and life
|
||||
;;ido ; the other *other* search engine...
|
||||
;;(ivy +fuzzy +childframe +icons) ; a search engine for love and life
|
||||
vertico ; the search engine of the future
|
||||
|
||||
:ui
|
||||
deft ; notational velocity for Emacs
|
||||
doom ; what makes DOOM look the way it does
|
||||
doom-dashboard ; a nifty splash screen for Emacs
|
||||
;;doom-quit ; DOOM quit-message prompts when you quit Emacs
|
||||
;;(emoji +unicode +github) ; 🙂
|
||||
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
||||
;;indent-guides ; highlighted indent columns
|
||||
;;(ligatures +extra +iosevka) ; ligatures and symbols to make your code pretty again
|
||||
;;minimap ; show a map of the code on the side
|
||||
modeline ; snazzy, Atom-inspired modeline, plus API
|
||||
;;nav-flash ; blink cursor line after big motions
|
||||
;;neotree ; a project drawer, like NERDTree for vim
|
||||
ophints ; highlight the region an operation acts on
|
||||
(popup +defaults) ; tame sudden yet inevitable temporary windows
|
||||
;;tabs ; a tab bar for Emacs
|
||||
(treemacs +lsp) ; a project drawer, like neotree but cooler
|
||||
;;unicode ; extended unicode support for various languages
|
||||
(vc-gutter +pretty) ; vcs diff in the fringe
|
||||
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
||||
;;window-select ; visually switch windows
|
||||
workspaces ; tab emulation, persistence & separate workspaces
|
||||
;;zen ; distraction-free coding or writing
|
||||
|
||||
:editor
|
||||
(evil +everywhere); come to the dark side, we have cookies
|
||||
file-templates ; auto-snippets for empty files
|
||||
fold ; (nigh) universal code folding
|
||||
(format +onsave) ; automated prettiness
|
||||
;;god ; run Emacs commands without modifier keys
|
||||
;;lispy ; vim for lisp, for people who don't like vim
|
||||
;;multiple-cursors ; editing in many places at once
|
||||
;;objed ; text object editing for the innocent
|
||||
;;parinfer ; turn lisp into python, sort of
|
||||
rotate-text ; cycle region at point between text candidates
|
||||
snippets ; my elves. They type so I don't have to
|
||||
;;word-wrap ; soft wrapping with language-aware indent
|
||||
|
||||
:emacs
|
||||
dired ; making dired pretty [functional]
|
||||
electric ; smarter, keyword-based electric-indent
|
||||
eww ; the internet is gross
|
||||
ibuffer ; interactive buffer management
|
||||
(undo +tree) ; persistent, smarter undo for your inevitable mistakes
|
||||
vc ; version-control and Emacs, sitting in a tree
|
||||
|
||||
:term
|
||||
;;eshell ; the elisp shell that works everywhere
|
||||
;;shell ; simple shell REPL for Emacs
|
||||
;;term ; basic terminal emulator for Emacs
|
||||
vterm ; the best terminal emulation in Emacs
|
||||
|
||||
:checkers
|
||||
syntax ; tasing you for every semicolon you forget
|
||||
(spell +flyspell +hunspell) ; tasing you for misspelling mispelling
|
||||
grammar ; tasing grammar mistake every you make
|
||||
|
||||
:tools
|
||||
;;ansible
|
||||
;;biblio ; Writes a PhD for you (citation needed)
|
||||
;;collab ; buffers with friends
|
||||
;;debugger ; FIXME stepping through code, to help you add bugs
|
||||
direnv
|
||||
(docker +lsp)
|
||||
editorconfig ; let someone else argue about tabs vs spaces
|
||||
;;ein ; tame Jupyter notebooks with emacs
|
||||
(eval +overlay) ; run code, run (also, repls)
|
||||
(lookup +dictionary + offline) ; navigate your code and its documentation
|
||||
(lsp +peek) ; M-x vscode
|
||||
magit ; a git porcelain for Emacs
|
||||
;;make ; run make tasks from Emacs
|
||||
;;pass ; password manager for nerds
|
||||
;;pdf ; pdf enhancements
|
||||
;;prodigy ; FIXME managing external services & code builders
|
||||
;;terraform ; infrastructure as code
|
||||
tmux ; an API for interacting with tmux
|
||||
;; tree-sitter ; syntax and parsing, sitting in a tree...
|
||||
upload ; map local to remote projects via ssh/ftp
|
||||
|
||||
:os
|
||||
;;(:if (featurep :system 'macos) macos) ; improve compatibility with macOS tty ; improve the terminal Emacs experience
|
||||
|
||||
:lang
|
||||
;;agda ; types of types of types of types...
|
||||
;;beancount ; mind the GAAP
|
||||
(cc +lsp) ; C > C++ == 1
|
||||
;;clojure ; java with a lisp
|
||||
;;common-lisp ; if you've seen one lisp, you've seen them all
|
||||
;;coq ; proofs-as-programs
|
||||
;;crystal ; ruby at the speed of c
|
||||
;; (csharp +lsp) ; unity, .NET, and mono shenanigans
|
||||
;;data ; config/data formats
|
||||
;;(dart +flutter) ; paint ui and not much else
|
||||
;;dhall
|
||||
;;elixir ; erlang done right
|
||||
;;elm ; care for a cup of TEA?
|
||||
emacs-lisp ; drown in parentheses
|
||||
;;erlang ; an elegant language for a more civilized age
|
||||
;;ess ; emacs speaks statistics
|
||||
;;factor
|
||||
;;faust ; dsp, but you get to keep your soul
|
||||
;;fortran ; in FORTRAN, GOD is REAL (unless declared INTEGER)
|
||||
;;fsharp ; ML stands for Microsoft's Language
|
||||
;;fstar ; (dependent) types and (monadic) effects and Z3
|
||||
(gdscript +lsp) ; the language you waited for
|
||||
;;(go +lsp) ; the hipster dialect
|
||||
;;(graphql +lsp) ; Give queries a REST
|
||||
(haskell +lspr) ; a language that's lazier than I am
|
||||
;;hy ; readability of scheme w/ speed of python
|
||||
;;idris ; a language you can depend on
|
||||
(json +lsp) ; At least it ain't XML
|
||||
;;(java +lsp) ; the poster child for carpal tunnel syndrome
|
||||
(javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
|
||||
(julia +lsp) ; a better, faster MATLAB
|
||||
;;kotlin ; a better, slicker Java(Script)
|
||||
;;latex ; writing papers in Emacs has never been so fun
|
||||
;;lean ; for folks with too much to prove
|
||||
;;ledger ; be audit you can be
|
||||
;;lua ; one-based indices? one-based indices
|
||||
;;markdown ; writing docs for people to ignore
|
||||
;;nim ; python + lisp at the speed of c
|
||||
(nix +lsp) ; I hereby declare "nix geht mehr!"
|
||||
;;ocaml ; an objective camel
|
||||
(org +hugo +pretty +roam2) ; organize your plain life in plain text
|
||||
;;(php +lsp) ; perl's insecure younger brother
|
||||
;;plantuml ; diagrams for confusing people more
|
||||
;; graphviz ; diagrams for confusing yourself even more
|
||||
;;purescript ; javascript, but functional
|
||||
(python +pyright +lsp) ; beautiful is better than ugly
|
||||
;;qt ; the 'cutest' gui framework ever
|
||||
;;racket ; a DSL for DSLs
|
||||
;;raku ; the artist formerly known as perl6
|
||||
;;rest ; Emacs as a REST client
|
||||
;;rst ; ReST in peace
|
||||
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
||||
(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||
;;scala ; java, but good
|
||||
;;(scheme +guile) ; a fully conniving family of lisps
|
||||
(sh +lsp) ; she sells {ba,z,fi}sh shells on the C xor
|
||||
;;sml
|
||||
;;solidity ; do you need a blockchain? No.
|
||||
;;swift ; who asked for emoji variables?
|
||||
;;terra ; Earth and Moon in alignment for performance.
|
||||
;;web ; the tubes
|
||||
(yaml +lsp) ; JSON, but readable
|
||||
;;zig ; C, but simpler
|
||||
|
||||
:email
|
||||
;;(mu4e +org +gmail)
|
||||
;;notmuch
|
||||
;;(wanderlust +gmail)
|
||||
|
||||
:app
|
||||
calendar
|
||||
;;emms
|
||||
everywhere ; *leave* Emacs!? You must be joking
|
||||
;;irc ; how neckbeards socialize
|
||||
;;(rss +org) ; emacs as an RSS reader
|
||||
|
||||
:config
|
||||
literate
|
||||
(default +bindings +smartparens))
|
||||
96
dotfiles/doom/packages.el
Executable file
96
dotfiles/doom/packages.el
Executable file
@@ -0,0 +1,96 @@
|
||||
;; -*- no-byte-compile: t; -*-
|
||||
;;; $DOOMDIR/packages.el
|
||||
|
||||
;; To install a package with Doom you must declare them here and run 'doom sync'
|
||||
;; on the command line, then restart Emacs for the changes to take effect -- or
|
||||
;; use 'M-x doom/reload'.
|
||||
|
||||
|
||||
;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
|
||||
;(package! some-package)
|
||||
|
||||
;; To install a package directly from a remote git repo, you must specify a
|
||||
;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
|
||||
;; https://github.com/raxod502/straight.el#the-recipe-format
|
||||
;(package! another-package
|
||||
; :recipe (:host github :repo "username/repo"))
|
||||
|
||||
;; If the package you are trying to install does not contain a PACKAGENAME.el
|
||||
;; file, or is located in a subdirectory of the repo, you'll need to specify
|
||||
;; `:files' in the `:recipe':
|
||||
;(package! this-package
|
||||
; :recipe (:host github :repo "username/repo"
|
||||
; :files ("some-file.el" "src/lisp/*.el")))
|
||||
|
||||
;; If you'd like to disable a package included with Doom, you can do so here
|
||||
;; with the `:disable' property:
|
||||
;(package! builtin-package :disable t)
|
||||
|
||||
;; You can override the recipe of a built in package without having to specify
|
||||
;; all the properties for `:recipe'. These will inherit the rest of its recipe
|
||||
;; from Doom or MELPA/ELPA/Emacsmirror:
|
||||
;(package! builtin-package :recipe (:nonrecursive t))
|
||||
;(package! builtin-package-2 :recipe (:repo "myfork/package"))
|
||||
|
||||
;; Specify a `:branch' to install a package from a particular branch or tag.
|
||||
;; This is required for some packages whose default branch isn't 'master' (which
|
||||
;; our package manager can't deal with; see raxod502/straight.el#279)
|
||||
;(package! builtin-package :recipe (:branch "develop"))
|
||||
|
||||
;; Use `:pin' to specify a particular commit to install.
|
||||
;(package! builtin-package :pin "1a2b3c4d5e")
|
||||
|
||||
|
||||
;; Doom's packages are pinned to a specific commit and updated from release to
|
||||
;; release. The `unpin!' macro allows you to unpin single packages...
|
||||
;(unpin! pinned-package)
|
||||
;; ...or multiple packages
|
||||
;(unpin! pinned-package another-pinned-package)
|
||||
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
|
||||
;(unpin! t)
|
||||
|
||||
;; (package! nixos-options) ;; enable when migrating to nixos
|
||||
;; (package! quick-preview) ;; preview files with sushi
|
||||
|
||||
|
||||
;; (package! codeium :recipe (:host github :repo "Exafunction/codeium.el"))
|
||||
(package! config-general-mode)
|
||||
(package! dired-open)
|
||||
(package! dired-subtree)
|
||||
;; (package! doom-modeline-now-playing)
|
||||
(package! ini-mode)
|
||||
(package! insert-esv) ;; bible passages
|
||||
(package! olivetti) ;; writing mode centering text, looks like word
|
||||
(package! org-alert)
|
||||
(package! org-auto-tangle)
|
||||
(package! org-roam-ui)
|
||||
(package! org-transclusion)
|
||||
(package! peep-dired) ;; kind of cool but never could make it work
|
||||
(package! php-cs-fixer)
|
||||
(package! systemd)
|
||||
;; (package! 2048-game)
|
||||
;; (package! academic-phrases)
|
||||
;; (package! caddyfile-mode)
|
||||
;; (package! clippy)
|
||||
;; (package! crontab-mode) ;; crontab colors
|
||||
;; (package! evil-tutor) ;; vim tutorial
|
||||
;; (package! ewal) ;; theme colors based on pywal
|
||||
;; (package! ewal-doom-themes)
|
||||
;; (package! ewal-evil-cursors)
|
||||
;; (package! fish-completion) ;; what does it do???????????????????????????
|
||||
;; (package! flycheck-aspell)
|
||||
;; (package! ivy-posframe)
|
||||
;; (package! mw-thesaurus)
|
||||
;; (package! org-appear) ;; couldn't get it to work
|
||||
;; (package! org-recur) ;; works but I want to keep org vanilla
|
||||
;; (package! ox-chameleon
|
||||
;; :recipe (:host github :repo "tecosaur/ox-chameleon"))
|
||||
;; (package! renpy)
|
||||
;; (package! resize-window)
|
||||
;; (package! tldr)
|
||||
;; (package! typit) ;; type speed test
|
||||
;; (package! vimgolf) ;; vim puzzles
|
||||
;; (package! wc-mode) ;; displays character count of buffer
|
||||
|
||||
(package! expand-region)
|
||||
(package! gptel :recipe (:nonrecursive t))
|
||||
1
dotfiles/doom/templates/default.org
Executable file
1
dotfiles/doom/templates/default.org
Executable file
@@ -0,0 +1 @@
|
||||
%?
|
||||
21
dotfiles/doom/templates/events.org
Normal file
21
dotfiles/doom/templates/events.org
Normal file
@@ -0,0 +1,21 @@
|
||||
%?
|
||||
|
||||
* Sources
|
||||
1.
|
||||
|
||||
* Belligerents
|
||||
1.
|
||||
|
||||
* Casualties and losses
|
||||
|
||||
* Location
|
||||
|
||||
* Causes
|
||||
|
||||
* Events
|
||||
|
||||
* Major Contention Events
|
||||
|
||||
* Outcome
|
||||
|
||||
* Important Notes
|
||||
13
dotfiles/doom/templates/programming.org
Executable file
13
dotfiles/doom/templates/programming.org
Executable file
@@ -0,0 +1,13 @@
|
||||
%?
|
||||
|
||||
- Influenced by
|
||||
- Influenced
|
||||
- Related tools
|
||||
|
||||
* Hello World
|
||||
|
||||
* Tips
|
||||
|
||||
* Resources
|
||||
- Documentation
|
||||
- YouTube channels
|
||||
203
dotfiles/gallery-dl.nix
Normal file
203
dotfiles/gallery-dl.nix
Normal file
@@ -0,0 +1,203 @@
|
||||
{
|
||||
extractor = {
|
||||
skip = "abort:5";
|
||||
cookies = [
|
||||
"firefox"
|
||||
"/home/jawz/.librewolf/jawz"
|
||||
"gnomekeyring"
|
||||
];
|
||||
retries = 10;
|
||||
sleep-request = 0;
|
||||
directlink = {
|
||||
filename = "{filename}.{extension}";
|
||||
directory = [ ];
|
||||
};
|
||||
twitter = {
|
||||
skip = "abort:1";
|
||||
retweets = false;
|
||||
videos = "ytdl";
|
||||
logout = true;
|
||||
include = [ "media" ];
|
||||
directory = [ "{user[name]}" ];
|
||||
};
|
||||
pinterest.directory = [
|
||||
"{board[owner][username]}"
|
||||
"{board[name]}"
|
||||
];
|
||||
instagram = {
|
||||
browser = "firefox:linux";
|
||||
user-agent = "Mozilla/5.0 (X11; Linux x86_64; rv:138.0) Gecko/20100101 Firefox/138.0";
|
||||
sleep = "66-123";
|
||||
sleep-request = "66-123";
|
||||
parent-directory = true;
|
||||
directory = [ "{username}" ];
|
||||
previews = true;
|
||||
highlights = {
|
||||
reverse = true;
|
||||
directory = [ "{username}" ];
|
||||
};
|
||||
stories = {
|
||||
reverse = true;
|
||||
directory = [ "{username}" ];
|
||||
};
|
||||
tagged.directory = [
|
||||
"{username}"
|
||||
"tagged"
|
||||
"{tagged_username}"
|
||||
];
|
||||
};
|
||||
furaffinity = {
|
||||
directory = [
|
||||
"{user}"
|
||||
"{subcategory}"
|
||||
];
|
||||
include = [
|
||||
"scraps"
|
||||
"gallery"
|
||||
];
|
||||
};
|
||||
patreon = {
|
||||
filename = "{filename}.{num}.{extension}";
|
||||
browser = "firefox";
|
||||
directory = [
|
||||
"(Patreon) {creator[vanity]}"
|
||||
"({date:%Y%m%d}) {title} ({id})"
|
||||
];
|
||||
};
|
||||
blogger = {
|
||||
filename = "{filename} - {num}.{extension}";
|
||||
directory = [
|
||||
"{blog[name]}"
|
||||
"{post[author]}"
|
||||
"{post[title]} - [{post[id]}]"
|
||||
];
|
||||
};
|
||||
artstation = {
|
||||
external = true;
|
||||
directory = [ "{userinfo[username]}" ];
|
||||
};
|
||||
gfycat.format = "webm";
|
||||
reddit = {
|
||||
parent-directory = true;
|
||||
directory = [ "{author}" ];
|
||||
};
|
||||
redgifs = {
|
||||
reverse = true;
|
||||
directory = [ "{userName}" ];
|
||||
};
|
||||
imgur.mp4 = true;
|
||||
fanbox = {
|
||||
embeds = true;
|
||||
directory = [
|
||||
"{category}"
|
||||
"{creatorId}"
|
||||
];
|
||||
};
|
||||
readcomiconline = {
|
||||
chapter-reverse = true;
|
||||
quality = "hq";
|
||||
captcha = "wait";
|
||||
postprocessors = [ "cbz" ];
|
||||
directory = [
|
||||
"comics"
|
||||
"{comic}"
|
||||
"{comic} #{issue}"
|
||||
];
|
||||
};
|
||||
kissmanga = {
|
||||
chapter-reverse = true;
|
||||
captcha = "wait";
|
||||
postprocessors = [ "cbz" ];
|
||||
directory = [
|
||||
"manga"
|
||||
"{subcategory}"
|
||||
"{manga}"
|
||||
"{manga} Ch.{chapter}{chapter_minor}"
|
||||
];
|
||||
};
|
||||
mangahere = {
|
||||
chapter-reverse = true;
|
||||
postprocessors = [ "cbz" ];
|
||||
directory = [
|
||||
"manga"
|
||||
"{subcategory}"
|
||||
"{manga}"
|
||||
"{manga} Ch.{chapter}{chapter_minor}"
|
||||
];
|
||||
};
|
||||
mangadex = {
|
||||
chapter-reverse = true;
|
||||
chapter-filter = "lang == 'en'";
|
||||
postprocessors = [ "cbz" ];
|
||||
directory = [
|
||||
"manga"
|
||||
"manga"
|
||||
"{manga}"
|
||||
"{manga} Ch.{chapter}{chapter_minor}"
|
||||
];
|
||||
};
|
||||
manganelo = {
|
||||
chapter-reverse = true;
|
||||
chapter-filter = "lang == 'en'";
|
||||
postprocessors = [ "cbz" ];
|
||||
directory = [
|
||||
"manga"
|
||||
"{subcategory}"
|
||||
"{manga}"
|
||||
"{manga} Ch.{chapter}{chapter_minor}"
|
||||
];
|
||||
};
|
||||
mangareader = {
|
||||
chapter-reverse = true;
|
||||
postprocessors = [ "cbz" ];
|
||||
directory = [
|
||||
"manga"
|
||||
"{subcategory}"
|
||||
"{manga}"
|
||||
"{manga} Ch.{chapter}{chapter_minor}"
|
||||
];
|
||||
};
|
||||
mangapanda = {
|
||||
chapter-reverse = true;
|
||||
postprocessors = [ "cbz" ];
|
||||
directory = [
|
||||
"manga"
|
||||
"{subcategory}"
|
||||
"{manga}"
|
||||
"{manga} Ch.{chapter}{chapter_minor}"
|
||||
];
|
||||
};
|
||||
webtoons = {
|
||||
chapter-reverse = true;
|
||||
postprocessors = [ "cbz" ];
|
||||
directory = [
|
||||
"webtoons"
|
||||
"{comic}"
|
||||
"{comic} #{episode}"
|
||||
];
|
||||
};
|
||||
};
|
||||
output.mode = "auto";
|
||||
downloader = {
|
||||
part = true;
|
||||
part-directory = "/home/jawz/.cache/gallery-dl";
|
||||
ytdl = {
|
||||
logging = true;
|
||||
format = "bestvideo+bestaudio/best";
|
||||
module = "yt_dlp";
|
||||
forward-cookies = true;
|
||||
};
|
||||
http = {
|
||||
rate = null;
|
||||
retries = 5;
|
||||
timeout = 10.0;
|
||||
verify = true;
|
||||
};
|
||||
};
|
||||
postprocessor.cbz = {
|
||||
name = "zip";
|
||||
compression = "store";
|
||||
mode = "safe";
|
||||
extension = "cbz";
|
||||
};
|
||||
}
|
||||
7
dotfiles/npmrc
Normal file
7
dotfiles/npmrc
Normal file
@@ -0,0 +1,7 @@
|
||||
user=0
|
||||
unsafe-perm=true
|
||||
prefix=${XDG_DATA_HOME}/npm
|
||||
cache=${XDG_CACHE_HOME}/npm
|
||||
tmp=${XDG_RUNTIME_DIR}/npm
|
||||
init-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js
|
||||
store-dir=${XDG_DATA_HOME}/pnpm-store
|
||||
17
dotfiles/pythonrc
Normal file
17
dotfiles/pythonrc
Normal file
@@ -0,0 +1,17 @@
|
||||
import os
|
||||
import atexit
|
||||
import readline
|
||||
|
||||
history = os.path.join(os.environ['XDG_CACHE_HOME'], 'python_history')
|
||||
try:
|
||||
readline.read_history_file(history)
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
def write_history():
|
||||
try:
|
||||
readline.write_history_file(history)
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
atexit.register(write_history)
|
||||
7
dotfiles/stignore
Normal file
7
dotfiles/stignore
Normal file
@@ -0,0 +1,7 @@
|
||||
(?d)jawz/chrome/userChrome.css
|
||||
(?d)jawz/chrome/userContent.css
|
||||
(?d)jawz/lock
|
||||
(?d)jawz/user.js
|
||||
(?d)native-messaging-hosts/org.gnome.browser_connector.json
|
||||
(?d)native-messaging-hosts/org.gnome.chrome_gnome_shell.json
|
||||
(?d)profiles.ini
|
||||
222
dotfiles/unpackerr.conf
Normal file
222
dotfiles/unpackerr.conf
Normal file
@@ -0,0 +1,222 @@
|
||||
## Unpackerr Example Configuration File ##
|
||||
## The following values are application defaults. ##
|
||||
## Environment Variables may override all values. ##
|
||||
####################################################
|
||||
|
||||
# [true/false] Turn on debug messages in the output. Do not wrap this in quotes.
|
||||
# Recommend trying this so you know what it looks like. I personally leave it on.
|
||||
debug = false
|
||||
|
||||
# Disable writing messages to stdout. This silences the app. You should set a log
|
||||
# file below if you set this to true. Recommended when starting with systemctl.
|
||||
quiet = false
|
||||
|
||||
# Setting activity to true will silence all app queue log lines with only zeros.
|
||||
# Set this to true when you want less log spam.
|
||||
activity = false
|
||||
|
||||
# The application queue data is logged on an interval. Adjust that interval with this setting.
|
||||
# Default is a minute. 2m, 5m, 10m, 30m, 1h are also perfectly acceptable.
|
||||
log_queues = "1m"
|
||||
|
||||
# Write messages to a log file. This is the same data that is normally output to stdout.
|
||||
# This setting is great for Docker users that want to export their logs to a file.
|
||||
# The alternative is to use syslog to log the output of the application to a file.
|
||||
# Default is no log file; this is unset. log_files=0 turns off auto-rotation.
|
||||
# Default files is 10 and size(mb) is 10 Megabytes; both doubled if debug is true.
|
||||
#log_file = '/downloads/unpackerr.log'
|
||||
log_files = 10
|
||||
log_file_mb = 10
|
||||
|
||||
# How often to poll sonarr and radarr.
|
||||
# Recommend 1m-5m. Uses Go Duration.
|
||||
interval = "5m"
|
||||
|
||||
# How long an item must be queued (download complete) before extraction will start.
|
||||
# One minute is the historic default and works well. Set higher if your downloads
|
||||
# take longer to finalize (or transfer locally). Uses Go Duration.
|
||||
start_delay = "1m"
|
||||
|
||||
# How long to wait before removing the history for a failed extraction.
|
||||
# Once the history is deleted the item will be recognized as new and
|
||||
# extraction will start again. Uses Go Duration.
|
||||
retry_delay = "5m"
|
||||
|
||||
# How many files may be extracted in parallel. 1 works fine.
|
||||
# Do not wrap the number in quotes. Raise this only if you have fast disks and CPU.
|
||||
parallel = 1
|
||||
|
||||
# Use these configurations to control the file modes used for newly extracted
|
||||
# files and folders. Recommend 0644/0755 or 0666/0777.
|
||||
file_mode = "0664"
|
||||
dir_mode = "0775"
|
||||
|
||||
[webserver]
|
||||
## The web server currently only supports metrics; set this to true if you wish to use it.
|
||||
metrics = false
|
||||
## This may be set to a port or an ip:port to bind a specific IP. 0.0.0.0 binds ALL IPs.
|
||||
listen_addr = "0.0.0.0:5656"
|
||||
## Recommend setting a log file for HTTP requests. Otherwise, they go with other logs.
|
||||
log_file = ""
|
||||
## This app automatically rotates logs. Set these to the size and number to keep.
|
||||
log_files = 10
|
||||
log_file_mb = 10
|
||||
## Set both of these to valid file paths to enable HTTPS/TLS.
|
||||
ssl_cert_file = ""
|
||||
ssl_key_file = ""
|
||||
## Base URL from which to serve content.
|
||||
urlbase = "/"
|
||||
## Upstreams should be set to the IP or CIDR of your trusted upstream proxy.
|
||||
## Setting this correctly allows X-Forwarded-For to be used in logs.
|
||||
## In the future it may control auth proxy trust. Must be a list of strings.
|
||||
upstreams = [ ] # example: upstreams = [ "127.0.0.1/32", "10.1.2.0/24" ]
|
||||
|
||||
##-Notes-#######-READ THIS!!!-##################################################
|
||||
## The following sections can be repeated if you have more than one Sonarr, ##
|
||||
## Radarr or Lidarr, Readarr, Folder, Webhook, or Command Hook. ##
|
||||
## You MUST uncomment the [[header]] and api_key at a minimum for Starr apps. ##
|
||||
## ALL LINES BEGINNING WITH A HASH # ARE IGNORED ##
|
||||
## REMOVE THE HASH # FROM CONFIG LINES YOU WANT TO CHANGE ##
|
||||
################################################################################
|
||||
|
||||
[[sonarr]]
|
||||
url = "http://localhost:8989"
|
||||
api_key = "52869fe7bec4482dafb21c4053fe71e4"
|
||||
## File system path where downloaded Sonarr items are located.
|
||||
paths = ['/srv/pool/multimedia/downloads/torrent']
|
||||
## Default protocols is torrent. Alternative: "torrent,usenet"
|
||||
protocols = "torrent"
|
||||
## How long to wait for a reply from the backend.
|
||||
timeout = "10s"
|
||||
## How long to wait after import before deleting the extracted items.
|
||||
delete_delay = "5m"
|
||||
## If you use this app with NZB you may wish to delete archives after extraction.
|
||||
## General recommendation is: do not enable this for torrent use.
|
||||
## Setting this to true deletes the entire original download folder after import.
|
||||
# delete_orig = false
|
||||
## If you use Syncthing, setting this to true will make unpackerr wait for syncs to finish.
|
||||
# syncthing = false
|
||||
|
||||
[[radarr]]
|
||||
url = "http://127.0.0.1:7878"
|
||||
api_key = "a987ac45ca2c47bc88e762031ea33296"
|
||||
## File system path where downloaded Radarr items are located.
|
||||
paths = ['/srv/pool/multimedia/downloads/torrent']
|
||||
## Default protocols is torrents. Alternative: "torrent,usenet"
|
||||
protocols = "torrent"
|
||||
## How long to wait for a reply from the backend.
|
||||
timeout = "10s"
|
||||
## How long to wait after import before deleting the extracted items.
|
||||
delete_delay = "5m"
|
||||
## If you use this app with NZB you may wish to delete archives after extraction.
|
||||
## General recommendation is: do not enable this for torrent use.
|
||||
## Setting this to true deletes the entire original download folder after import.
|
||||
# delete_orig = false
|
||||
## If you use Syncthing, setting this to true will make unpackerr wait for syncs to finish.
|
||||
# syncthing = false
|
||||
|
||||
#[[lidarr]]
|
||||
# url = "http://127.0.0.1:8686"
|
||||
# api_key = "0123456789abcdef0123456789abcdef"
|
||||
## File system path where downloaded Lidarr items are located.
|
||||
# paths = ['/downloads']
|
||||
## Default protocols is torrent. Alternative: "torrent,usenet"
|
||||
# protocols = "torrent"
|
||||
## How long to wait for a reply from the backend.
|
||||
# timeout = "10s"
|
||||
## How long to wait after import before deleting the extracted items.
|
||||
# delete_delay = "5m"
|
||||
## If you use this app with NZB you may wish to delete archives after extraction.
|
||||
## General recommendation is: do not enable this for torrent use.
|
||||
## Setting this to true deletes the entire original download folder after import.
|
||||
# delete_orig = false
|
||||
## If you use Syncthing, setting this to true will make unpackerr wait for syncs to finish.
|
||||
# syncthing = false
|
||||
|
||||
#[[readarr]]
|
||||
# url = "http://127.0.0.1:8787"
|
||||
# api_key = "0123456789abcdef0123456789abc"
|
||||
## File system path where downloaded Readarr items are located.
|
||||
# paths = ['/downloads']
|
||||
## Default protocols is torrent. Alternative: "torrent,usenet"
|
||||
# protocols = "torrent"
|
||||
## How long to wait for a reply from the backend.
|
||||
# timeout = "10s"
|
||||
## How long to wait after import before deleting the extracted items.
|
||||
# delete_delay = "5m"
|
||||
## If you use this app with NZB you may wish to delete archives after extraction.
|
||||
## General recommendation is: do not enable this for torrent use.
|
||||
## Setting this to true deletes the entire original download folder after import.
|
||||
# delete_orig = false
|
||||
## If you use Syncthing, setting this to true will make unpackerr wait for syncs to finish.
|
||||
# syncthing = false
|
||||
|
||||
|
||||
##################################################################################
|
||||
### ### STOP HERE ### STOP HERE ### STOP HERE ### STOP HERE #### STOP HERE ### #
|
||||
### Only using Starr apps? The things above. The below configs are OPTIONAL. ### #
|
||||
##################################################################################
|
||||
|
||||
##-Folders-#######################################################################
|
||||
## This application can also watch folders for things to extract. If you copy a ##
|
||||
## subfolder into a watched folder (defined below) any extractable items in the ##
|
||||
## folder will be decompressed. This has nothing to do with Starr applications. ##
|
||||
##################################################################################
|
||||
#[[folder]]
|
||||
# path = '/some/folder/to/watch'
|
||||
## Path to extract files to. The default (leaving this blank) is the same as `path` (above).
|
||||
# extract_path = ""
|
||||
## Delete extracted or original files this long after extraction.
|
||||
## The default is 0. Set to 0 to disable all deletes. Uncomment it to enable deletes. Uses Go Duration.
|
||||
# delete_after = "10m"
|
||||
## Delete extracted files after successful extraction? true/false, no quotes. Honors delete_after.
|
||||
# delete_files = false
|
||||
## Delete original items after successful extraction? true/false, no quotes. Honors delete_after.
|
||||
# delete_original = false
|
||||
## Disable extraction log (unpackerred.txt) file creation? true/false, no quotes.
|
||||
# disable_log = false
|
||||
## Move extracted files into original folder? If false, files go into an _unpackerred folder.
|
||||
# move_back = false
|
||||
## Set this to true if you want this app to extract ISO files with .iso extension.
|
||||
# extract_isos = false
|
||||
|
||||
|
||||
################
|
||||
### Webhooks ###
|
||||
################
|
||||
# Sends a webhook when an extraction queues, starts, finishes, and/or is deleted.
|
||||
# Created to integrate with notifiarr.com.
|
||||
# Also works natively with Discord.com, Telegram.org, and Slack.com webhooks.
|
||||
# Can possibly be used with other services by providing a custom template_path.
|
||||
###### Don't forget to uncomment [[webhook]] and url at a minimum !!!!
|
||||
#[[webhook]]
|
||||
# url = "https://notifiarr.com/api/v1/notification/unpackerr/api_key_from_notifiarr_com"
|
||||
# name = "" # Set this to hide the URL in logs.
|
||||
# silent = false # do not log success (less log spam)
|
||||
# events = [0] # list of event ids to include, 0 == all.
|
||||
## Advanced Optional Webhook Configuration
|
||||
# nickname = "" # Used in Discord and Slack templates as bot name, in Telegram as chat_id.
|
||||
# channel = "" # Also passed into templates. Used in Slack templates for destination channel.
|
||||
# exclude = [] # list of apps to exclude, ie. ["radarr", "lidarr"]
|
||||
# template_path = "" # Override internal webhook template for discord.com or other hooks.
|
||||
# template = "" # Override automatic template detection. Values: notifiarr, discord, telegram, gotify, pushover, slack
|
||||
# ignore_ssl = false # Set this to true to ignore the SSL certificate on the server.
|
||||
# timeout = "10s" # You can adjust how long to wait for a server response.
|
||||
# content_type = "application/json" # If your custom template uses another MIME type, set this.
|
||||
|
||||
|
||||
#####################
|
||||
### Command Hooks ###
|
||||
#####################
|
||||
# Executes a script or command when an extraction queues, starts, finishes, and/or is deleted.
|
||||
# All data is passed in as environment variables. Try /usr/bin/env to see what variables are available.
|
||||
###### Don't forget to uncomment [[cmdhook]] and url at a minimum !!!!
|
||||
#[[cmdhook]]
|
||||
# command = '/my/cool/app' # Path to command or script.
|
||||
# shell = false # Runs the command inside /bin/sh ('nix) or cmd.exe (Windows).
|
||||
# name = "" # Provide an optional name for logging.
|
||||
# silent = false # Hides command output from logs.
|
||||
# events = [0] # list of event ids to include, 0 == all.
|
||||
## Optional Command Hook Configuration
|
||||
# exclude = [] # list of apps to exclude, ie. ["radarr", "lidarr"]
|
||||
# timeout = "10s" # You can adjust how long to wait for a server response.
|
||||
Reference in New Issue
Block a user