https://keyoxide.org/1c4bfe8b34d88e166e86b8766e16d0cceb2c8aa8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; The following elisp automates switching my emacs theme between my preferred light and dark themes | |
;; based on my system color-scheme preference. | |
;; Specify light and dark (day and night) themes | |
(setq cr/day-theme 'modus-operandi | |
cr/night-theme 'modus-vivendi) | |
(defun cr/set-theme-by-gsettings-color-scheme () | |
"Sets the Doom Emacs theme based on the gsettings color-scheme preference" | |
(let ((prefer-dark (string= "'prefer-dark'" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function mullmix | |
# Locally scoped function | |
function usage | |
echo "$_ - Randomly set a new mullvad relay from the list of available relays" | |
echo "Usage: $_ [-h|--help] [COUNTRY]" | |
echo " -h, --help: Display this message" | |
echo " COUNTRY: a two-letter country code, e.g. \"us\". If provided, $_ will only select relays from this country." | |
# Delete self to avoid potential conflicts | |
functions -e usage | |
end |
I hereby claim:
- I am chrisrenfrow on github.
- I am crenfrow (https://keybase.io/crenfrow) on keybase.
- I have a public key ASBS9GfRJc8NIFFWKw9-Tmzq6RVUbnHTmPYQkrY3i43YCAo
To claim this, I am signing this object: