From 90b894149ad87ecc1238f73ee9f9b9a495fd6ab1 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Sat, 3 Apr 2021 03:23:33 +0300 Subject: [PATCH] Another 'Various changes' --- README.md | 2 +- home/.config/doom/config.el | 5 + home/.config/doom/elfeed.org | 1 + home/.config/doom/exwm.el | 11 +- home/.config/doom/packages.el | 3 + home/.config/gallery-dl/config.json | 15 +++ home/.config/git/config | 10 +- home/.config/newsboat/config | 2 + home/.config/newsboat/urls | 117 +++++++++++----------- home/.config/nvim/plug-config/rainbow.vim | 4 +- home/.config/nvim/plugin/keybindings.vim | 2 +- home/.config/ranger/rifle.conf | 2 +- 12 files changed, 105 insertions(+), 69 deletions(-) diff --git a/README.md b/README.md index 1db913c..1d9a863 100644 --- a/README.md +++ b/README.md @@ -78,5 +78,5 @@ - [some fzf scripts](https://github.com/DanielFGray/fzf-scripts) - [colorscripts](https://gitlab.com/dwt1/shell-color-scripts) -- Artists for **kawaii** wallpapers: [@rimuu](https://rimuu.com/), [@hiten](https://www.pixiv.net/users/490219/artworks), [@Tiv](https://www.pixiv.net/en/users/35081), [@mery](https://www.pixiv.net/en/users/2750098), [@Mashima_saki](https://www.pixiv.net/en/users/18403608), [@Yuuki_Tatsuya](https://www.pixiv.net/en/users/27691), [@Bison倉鼠](https://www.pixiv.net/en/users/333556/artworks), [@Dana](https://twitter.com/hapong07), [@gomzi](https://twitter.com/gcmzi), [@Rella](https://twitter.com/Rellakinoko), [@dnwls3010](https://twitter.com/dnwls3010), [@Shigure_Ui](https://www.pixiv.net/en/users/431873), [@QuAn_](https://www.pixiv.net/en/users/6657532/artworks), [@杉87](https://twitter.com/k_su_keke1121), [@fuzichoco](https://twitter.com/fuzichoco), [@Astero](https://twitter.com/asteroid_ill), [@shin556](https://www.pixiv.net/en/users/642762) +- Artists for **kawaii** wallpapers: [@rimuu](https://rimuu.com/), [@hiten](https://www.pixiv.net/users/490219/artworks), [@Tiv](https://www.pixiv.net/en/users/35081), [@mery](https://www.pixiv.net/en/users/2750098), [@Mashima_saki](https://www.pixiv.net/en/users/18403608), [@Yuuki_Tatsuya](https://www.pixiv.net/en/users/27691), [@Bison倉鼠](https://www.pixiv.net/en/users/333556/artworks), [@Dana](https://twitter.com/hapong07), [@gomzi](https://twitter.com/gcmzi), [@Rella](https://twitter.com/Rellakinoko), [@dnwls3010](https://twitter.com/dnwls3010), [@Shigure_Ui](https://www.pixiv.net/en/users/431873), [@QuAn_](https://www.pixiv.net/en/users/6657532/artworks), [@杉87](https://twitter.com/k_su_keke1121), [@fuzichoco](https://twitter.com/fuzichoco), [@Astero](https://twitter.com/asteroid_ill), [@shin556](https://www.pixiv.net/en/users/642762), [@kaynimatic](https://twitter.com/kaynimatic) - Others are under MIT license diff --git a/home/.config/doom/config.el b/home/.config/doom/config.el index 1d8bc58..0b4029b 100644 --- a/home/.config/doom/config.el +++ b/home/.config/doom/config.el @@ -224,6 +224,11 @@ ;; Elfeed (setq rmh-elfeed-org-files (list (expand-file-name "elfeed.org" doom-private-dir))) ;;(add-hook! 'elfeed-search-mode-hook 'elfeed-update) +(use-package! elfeed-goodies + :after elfeed + :config + (elfeed-goodies/setup) + (setq elfeed-goodies/entry-pane-size 0.5)) ;; Elpher (defun elpher--init-hook () diff --git a/home/.config/doom/elfeed.org b/home/.config/doom/elfeed.org index d883d90..a365bfb 100644 --- a/home/.config/doom/elfeed.org +++ b/home/.config/doom/elfeed.org @@ -55,6 +55,7 @@ **** [[https://www.reddit.com/r/LightNovels/new.rss][r/LightNovels]] **** [[https://www.reddit.com/r/PixelArt/new.rss][r/PixelArt]] **** [[https://www.reddit.com/r/riprequests/new.rss][r/riprequests]] +**** [[https://www.reddit.com/r/dllinks/new.rss][r/dllinks]] ** News :news: *** [[http://feeds.bbci.co.uk/news/rss.xml][BBC News]] *** [[https://www.theguardian.com/world/rss][The Guardian]] diff --git a/home/.config/doom/exwm.el b/home/.config/doom/exwm.el index 080f928..aa0f918 100644 --- a/home/.config/doom/exwm.el +++ b/home/.config/doom/exwm.el @@ -16,9 +16,11 @@ ;; Start pinentry (pinentry-start) + ;; System monitor in minibuffer + (symon-mode) ;; Additional status info on modeline - (setq display-time-day-and-date t) + ;;(setq display-time-day-and-date t) (display-time-mode 1) (if (not (equal "Battery status not available" (battery))) (display-battery-mode 1)) @@ -169,6 +171,13 @@ ;; :config ;; (setq system-packages-use-sudo t)) +(use-package! symon + :commands symon-mode + :custom + (symon-sparkline-type 'gridded) + :config + (symon-display)) + ;; playerctl status on modeline ;; (use-package! doom-modeline-now-playing ;; :after doom-modeline diff --git a/home/.config/doom/packages.el b/home/.config/doom/packages.el index d6af1b1..de0b680 100644 --- a/home/.config/doom/packages.el +++ b/home/.config/doom/packages.el @@ -66,6 +66,9 @@ (package! nerd-fonts :recipe (:host github :repo "FollieHiyuki/nerd-fonts.el")) (package! ivy-emms) +(package! elfeed-goodies) +(package! symon) +;;(package! mentor) ;;(package! mozc-cand-posframe) ;;(package! 2048-game) ;;(package! org-ql) diff --git a/home/.config/gallery-dl/config.json b/home/.config/gallery-dl/config.json index 111f145..e4df11a 100644 --- a/home/.config/gallery-dl/config.json +++ b/home/.config/gallery-dl/config.json @@ -92,6 +92,21 @@ } ] }, + "manganelo": { + "directory": [ + "Manga", + "{manga}", + "c{chapter} - {title}" + ], + "postprocessors": [ + { + "name": "zip", + "compression": "store", + "extension": "cbz", + "keep-files": false + } + ] + }, "mangahere": { "directory": [ "Manga", diff --git a/home/.config/git/config b/home/.config/git/config index 125b417..da99ca8 100644 --- a/home/.config/git/config +++ b/home/.config/git/config @@ -46,11 +46,13 @@ autocorrect = 1 [url "https://github.com/"] insteadOf = gh: +[url "https://gist.github.com/"] + insteadOf = gist: [url "https://gitlab.com/"] insteadOf = gl: [url "https://git.disroot.org/"] insteadOf = dr: -[url "https://gist.github.com/"] - insteadOf = gist: -[url "https://bitbucket.org/"] - insteadOf = bb: +[url "https://codeberg.org/"] + insteadOf = cb: +[url "https://git.sr.ht/~"] + insteadOf = sr: diff --git a/home/.config/newsboat/config b/home/.config/newsboat/config index 76d4703..950da5f 100644 --- a/home/.config/newsboat/config +++ b/home/.config/newsboat/config @@ -25,6 +25,8 @@ bind-key d pagedown bind-key u pageup bind-key l open bind-key h quit +bind-key RIGHT open +bind-key LEFT quit bind-key BACKSPACE quit bind-key q hard-quit bind-key H prev-feed diff --git a/home/.config/newsboat/urls b/home/.config/newsboat/urls index 4ca2147..b22d8a6 100644 --- a/home/.config/newsboat/urls +++ b/home/.config/newsboat/urls @@ -1,77 +1,76 @@ -------Linux/BSD------- -https://distrowatch.com/news/dw.xml "~DistroWatch" news -https://www.reddit.com/r/linux/new.rss "~r/linux" reddit +https://distrowatch.com/news/dw.xml "~DistroWatch" news +https://www.reddit.com/r/linux/new.rss "~r/linux" reddit https://www.reddit.com/r/linuxquestions/new.rss "~r/linuxquestions" reddit -https://www.reddit.com/r/linux_gaming/new.rss "~r/linux_gaming" reddit -https://www.reddit.com/r/openbsd/new.rss "~r/openbsd" reddit -https://www.reddit.com/r/freebsd/new.rss "~r/freebsd" reddit -https://www.reddit.com/r/Gentoo/new.rss "~r/Gentoo" reddit -https://www.reddit.com/r/archlinux/new.rss "~r/archlinux" reddit -https://www.reddit.com/r/voidlinux/new.rss "~r/voidlinux" reddit -https://www.reddit.com/r/NixOS/new.rss "~r/NixOS" reddit -https://www.reddit.com/r/bedrocklinux/new.rss "~r/bedrocklinux" reddit -https://www.reddit.com/r/Fedora/new.rss "~r/Fedora" reddit -https://www.reddit.com/r/gnome/new.rss "~r/gnome" reddit -https://www.reddit.com/r/kde/new.rss "~r/kde" reddit -https://www.reddit.com/r/swaywm/new.rss "~r/swaywm" reddit -https://www.reddit.com/r/flatpak/new.rss "~r/flatpak" reddit +https://www.reddit.com/r/linux_gaming/new.rss "~r/linux_gaming" reddit +https://www.reddit.com/r/openbsd/new.rss "~r/openbsd" reddit +https://www.reddit.com/r/freebsd/new.rss "~r/freebsd" reddit +https://www.reddit.com/r/Gentoo/new.rss "~r/Gentoo" reddit +https://www.reddit.com/r/archlinux/new.rss "~r/archlinux" reddit +https://www.reddit.com/r/voidlinux/new.rss "~r/voidlinux" reddit +https://www.reddit.com/r/NixOS/new.rss "~r/NixOS" reddit +https://www.reddit.com/r/bedrocklinux/new.rss "~r/bedrocklinux" reddit +https://www.reddit.com/r/Fedora/new.rss "~r/Fedora" reddit +https://www.reddit.com/r/gnome/new.rss "~r/gnome" reddit +https://www.reddit.com/r/kde/new.rss "~r/kde" reddit +https://www.reddit.com/r/swaywm/new.rss "~r/swaywm" reddit +https://www.reddit.com/r/flatpak/new.rss "~r/flatpak" reddit --------Software------- -https://www.reddit.com/r/emacs/new.rss "~r/emacs" reddit -https://www.reddit.com/r/neovim/new.rss "~r/neovim" reddit -https://www.reddit.com/r/GnuPG/new.rss "~r/GnuPG" reddit +https://www.reddit.com/r/emacs/new.rss "~r/emacs" reddit +https://www.reddit.com/r/neovim/new.rss "~r/neovim" reddit +https://www.reddit.com/r/GnuPG/new.rss "~r/GnuPG" reddit https://www.reddit.com/r/commandline/new.rss "~r/commandline" reddit --------Privacy-------- https://www.reddit.com/r/privacytoolsIO/new.rss "~r/privacytoolsIO" reddit -https://www.reddit.com/r/privacy/new.rss "~r/privacy" reddit -https://www.reddit.com/r/TOR/new.rss "~r/TOR" reddit -https://www.reddit.com/r/Monero/new.rss "~r/Monero" reddit +https://www.reddit.com/r/privacy/new.rss "~r/privacy" reddit +https://www.reddit.com/r/TOR/new.rss "~r/TOR" reddit +https://www.reddit.com/r/Monero/new.rss "~r/Monero" reddit ---------Fluff--------- -https://www.reddit.com/r/unixporn/new.rss "~r/unixporn" reddit -https://www.reddit.com/r/Rainmeter/new.rss "~r/Rainmeter" reddit -https://www.reddit.com/r/FirefoxCSS/new.rss "~r/FirefoxCSS" reddit -https://www.reddit.com/r/startpages/new.rss "~r/startpages" reddit -https://www.reddit.com/r/wallpaper/new.rss "~r/wallpaper" reddit -https://www.reddit.com/r/Animewallpaper/new.rss "~r/Animewallpaper" reddit -https://www.reddit.com/r/AnimewallpapersSFW/new.rss "~r/AnimewallpaperSFW" reddit -https://www.reddit.com/r/awwnime/new.rss "~r/awwnime" reddit -https://www.reddit.com/r/Lolirefugees/new.rss "~r/Lolirefugees" reddit +https://www.reddit.com/r/unixporn/new.rss "~r/unixporn" reddit +https://www.reddit.com/r/Rainmeter/new.rss "~r/Rainmeter" reddit +https://www.reddit.com/r/FirefoxCSS/new.rss "~r/FirefoxCSS" reddit +https://www.reddit.com/r/startpages/new.rss "~r/startpages" reddit +https://www.reddit.com/r/wallpaper/new.rss "~r/wallpaper" reddit +https://www.reddit.com/r/Animewallpaper/new.rss "~r/Animewallpaper" reddit +https://www.reddit.com/r/AnimewallpapersSFW/new.rss "~r/AnimewallpaperSFW" reddit +https://www.reddit.com/r/awwnime/new.rss "~r/awwnime" reddit +https://www.reddit.com/r/Lolirefugees/new.rss "~r/Lolirefugees" reddit https://www.reddit.com/r/AnimeGirlsInKimonos/new.rss "~r/AnimeGirlsInKimono" reddit -https://www.reddit.com/r/fatestaynight/new.rss "~r/fatestaynight" reddit -https://www.reddit.com/r/Saber/new.rss "~r/Saber" reddit -https://www.reddit.com/r/OneTrueTohsaka/new.rss "~r/OneTrueTohsaka" reddit -https://www.reddit.com/r/formalwaifus/new.rss "~r/formalwaifus" reddit -https://www.reddit.com/r/LightNovels/new.rss "~r/LightNovels" reddit -https://www.reddit.com/r/PixelArt/new.rss "~r/PixelArt" reddit -https://www.reddit.com/r/riprequests/new.rss "~r/riprequests" reddit +https://www.reddit.com/r/fatestaynight/new.rss "~r/fatestaynight" reddit +https://www.reddit.com/r/Saber/new.rss "~r/Saber" reddit +https://www.reddit.com/r/OneTrueTohsaka/new.rss "~r/OneTrueTohsaka" reddit +https://www.reddit.com/r/formalwaifus/new.rss "~r/formalwaifus" reddit +https://www.reddit.com/r/LightNovels/new.rss "~r/LightNovels" reddit +https://www.reddit.com/r/PixelArt/new.rss "~r/PixelArt" reddit +https://www.reddit.com/r/riprequests/new.rss "~r/riprequests" reddit +https://www.reddit.com/r/dllinks/new.rss "~r/dllinks" reddit ------Programming------ https://www.reddit.com/r/learnprogramming/new.rss "~r/learnprogramming" reddit -https://www.reddit.com/r/programming/new.rss "~r/programming" reddit -https://www.reddit.com/r/dailyprogrammer/new.rss "~r/dailyprogrammer" reddit -https://www.reddit.com/r/badcode/new.rss "~r/badcode" reddit +https://www.reddit.com/r/programming/new.rss "~r/programming" reddit +https://www.reddit.com/r/dailyprogrammer/new.rss "~r/dailyprogrammer" reddit +https://www.reddit.com/r/badcode/new.rss "~r/badcode" reddit ---------News---------- -https://news.ycombinator.com/rss "~Hacker News" news -https://www.phoronix.com/rss.php "~Phoronix" news +https://news.ycombinator.com/rss "~Hacker News" news +https://www.phoronix.com/rss.php "~Phoronix" news https://www.nytimes.com/svc/collections/v1/publish/https://www.nytimes.com/section/world/rss.xml "~The NewYork Times" news -https://www.cbsnews.com/latest/rss/world "~CBS News" news -https://www.theguardian.com/world/rss "~The Guardian" news +https://www.cbsnews.com/latest/rss/world "~CBS News" news +https://www.theguardian.com/world/rss "~The Guardian" news -------Youtube--------- -https://www.youtube.com/feeds/videos.xml?channel_id=UCVls1GmFKf6WlTraIb_IaJg "~Youtube: DistroTube" youtube +https://www.youtube.com/feeds/videos.xml?channel_id=UCVls1GmFKf6WlTraIb_IaJg "~Youtube: DistroTube" youtube https://www.youtube.com/feeds/videos.xml?channel_id=UCld68syR8Wi-GY_n4CaoJGA "~Youtube: Brodie Robertson" youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UC7YOGHUfC1Tb6E4pudI9STA "~Youtube: Mental Outlaw" youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA "~Youtube: Luke Smith" youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCZWadyLVO4ZnMgLrRVtS6VA "~Youtube: baby WOGUE" youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCgTNupxATBfWmfehv21ym-g "~Youtube: Null Byte" youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UC3s0BtrBJpwNDaflRSoiieQ "~Youtube: Hak5" youtube +https://www.youtube.com/feeds/videos.xml?channel_id=UC7YOGHUfC1Tb6E4pudI9STA "~Youtube: Mental Outlaw" youtube +https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA "~Youtube: Luke Smith" youtube +https://www.youtube.com/feeds/videos.xml?channel_id=UCZWadyLVO4ZnMgLrRVtS6VA "~Youtube: baby WOGUE" youtube +https://www.youtube.com/feeds/videos.xml?channel_id=UCAiiOTio8Yu69c3XnR7nQBQ "~Youtube: System Crafters" youtube ------ -https://www.youtube.com/feeds/videos.xml?channel_id=UCHnyfMqiRRG1u-2MsSQLbXA "~Youtube: Veritasium" youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UC6nSFpj9HTCZ5t-N3Rm3-HA "~Youtube: Vsauce" youtube +https://www.youtube.com/feeds/videos.xml?channel_id=UCHnyfMqiRRG1u-2MsSQLbXA "~Youtube: Veritasium" youtube +https://www.youtube.com/feeds/videos.xml?channel_id=UC6nSFpj9HTCZ5t-N3Rm3-HA "~Youtube: Vsauce" youtube https://www.youtube.com/feeds/videos.xml?channel_id=UCoxcjq-8xIDTYp3uz647V5A "~Youtube: Numberphile" youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UC2C_jShtL725hvbm1arSV9w "~Youtube: CGP Grey" youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCOGeU-1Fig3rrDjhm9Zs_wg "~Youtube: Vihart" youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UClq42foiSgl7sSpLupnugGA "~Youtube: D!NG" youtube +https://www.youtube.com/feeds/videos.xml?channel_id=UC2C_jShtL725hvbm1arSV9w "~Youtube: CGP Grey" youtube +https://www.youtube.com/feeds/videos.xml?channel_id=UCOGeU-1Fig3rrDjhm9Zs_wg "~Youtube: Vihart" youtube +https://www.youtube.com/feeds/videos.xml?channel_id=UClq42foiSgl7sSpLupnugGA "~Youtube: D!NG" youtube ------ -https://www.youtube.com/feeds/videos.xml?channel_id=UC8butISFwT-Wl7EV0hUK0BQ "~Youtube: freeCodeCamp.org" youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCEbYhDd6c6vngsF5PQpFVWg "~Youtube: Tsoding" youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCd3dNckv1Za2coSaHGHl5aA "~Youtube: TJ DeVries" youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCAiiOTio8Yu69c3XnR7nQBQ "~Youtube: System Crafters" youtube +https://www.youtube.com/feeds/videos.xml?channel_id=UC8butISFwT-Wl7EV0hUK0BQ "~Youtube: freeCodeCamp.org" youtube +https://www.youtube.com/feeds/videos.xml?channel_id=UCEbYhDd6c6vngsF5PQpFVWg "~Youtube: Tsoding" youtube +https://www.youtube.com/feeds/videos.xml?channel_id=UCd3dNckv1Za2coSaHGHl5aA "~Youtube: TJ DeVries" youtube https://www.youtube.com/feeds/videos.xml?channel_id=UC5Qw7uMu8_QMJHBw3mQJ62w "~Youtube: Georges Basile Stavracas Neto" youtube diff --git a/home/.config/nvim/plug-config/rainbow.vim b/home/.config/nvim/plug-config/rainbow.vim index 2c81ac4..5c5bae3 100644 --- a/home/.config/nvim/plug-config/rainbow.vim +++ b/home/.config/nvim/plug-config/rainbow.vim @@ -1,7 +1,7 @@ " Rainbow parentheses -let g:rainbow_active = 0 +let g:rainbow_active = 1 let g:rainbow#pairs = [['(', ')'], ['[', ']'], ['{', '}'], ['<', '>']] -" let g:rainbow_conf = {'guis': ['bold']} +let g:rainbow_conf = {'guis': ['bold']} " Rainbow csv let g:disable_rainbow_key_mappings = 1 diff --git a/home/.config/nvim/plugin/keybindings.vim b/home/.config/nvim/plugin/keybindings.vim index 9d065bf..a5693c0 100644 --- a/home/.config/nvim/plugin/keybindings.vim +++ b/home/.config/nvim/plugin/keybindings.vim @@ -42,7 +42,7 @@ inoremap i nnoremap :bnext nnoremap :bprevious " Just do it -cmap w!! w !sudo tee % +" cmap w!! w !sudo tee % " Fix indenting visual block vmap < >gv diff --git a/home/.config/ranger/rifle.conf b/home/.config/ranger/rifle.conf index 8e2a7a4..dd1f9f0 100644 --- a/home/.config/ranger/rifle.conf +++ b/home/.config/ranger/rifle.conf @@ -180,8 +180,8 @@ ext cbz, has zathura, X, flag f = zathura -- "$@" mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@" mime ^image/svg, has display, X, flag f = display -- "$@" -mime ^image, has imv, X, flag f = imv -- "$@" mime ^image, has pqiv, X, flag f = pqiv -- "$@" +mime ^image, has imv, X, flag f = imv -- "$@" mime ^image, has sxiv, X, flag f = sxiv -- "$@" mime ^image, has feh, X, flag f, !ext gif = feh -- "$@" mime ^image, has mirage, X, flag f = mirage -- "$@"