Update
This commit is contained in:
15
.bash_env
15
.bash_env
@@ -2,17 +2,20 @@
|
|||||||
|
|
||||||
# Environment exports
|
# Environment exports
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
export XDG_CONFIG_HOME=~/.config
|
export XDG_CONFIG_HOME="$HOME/.config"
|
||||||
export XDG_CACHE_HOME=~/.cache
|
export XDG_CACHE_HOME="$HOME/.cache"
|
||||||
export XDG_DATA_HOME=~/.local/share
|
export XDG_DATA_HOME="$HOME/.local/share"
|
||||||
export XDG_STATE_HOME=~/.local/state
|
export XDG_STATE_HOME="$HOME/.local/state"
|
||||||
export BROWSER=/usr/bin/librewolf
|
export BROWSER=/usr/bin/librewolf
|
||||||
export VISUAL=nvim
|
export VISUAL=nvim
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||||
export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc
|
export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc
|
||||||
export SCREENDIR="${XDG_RUNTIME_DIR}/screen"
|
export SCREENDIR="${XDG_RUNTIME_DIR}/screen"
|
||||||
|
export XDG_DATA_DIRS="/var/lib/flatpak/exports/share:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}"
|
||||||
|
|
||||||
# Paths
|
# Paths
|
||||||
PATH=$PATH:~/.local/bin
|
export PATH="$PATH:$HOME/.local/bin"
|
||||||
PATH=$PATH:~/.config/emacs/bin
|
export PATH="$PATH:$HOME/.config/emacs/bin"
|
||||||
|
export PATH="$PATH:/var/lib/flatpak/exports/bin"
|
||||||
|
|
||||||
|
|||||||
@@ -164,7 +164,7 @@
|
|||||||
|
|
||||||
(defun opal/org-mode-visual-fill ()
|
(defun opal/org-mode-visual-fill ()
|
||||||
(setq visual-fill-column-width 150
|
(setq visual-fill-column-width 150
|
||||||
visual-fill-column-center-text t)
|
visual-fill-column-center-text t)
|
||||||
(visual-fill-column-mode 1))
|
(visual-fill-column-mode 1))
|
||||||
|
|
||||||
(use-package visual-fill-column
|
(use-package visual-fill-column
|
||||||
@@ -204,14 +204,6 @@
|
|||||||
(global-set-key (kbd "C-c y") 'opal/play-yt-url-at-point)
|
(global-set-key (kbd "C-c y") 'opal/play-yt-url-at-point)
|
||||||
|
|
||||||
;; Elfeed
|
;; Elfeed
|
||||||
(defun opal/elfeed-open-in-firefox ()
|
|
||||||
"Open the current Elfeed entry link in Firefox."
|
|
||||||
(interactive)
|
|
||||||
(let ((link (elfeed-entry-link (elfeed-search-selected :single))))
|
|
||||||
(if link
|
|
||||||
(browse-url-firefox link)
|
|
||||||
(message "No link to open."))))
|
|
||||||
|
|
||||||
(defun opal/elfeed-open-in-eww()
|
(defun opal/elfeed-open-in-eww()
|
||||||
"Open the current Elfeed entry link in eww."
|
"Open the current Elfeed entry link in eww."
|
||||||
(interactive)
|
(interactive)
|
||||||
@@ -249,8 +241,7 @@
|
|||||||
|
|
||||||
;; Evil keybindings for Elfeed
|
;; Evil keybindings for Elfeed
|
||||||
(evil-define-key 'normal elfeed-search-mode-map
|
(evil-define-key 'normal elfeed-search-mode-map
|
||||||
"f" 'opal/elfeed-open-in-firefox ;; Open link in Firefox
|
"e" 'opal/elfeed-open-in-eww ;; Open link in eww
|
||||||
"e" 'opal/elfeed-open-in-eww ;; Open link in Firefox
|
|
||||||
"r" 'opal/elfeed-mark-all-read ;; Marks all feeds as read
|
"r" 'opal/elfeed-mark-all-read ;; Marks all feeds as read
|
||||||
"gr" 'elfeed-update ;; Refresh feeds
|
"gr" 'elfeed-update ;; Refresh feeds
|
||||||
"q" 'quit-window)) ;; Quit Elfeed
|
"q" 'quit-window)) ;; Quit Elfeed
|
||||||
@@ -260,12 +251,6 @@
|
|||||||
:config
|
:config
|
||||||
(setq rmh-elfeed-org-files '("~/sync/org/elfeed/feeds.org")))
|
(setq rmh-elfeed-org-files '("~/sync/org/elfeed/feeds.org")))
|
||||||
|
|
||||||
(setq create-lockfiles nil)
|
|
||||||
|
|
||||||
;; Make sure eww opens in it's own buffer
|
|
||||||
(after! eww
|
|
||||||
(set-popup-rule! "^\\*eww\\*" :ignore t))
|
|
||||||
|
|
||||||
(after! osm
|
(after! osm
|
||||||
(set-popup-rule! "^\\*osm\\*" :ignore t))
|
(set-popup-rule! "^\\*osm\\*" :ignore t))
|
||||||
|
|
||||||
@@ -274,6 +259,9 @@
|
|||||||
"Redirect reddit.com to custom URL."
|
"Redirect reddit.com to custom URL."
|
||||||
(replace-regexp-in-string "https://www.reddit.com" "https://eddrit.com" url))
|
(replace-regexp-in-string "https://www.reddit.com" "https://eddrit.com" url))
|
||||||
|
|
||||||
|
(global-set-key (kbd "C-c w") #'eww)
|
||||||
|
(global-set-key (kbd "C-c f") #'elfeed-goodies/show-link-hint)
|
||||||
|
|
||||||
(use-package eww
|
(use-package eww
|
||||||
:config
|
:config
|
||||||
(setq browse-url-browser-function 'eww-browse-url)
|
(setq browse-url-browser-function 'eww-browse-url)
|
||||||
|
|||||||
0
.config/nyxt/auto-config.3.lisp
Normal file
0
.config/nyxt/auto-config.3.lisp
Normal file
27
.config/nyxt/config.lisp
Normal file
27
.config/nyxt/config.lisp
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
;; vi keybindings
|
||||||
|
(define-configuration buffer
|
||||||
|
((default-modes
|
||||||
|
(pushnew 'nyxt/mode/vi:vi-normal-mode %slot-value%))))
|
||||||
|
|
||||||
|
;; Vi-insert mode for prompt-buffer (minibuffer)
|
||||||
|
(define-configuration prompt-buffer
|
||||||
|
((default-modes (append '(vi-insert-mode) %slot-default%))))
|
||||||
|
|
||||||
|
(defvar *my-search-engines*
|
||||||
|
(list
|
||||||
|
'("ddg" "https://duckduckgo.com/?q=~a" "https://duckduckgo.com"))
|
||||||
|
"List of search engines.")
|
||||||
|
|
||||||
|
(define-configuration context-buffer
|
||||||
|
"Set DuckDuckGo as the default search engine."
|
||||||
|
((search-engines
|
||||||
|
(append %slot-default%
|
||||||
|
(mapcar
|
||||||
|
(lambda (engine) (apply 'make-search-engine engine))
|
||||||
|
*my-search-engines*)))))
|
||||||
|
|
||||||
|
(define-configuration (web-buffer)
|
||||||
|
((default-modes (pushnew 'nyxt/mode/blocker:blocker-mode %slot-value%))))
|
||||||
|
|
||||||
|
(defmethod customize-instance ((document-buffer document-buffer) &key)
|
||||||
|
(setf (slot-value document-buffer 'zoom-ratio-default) 1.1))
|
||||||
@@ -14,7 +14,7 @@ set $mod Mod4
|
|||||||
set $term alacritty
|
set $term alacritty
|
||||||
|
|
||||||
# Application Launcher
|
# Application Launcher
|
||||||
set $menu bemenu-run -p "Run:" -l 10 -c -M 500 --fn 'Monospace 14' --tb '#1d2021' --tf '#d8a657' --fb '#1d2021' --ff '#d4be98' --cb '#7daea3' --cf '#1d2021' --nb '#1d2021' --nf '#d4be98' --hb '#7daea3' --hf '#1d2021' --sb '#7daea3' --sf '#1d2021' --ab '#1b1b1b' --af '#d4be98' --scb '#1d2021' --scf '#d4be98'
|
set $menu bemenu-run -i -p "Run:" -l 10 -c -M 500 --fn 'Monospace 14' --tb '#1d2021' --tf '#d8a657' --fb '#1d2021' --ff '#d4be98' --cb '#7daea3' --cf '#1d2021' --nb '#1d2021' --nf '#d4be98' --hb '#7daea3' --hf '#1d2021' --sb '#7daea3' --sf '#1d2021' --ab '#1b1b1b' --af '#d4be98' --scb '#1d2021' --scf '#d4be98'
|
||||||
|
|
||||||
#######################
|
#######################
|
||||||
# GENERAL KEYBINDS
|
# GENERAL KEYBINDS
|
||||||
|
|||||||
Reference in New Issue
Block a user