summaryrefslogtreecommitdiff
path: root/.config/shell
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-06-27 22:53:05 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-06-27 22:53:05 +0200
commit31a8fab019c2b8ad19b818285333d98b20529b6c (patch)
tree834a86091f762095af5197aa50a835d5bbc757b8 /.config/shell
parente21fcfc91dbfa72fbb50b9ad3b7379fead3fb588 (diff)
Add lf icons
Diffstat (limited to '.config/shell')
-rwxr-xr-x.config/shell/profile83
1 files changed, 81 insertions, 2 deletions
diff --git a/.config/shell/profile b/.config/shell/profile
index 53366d9..a81d31e 100755
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -28,8 +28,8 @@ export MBSYNCRC="${XDG_CONFIG_HOME:-$HOME/.config}/mbsync/config"
export NOTMUCH_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/notmuch/config"
export LESSHIST="-"
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
-export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
-export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
+export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass"
+export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority"
# Switch layout
export ALT_KB_LAYOUT="se"
@@ -56,6 +56,85 @@ export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
# Haskell
export GHCUP_USE_XDG_DIRS=true
+# This is the list for lf icons:
+export LF_ICONS="di=📁:\
+fi=📃:\
+tw=🤝:\
+ow=📂:\
+ln=⛓:\
+or=❌:\
+ex=🎯:\
+*.txt=✍:\
+*.mom=✍:\
+*.me=✍:\
+*.ms=✍:\
+*.png=🖼:\
+*.webp=🖼:\
+*.ico=🖼:\
+*.jpg=📸:\
+*.jpe=📸:\
+*.jpeg=📸:\
+*.gif=🖼:\
+*.svg=🗺:\
+*.tif=🖼:\
+*.tiff=🖼:\
+*.xcf=🖌:\
+*.html=🌎:\
+*.xml=📰:\
+*.gpg=🔒:\
+*.css=🎨:\
+*.pdf=📚:\
+*.djvu=📚:\
+*.epub=📚:\
+*.csv=📓:\
+*.xlsx=📓:\
+*.tex=📜:\
+*.md=📘:\
+*.r=📊:\
+*.R=📊:\
+*.rmd=📊:\
+*.Rmd=📊:\
+*.m=📊:\
+*.mp3=🎵:\
+*.opus=🎵:\
+*.ogg=🎵:\
+*.m4a=🎵:\
+*.flac=🎼:\
+*.wav=🎼:\
+*.mkv=🎥:\
+*.mp4=🎥:\
+*.webm=🎥:\
+*.mpeg=🎥:\
+*.avi=🎥:\
+*.mov=🎥:\
+*.mpg=🎥:\
+*.wmv=🎥:\
+*.m4b=🎥:\
+*.flv=🎥:\
+*.zip=📦:\
+*.rar=📦:\
+*.7z=📦:\
+*.tar.gz=📦:\
+*.z64=🎮:\
+*.v64=🎮:\
+*.n64=🎮:\
+*.gba=🎮:\
+*.nes=🎮:\
+*.gdi=🎮:\
+*.1=ℹ:\
+*.nfo=ℹ:\
+*.info=ℹ:\
+*.log=📙:\
+*.iso=📀:\
+*.img=📀:\
+*.bib=🎓:\
+*.ged=👪:\
+*.part=💔:\
+*.torrent=🔽:\
+*.jar=♨:\
+*.java=♨:\
+"
+
if pacman -Qs libxft-bgra >/dev/null 2>&1; then
# Start graphical server on user's current tty if not already running.
[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC"