Fix Doom config
This commit is contained in:
@@ -184,3 +184,7 @@ if command -v starship > /dev/null 2>&1; then
|
|||||||
eval "$(starship init bash)"
|
eval "$(starship init bash)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Load Mise en dev
|
||||||
|
if command -v mise > /dev/null 2>&1; then
|
||||||
|
eval "$(mise activate bash)"
|
||||||
|
fi
|
||||||
|
|||||||
@@ -1,17 +1,3 @@
|
|||||||
appendpath() {
|
|
||||||
local location="${1}"
|
|
||||||
case ":$PATH:" in
|
|
||||||
*":$location:"*) ;;
|
|
||||||
*) export PATH="$PATH:$location" ;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
appendpath "$HOME/.local/bin"
|
|
||||||
appendpath "$HOME/.cargo/bin"
|
|
||||||
appendpath "/home/linuxbrew/.linuxbrew/bin"
|
|
||||||
appendpath "$HOME/.config/emacs/bin"
|
|
||||||
unset appendpath
|
|
||||||
|
|
||||||
# XDG variables
|
# XDG variables
|
||||||
export XDG_CONFIG_HOME=${HOME}/.config
|
export XDG_CONFIG_HOME=${HOME}/.config
|
||||||
export XDG_DATA_HOME=${HOME}/.local/share
|
export XDG_DATA_HOME=${HOME}/.local/share
|
||||||
@@ -28,10 +14,8 @@ export QT_STYLE_OVERRIDE=kvantum
|
|||||||
# Make Qt apps honour DPI settings.
|
# Make Qt apps honour DPI settings.
|
||||||
export QT_AUTO_SCREEN_SCALE_FACTOR=1
|
export QT_AUTO_SCREEN_SCALE_FACTOR=1
|
||||||
|
|
||||||
export ZSH_HOME="$HOME/.zsh"
|
|
||||||
export DOTFILES="$HOME/.dotfiles"
|
export DOTFILES="$HOME/.dotfiles"
|
||||||
export EDITOR=nvim
|
export EDITOR=nano
|
||||||
export HELPDIR=/usr/share/zsh/"${ZSH_VERSION}"/help
|
|
||||||
|
|
||||||
# SSH socket
|
# SSH socket
|
||||||
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/gcr/ssh"
|
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/gcr/ssh"
|
||||||
@@ -50,8 +34,24 @@ export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/gcr/ssh"
|
|||||||
# export FZF_TMUX_OPTS=" -p90%,70%"
|
# export FZF_TMUX_OPTS=" -p90%,70%"
|
||||||
export VIRTUAL_ENV_DISABLE_PROMPT=1
|
export VIRTUAL_ENV_DISABLE_PROMPT=1
|
||||||
|
|
||||||
|
# Export Golang enviroments
|
||||||
|
export GOPATH="$HOME/.local/share/Go"
|
||||||
|
export GOBIN="$GOPATH/bin"
|
||||||
|
|
||||||
source "$HOME/.profile.d/homebrew.sh"
|
source "$HOME/.profile.d/homebrew.sh"
|
||||||
source "$HOME/.profile.d/mise.sh"
|
|
||||||
source "$HOME/.profile.d/golang.sh"
|
|
||||||
source "$HOME/.profile.d/java.sh"
|
source "$HOME/.profile.d/java.sh"
|
||||||
|
|
||||||
|
appendpath() {
|
||||||
|
local location="${1}"
|
||||||
|
case ":$PATH:" in
|
||||||
|
*":$location:"*) ;;
|
||||||
|
*) export PATH="$PATH:$location" ;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
appendpath "$HOME/.local/bin"
|
||||||
|
appendpath "$GOBIN"
|
||||||
|
appendpath "$HOME/.cargo/bin"
|
||||||
|
appendpath "/home/linuxbrew/.linuxbrew/bin"
|
||||||
|
appendpath "$HOME/.config/emacs/bin"
|
||||||
|
unset appendpath
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
if command -v go > /dev/null 2>&1; then
|
|
||||||
export GOPATH="$HOME/.local/share/Go"
|
|
||||||
export GOBIN="$GOPATH/bin"
|
|
||||||
fi
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
if command -v mise > /dev/null 2>&1; then
|
|
||||||
eval "$(mise activate bash)"
|
|
||||||
fi
|
|
||||||
@@ -111,11 +111,16 @@
|
|||||||
|
|
||||||
;; Configure Elfeed
|
;; Configure Elfeed
|
||||||
(after! elfeed
|
(after! elfeed
|
||||||
|
(setq rmh-elfeed-org-files '("~/.config/doom/elfeed.org"))
|
||||||
|
(setq elfeed-db-directory "~/.elfeed")
|
||||||
(setq elfeed-enclosure-default-dir "~/Downloads/")
|
(setq elfeed-enclosure-default-dir "~/Downloads/")
|
||||||
(setq elfeed-search-remain-on-entry t)
|
|
||||||
(setq elfeed-search-title-max-width 100)
|
|
||||||
(setq elfeed-search-title-min-width 30)
|
|
||||||
(setq elfeed-search-trailing-width 25)
|
|
||||||
(setq elfeed-show-truncate-long-urls t)
|
|
||||||
(setq elfeed-sort-order 'descending)
|
(setq elfeed-sort-order 'descending)
|
||||||
(setq elfeed-search-filter "1-week-ago +unread"))
|
(setq elfeed-search-filter "1-week-ago +unread")
|
||||||
|
|
||||||
|
;; ;; Key bindings
|
||||||
|
;; (map! :map elfeed-search-mode-map
|
||||||
|
;; :n "d" #'elfeed-download-current-entry
|
||||||
|
;; :n "O" #'elfeed-search-browse-url)
|
||||||
|
|
||||||
|
;; Update hourly
|
||||||
|
(run-at-time nil (* 60 60) #'elfeed-update))
|
||||||
|
|||||||
9
doom/.config/doom/elfeed.org
Normal file
9
doom/.config/doom/elfeed.org
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#+TITLE: RSS Urls
|
||||||
|
#+AUTHOR: Fabio Scotto di Santolo
|
||||||
|
#+DATE: <2025-10-25 Sat>
|
||||||
|
|
||||||
|
* root :elfeed:
|
||||||
|
** Programming :programming:
|
||||||
|
*** [[https://feeds.feedburner.com/TheHackersNews][Hacker News]] :news: :security:
|
||||||
|
** FOSS News :news:
|
||||||
|
*** [[https://blog.linuxmint.com/?feed=rss2][Linux Mint Blog]] :blog: :linux: :linuxmint:
|
||||||
@@ -22,11 +22,11 @@
|
|||||||
|
|
||||||
:completion
|
:completion
|
||||||
company ; the ultimate code completion backend
|
company ; the ultimate code completion backend
|
||||||
(corfu +orderless) ; complete with cap(f), cape and a flying feather!
|
;;(corfu +orderless) ; complete with cap(f), cape and a flying feather!
|
||||||
;;helm ; the *other* search engine for love and life
|
;;helm ; the *other* search engine for love and life
|
||||||
;;ido ; the other *other* search engine...
|
;;ido ; the other *other* search engine...
|
||||||
ivy ; a search engine for love and life
|
ivy ; a search engine for love and life
|
||||||
vertico ; the search engine of the future
|
;;vertico ; the search engine of the future
|
||||||
|
|
||||||
:ui
|
:ui
|
||||||
;;deft ; notational velocity for Emacs
|
;;deft ; notational velocity for Emacs
|
||||||
@@ -181,6 +181,9 @@
|
|||||||
yaml ; JSON, but readable
|
yaml ; JSON, but readable
|
||||||
zig ; C, but simpler
|
zig ; C, but simpler
|
||||||
|
|
||||||
|
:tools
|
||||||
|
lsp ; lsp mode
|
||||||
|
|
||||||
:email
|
:email
|
||||||
(mu4e +org +gmail)
|
(mu4e +org +gmail)
|
||||||
;;notmuch
|
;;notmuch
|
||||||
|
|||||||
Reference in New Issue
Block a user