Minor edits.

This commit is contained in:
Derek Taylor 2021-04-01 15:58:04 -05:00
parent 585823b374
commit c94368ca8c
10 changed files with 60 additions and 45 deletions

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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 --"

View File

@ -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

View File

@ -1,8 +1,8 @@
[geometry]
posx=3848
posy=28
sizex=1900
sizey=1040
posx=0
posy=20
sizex=1920
sizey=1060
[nitrogen]
view=icon

View File

@ -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],

View File

@ -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],

View File

@ -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