From c94368ca8ca5506abc4bd52e031874a78df1dd76 Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Thu, 1 Apr 2021 15:58:04 -0500 Subject: [PATCH] Minor edits. --- .config/doom/config.el | 17 ++++++++++++----- .config/doom/config.org | 20 +++++++++++++------- .config/doom/init.el | 20 ++++++++++---------- .config/doom/packages.el | 2 ++ .config/fish/config.fish | 2 +- .config/nitrogen/bg-saved.cfg | 6 +++--- .config/nitrogen/nitrogen.cfg | 8 ++++---- .config/qtile/README.org | 14 +++++++------- .config/qtile/config.py | 14 +++++++------- .config/qutebrowser/config.py | 2 +- 10 files changed, 60 insertions(+), 45 deletions(-) diff --git a/.config/doom/config.el b/.config/doom/config.el index dab1dd3..44a6c6e 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -1,7 +1,7 @@ (map! :leader (:prefix ("b". "buffer") - :desc "List bookmarks" "L" #'list-bookmarks - :desc "Save current bookmarks to bookmark file" "w" #'bookmark-save)) + :desc "List bookmarks" "L" #'list-bookmarks + :desc "Save current bookmarks to bookmark file" "w" #'bookmark-save)) (setq centaur-tabs-set-bar 'over centaur-tabs-set-icons t @@ -49,7 +49,13 @@ (map! :leader :desc "Load new theme" "h t" #'counsel-load-theme) -(setq elfeed-feeds '(("https://www.reddit.com/r/linux.rss" reddit linux) +;; (require 'elfeed-goodies) +;; (elfeed-goodies/setup) +;; (setq elfeed-goodies/entry-pane-size 0.5) +(setq elfeed-feeds (quote + (("https://www.reddit.com/r/linux.rss" reddit linux) + ("https://www.reddit.com/r/commandline.rss" reddit linux) + ("https://www.reddit.com/r/emacs.rss" reddit linux) ("https://www.gamingonlinux.com/article_rss.php" gaming linux) ("https://hackaday.com/blog/feed/" hackaday linux) ("https://opensource.com/feed" opensource linux) @@ -63,7 +69,7 @@ ("https://www.techrepublic.com/rssfeeds/topic/open-source/" techrepublic linux) ("https://betanews.com/feed" betanews linux) ("http://lxer.com/module/newswire/headlines.rss" lxer linux) - ("https://distrowatch.com/news/dwd.xml" distrowatch linux))) + ("https://distrowatch.com/news/dwd.xml" distrowatch linux)))) (emms-all) (emms-default-players) @@ -106,6 +112,7 @@ (custom-set-faces! '(font-lock-comment-face :slant italic) '(font-lock-keyword-face :slant italic)) +(setq global-prettify-symbols-mode t) (setq ivy-posframe-display-functions-alist '((swiper . ivy-posframe-display-at-point) @@ -140,7 +147,7 @@ :desc "Toggle truncate lines" "t" #'toggle-truncate-lines)) (after! mastodon - (setq mastodon-instance-url "https://mastodon.technology/")) + (setq mastodon-instance-url "https://distrotoot.com")) (add-to-list 'load-path "/usr/local/share/emacs/site-lisp/mu4e") ;;(require 'smtpmail) diff --git a/.config/doom/config.org b/.config/doom/config.org index 30f629b..364ece1 100644 --- a/.config/doom/config.org +++ b/.config/doom/config.org @@ -41,8 +41,8 @@ Doom Emacs uses 'SPC b' for keybindings related to bookmarks and buffers. Bookm #+BEGIN_SRC emacs-lisp (map! :leader (:prefix ("b". "buffer") - :desc "List bookmarks" "L" #'list-bookmarks - :desc "Save current bookmarks to bookmark file" "w" #'bookmark-save)) + :desc "List bookmarks" "L" #'list-bookmarks + :desc "Save current bookmarks to bookmark file" "w" #'bookmark-save)) #+END_SRC * CENTAUR-TABS @@ -130,7 +130,13 @@ Setting the theme to doom-one. To try out new themes, I set a keybinding for co An RSS newsfeed reader for Emacs. #+BEGIN_SRC emacs-lisp -(setq elfeed-feeds '(("https://www.reddit.com/r/linux.rss" reddit linux) +;; (require 'elfeed-goodies) +;; (elfeed-goodies/setup) +;; (setq elfeed-goodies/entry-pane-size 0.5) +(setq elfeed-feeds (quote + (("https://www.reddit.com/r/linux.rss" reddit linux) + ("https://www.reddit.com/r/commandline.rss" reddit linux) + ("https://www.reddit.com/r/emacs.rss" reddit linux) ("https://www.gamingonlinux.com/article_rss.php" gaming linux) ("https://hackaday.com/blog/feed/" hackaday linux) ("https://opensource.com/feed" opensource linux) @@ -144,7 +150,7 @@ An RSS newsfeed reader for Emacs. ("https://www.techrepublic.com/rssfeeds/topic/open-source/" techrepublic linux) ("https://betanews.com/feed" betanews linux) ("http://lxer.com/module/newswire/headlines.rss" lxer linux) - ("https://distrowatch.com/news/dwd.xml" distrowatch linux))) + ("https://distrowatch.com/news/dwd.xml" distrowatch linux)))) #+END_SRC * EMMS @@ -228,6 +234,7 @@ Settings related to fonts within Doom Emacs: (custom-set-faces! '(font-lock-comment-face :slant italic) '(font-lock-keyword-face :slant italic)) +(setq global-prettify-symbols-mode t) #+END_SRC * IVY @@ -302,11 +309,11 @@ I set comment-line to 'SPC TAB TAB' which is a rather comfortable keybinding for #+END_SRC * MASTODON -Mastodon.el is a mastodon client for Emacs. Note that I wrapped my settings with (after! mastodon). Without this, my settings for the mastodon instance that I use would be overwritten by the default settings for this module, which is "mastodon.social". +Mastodon.el is a mastodon client for Emacs. Note that I wrapped my settings with (after! mastodon). Without this, my settings for the mastodon instance that I use (distrotoot.com) would be overwritten by the default settings for this module, which is "mastodon.social". #+BEGIN_SRC emacs-lisp (after! mastodon - (setq mastodon-instance-url "https://mastodon.technology/")) + (setq mastodon-instance-url "https://distrotoot.com")) #+END_SRC * MU4E @@ -392,7 +399,6 @@ The settings below are specific to each of three different email accounts. Thes I'm sourcing an elisp file (~/.config/doom/email.el) that contains the above source block but with my actual email settings. I do this so I don't have to share my email addresses (other than derek@distrotube.com) publicly. If you uncommented the above source block to use, then you should comment out or delete this block below. #+BEGIN_SRC emacs-lisp (load "~/.config/doom/email") - #+END_SRC ** Function To Facilitate Switching Between Accounts diff --git a/.config/doom/init.el b/.config/doom/init.el index 29435f8..9268c17 100644 --- a/.config/doom/init.el +++ b/.config/doom/init.el @@ -93,7 +93,7 @@ (eval +overlay) ; run code, run (also, repls) ;;gist ; interacting with github gists lookup ; navigate your code and its documentation - lsp + ;;lsp magit ; a git porcelain for Emacs ;;make ; run make tasks from Emacs ;;pass ; password manager for nerds @@ -129,19 +129,19 @@ ;;fstar ; (dependent) types and (monadic) effects and Z3 ;;gdscript ; the language you waited for ;;(go +lsp) ; the hipster dialect - (haskell +lsp) ; a language that's lazier than I am + (haskell +dante) ; a language that's lazier than I am ;;hy ; readability of scheme w/ speed of python ;;idris ; a language you can depend on - (json +lmsp) ; At least it ain't XML + json ; At least it ain't XML ;;(java +meghanada) ; the poster child for carpal tunnel syndrome - (javascript +lsp) ; all(hope(abandon(ye(who(enter(here)))))) + javascript ; all(hope(abandon(ye(who(enter(here)))))) ;;julia ; a better, faster MATLAB ;;kotlin ; a better, slicker Java(Script) - (latex +lsp) ; writing papers in Emacs has never been so fun + latex ; writing papers in Emacs has never been so fun ;;lean ;;factor ;;ledger ; an accounting system in Emacs - (lua +lsp) ; one-based indices? one-based indices + lua ; one-based indices? one-based indices markdown ; writing docs for people to ignore ;;nim ; python + lisp at the speed of c ;;nix ; I hereby declare "nix geht mehr!" @@ -150,7 +150,7 @@ php ; perl's insecure younger brother ;;plantuml ; diagrams for confusing people more ;;purescript ; javascript, but functional - (python +lsp) ; beautiful is better than ugly + python ; beautiful is better than ugly ;;qt ; the 'cutest' gui framework ever ;;racket ; a DSL for DSLs ;;raku ; the artist formerly known as perl6 @@ -160,13 +160,13 @@ ;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() ;;scala ; java, but good ;;scheme ; a fully conniving family of lisps - (sh +lsp) ; she sells {ba,z,fi}sh shells on the C xor + sh ; 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 +lsp) ; the tubes - (yaml +lsp) ; JSON, but readable + web ; the tubes + yaml ; JSON, but readable :email mu4e diff --git a/.config/doom/packages.el b/.config/doom/packages.el index dd7ee26..f3ea404 100644 --- a/.config/doom/packages.el +++ b/.config/doom/packages.el @@ -52,9 +52,11 @@ (package! async) (package! dired-open) (package! dmenu) +(package! elfeed-goodies) (package! elpher) (package! emojify) (package! evil-tutor) +(package! hyperbole) (package! ivy-posframe) (package! mastodon) (package! org-bullets) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index e32568b..164baf9 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -202,7 +202,7 @@ end ### ALIASES ### # spark aliases -alias clear='clear; echo; echo; seq 1 (tput cols) | sort -R | spark | lolcat; echo; echo' +alias clear='/bin/clear; echo; echo; seq 1 (tput cols) | sort -R | spark | lolcat; echo; echo' # root privileges alias doas="doas --" diff --git a/.config/nitrogen/bg-saved.cfg b/.config/nitrogen/bg-saved.cfg index 0f9b280..2cc5c72 100644 --- a/.config/nitrogen/bg-saved.cfg +++ b/.config/nitrogen/bg-saved.cfg @@ -1,14 +1,14 @@ [xin_0] -file=/home/dt/wallpapers/0095.jpg +file=/home/dt/wallpapers/0253.jpg mode=0 bgcolor=#000000 [xin_1] -file=/home/dt/wallpapers/0095.jpg +file=/home/dt/wallpapers/0253.jpg mode=0 bgcolor=#000000 [xin_2] -file=/home/dt/wallpapers/0095.jpg +file=/home/dt/wallpapers/0253.jpg mode=0 bgcolor=#000000 diff --git a/.config/nitrogen/nitrogen.cfg b/.config/nitrogen/nitrogen.cfg index 4468f86..6af2042 100644 --- a/.config/nitrogen/nitrogen.cfg +++ b/.config/nitrogen/nitrogen.cfg @@ -1,8 +1,8 @@ [geometry] -posx=3848 -posy=28 -sizex=1900 -sizey=1040 +posx=0 +posy=20 +sizex=1920 +sizey=1060 [nitrogen] view=icon diff --git a/.config/qtile/README.org b/.config/qtile/README.org index abd7d37..fcfc55a 100644 --- a/.config/qtile/README.org +++ b/.config/qtile/README.org @@ -501,18 +501,18 @@ def init_widgets_list(): fontsize = 37 ), widget.TextBox( - text = " 🌡", + text = " 🌡 TEMP NOT SHOWN ", padding = 2, foreground = colors[2], background = colors[5], fontsize = 11 ), - widget.ThermalSensor( - foreground = colors[2], - background = colors[5], - threshold = 90, - padding = 5 - ), + # widget.ThermalSensor( + # foreground = colors[2], + # background = colors[5], + # threshold = 90, + # padding = 5 + # ), widget.TextBox( text='', background = colors[5], diff --git a/.config/qtile/config.py b/.config/qtile/config.py index d192b66..982ecc9 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -378,18 +378,18 @@ def init_widgets_list(): fontsize = 37 ), widget.TextBox( - text = " 🌡", + text = " 🌡 TEMP NOT SHOWN ", padding = 2, foreground = colors[2], background = colors[5], fontsize = 11 ), - widget.ThermalSensor( - foreground = colors[2], - background = colors[5], - threshold = 90, - padding = 5 - ), + # widget.ThermalSensor( + # foreground = colors[2], + # background = colors[5], + # threshold = 90, + # padding = 5 + # ), widget.TextBox( text='', background = colors[5], diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index b552eda..52f97dc 100755 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -21,7 +21,7 @@ config.load_autoconfig(False) c.aliases = {'q': 'quit', 'w': 'session-save', 'wq': 'quit --save'} # Setting dark mode -config.set("colors.webpage.darkmode.enabled", True) +#config.set("colors.webpage.darkmode.enabled", True) # Which cookies to accept. With QtWebEngine, this setting also controls