Cleaned
This commit is contained in:
62
Desktop.org
62
Desktop.org
@@ -2,8 +2,9 @@
|
||||
|
||||
This =.org= document is where I store all of my user-level application configuration including shells, terminal emulators, browsers etc.
|
||||
|
||||
* Nyxt
|
||||
I prefer to use programs that I can extend the functionality of via configuration files and source code.
|
||||
|
||||
* Nyxt
|
||||
Nyxt is a browser written in Common Lisp that follows the same philosophy of extensibility as Emacs. This makes it a perfect companion to an Emacs centered eco-system when you need a browser with more features than Eww.
|
||||
|
||||
#+begin_src lisp :tangle ~/Dotfiles/.config/nyxt/init.lisp :mkdirp yes
|
||||
@@ -38,8 +39,7 @@ Nyxt is a browser written in Common Lisp that follows the same philosophy of ext
|
||||
#+end_src
|
||||
|
||||
* Shell
|
||||
|
||||
Aside from using e-shell for quick command line usage, I mainly use vterm with Zsh. It's a bit of a complicated setup but allows for the maximum number of files possible to live in .config instead of littering my home directory. The entry-poignado
|
||||
Aside from using e-shell for quick command line usage, I mainly use vterm with Zsh. It's a bit of a complicated setup but allows for the maximum number of files possible to live in .config instead of littering my home directory.
|
||||
|
||||
** zshrc
|
||||
#+begin_src shell :tangle ~/Dotfiles/.config/zsh/.zshrc :mkdirp yes
|
||||
@@ -64,7 +64,6 @@ export PATH=/home/ry/scripts/cron-scripts:$PATH
|
||||
export PATH=~/.config/emacs/bin:$PATH
|
||||
# GNU Guix path
|
||||
export PATH=/home/ry/.guix-profile/bin:$PATH
|
||||
|
||||
# --- locale --- #
|
||||
export LANG=en_US.UTF-8
|
||||
|
||||
@@ -113,3 +112,58 @@ alias fcmd="firewall-cmd"
|
||||
#+end_src
|
||||
|
||||
**
|
||||
** zprofile
|
||||
#+begin_src shell :tangle ~/Dotfiles/.config/zsh/.zprofile :mkdirp yes
|
||||
# Each new shell auto-imports all environment variables.
|
||||
# Hence exporting needs to be done only once.
|
||||
# Also, all non-login shells are descendants of a login shell.
|
||||
# Ergo, exports need to be done in the login shell only.
|
||||
# Hence, we put exports in .zprofile
|
||||
|
||||
# Only vars needed by external commands should be exported.
|
||||
# Note that you can export vars w/out assigning a value to them.
|
||||
export XDG_CONFIG_HOME=~/.config
|
||||
export XDG_CACHE_HOME=~/.cache
|
||||
export XDG_DATA_HOME=~/.local/share
|
||||
export XDG_STATE_HOME=~/.config/zsh
|
||||
export EDITOR=nvim
|
||||
export VISUAL=nvim
|
||||
export GUIX_PROFILE="$HOME/.config/guix/current" . "$GUIX_PROFILE/etc/profile"
|
||||
#+end_src
|
||||
** zshenv
|
||||
#+begin_src shell :tangle ~/Dotfiles/.zshenv :mkdirp yes
|
||||
if [[ -z "$XDG_CONFIG_HOME" ]]
|
||||
then
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
fi
|
||||
|
||||
if [[ -d "$XDG_CONFIG_HOME/zsh" ]]
|
||||
then
|
||||
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
||||
fi
|
||||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
|
||||
* Terminal
|
||||
#+begin_src yaml :tangle ~/Dotfiles/.config/alacritty/alacritty.yml :mkdirp yes
|
||||
# Env
|
||||
env:
|
||||
TERM: xterm-256color
|
||||
|
||||
# Font configuration
|
||||
font:
|
||||
normal:
|
||||
family: inconsolata
|
||||
style: Regular
|
||||
bold:
|
||||
family: inconsolata
|
||||
style: Bold
|
||||
italic:
|
||||
family: inconsolata
|
||||
style: Italic
|
||||
bold_italic:
|
||||
family: inconsolata
|
||||
style: Bold Italic
|
||||
size: 16
|
||||
#+end_src
|
||||
|
||||
Reference in New Issue
Block a user