Add default apps, folders environment variables
This commit is contained in:
parent
18ba1fe6f0
commit
920af8e9ba
4 changed files with 22 additions and 9 deletions
16
.config/shell/login.d/env-vars.sh
Normal file
16
.config/shell/login.d/env-vars.sh
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
# important directories
|
||||||
|
|
||||||
|
# will be picked up by vim wiki plugin as root directory
|
||||||
|
export WIKIROOT="$HOME/documents/notes/"
|
||||||
|
export LIBRARY="$HOME/documents/library"
|
||||||
|
export BIBFILE="$LIBRARY/academia/academia.bib"
|
||||||
|
|
||||||
|
# these are my personal 'important' environment settings
|
||||||
|
export EDITOR=nvim
|
||||||
|
export BROWSER=qutebrowser
|
||||||
|
|
||||||
|
export TERMINAL="alacritty"
|
||||||
|
export FILEREADER="zathura"
|
||||||
|
export FILEMANAGER="vifm"
|
|
@ -5,8 +5,4 @@ export XDG_CONFIG_HOME="$HOME/.config"
|
||||||
export XDG_CACHE_HOME="$HOME/.cache"
|
export XDG_CACHE_HOME="$HOME/.cache"
|
||||||
|
|
||||||
# these are my personal 'important' directories
|
# these are my personal 'important' directories
|
||||||
|
|
||||||
export XDG_PROJECTS_DIR="$HOME/projects"
|
export XDG_PROJECTS_DIR="$HOME/projects"
|
||||||
|
|
||||||
export EDITOR=nvim
|
|
||||||
export BROWSER=qutebrowser
|
|
||||||
|
|
6
.config/shell/rc.d/enable-pywal.sh
Normal file
6
.config/shell/rc.d/enable-pywal.sh
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# if wal exists
|
||||||
|
# Import colorscheme from 'wal' asynchronously
|
||||||
|
# & # Run the process in the background.
|
||||||
|
# ( ) # Hide shell job control messages.
|
||||||
|
type wal >/dev/null 2>&1 && (cat ~/.cache/wal/sequences &)
|
|
@ -1,5 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# set wiki root to nextcloud notes folder,
|
|
||||||
# will be picked up by vim wiki plugin as root
|
|
||||||
export WIKIROOT=${WIKIROOT:-"$HOME/Nextcloud/Notes/"}
|
|
Loading…
Reference in a new issue