voidrice/.zprofile
Luke Bubar 595b78aa4f
Added some more lf emojis (#741)
* Added more lf emoji tags

* On branch export
 Changes to be committed:
	modified:   .zprofile

 Changes not staged for commit:
	modified:   .config/aliasrc
	typechange: .config/dunst/dunstrc
	modified:   .config/lf/lfrc
	modified:   .config/mimeapps.list
	modified:   .config/user-dirs.dirs
	typechange: .config/zathura/zathurarc
	modified:   .local/share/bg
	typechange: .xprofile
	deleted:    FUNDING.yml
	deleted:    LICENSE
	deleted:    README.md

 Untracked files:
	.ICEauthority
	.PlayOnLinux/
	.Xauthority
	.abook/
	.bash_history
	.bash_logout
	.bash_profile
	.bashrc
	.cache/
	.cddb/
	.config/BraveSoftware/
	.config/Code - OSS/
	.config/Electron/
	.config/GIMP/
	.config/Microsoft/
	.config/Mumble/
	.config/MusicBrainz/
	.config/OpenSCAD/
	.config/QtProject.conf
	.config/Riot/
	.config/Thunar/
	.config/VirtualBox/
	.config/alsa/
	.config/audacious/
	.config/autostart/
	.config/bashtop/
	.config/beets/
	.config/calcurse/.calcurse.pid
	.config/calcurse/apts
	.config/calcurse/todo
	.config/cef_user_data/
	.config/dconf/
	.config/discord/
	.config/emaildefaults
	.config/expressvpn/
	.config/ghb/
	.config/gnome-boxes/
	.config/gtk-2.0/gtkfilechooser.ini
	.config/htop/
	.config/jellyfin-mpv-shim/
	.config/k3brc
	.config/kconf_updaterc
	.config/kde.org/
	.config/kdeglobals
	.config/libreoffice/
	.config/libvirt/
	.config/lutris/
	.config/lxpanel/
	.config/lxqt/
	.config/lxsession/
	.config/lxterminal/
	.config/m64py/
	.config/marblerc
	.config/menus/
	.config/midori/
	.config/mkeeter/
	.config/msmtp/
	.config/mupen64plus/
	.config/mutt/
	.config/ncmpcpp/error.log
	.config/neofetch/
	.config/notmuch-config
	.config/nvim/autoload/
	.config/nvim/plugged/
	.config/obs-studio/
	.config/octave/
	.config/openbox/
	.config/pavucontrol.ini
	.config/pcmanfm/
	.config/pulse/
	.config/qBittorrent/
	.config/qutebrowser/
	.config/shortcutrc
	.config/syncthing/
	.config/teams/
	.config/tox/
	.config/vifm/vifmshortcuts
	.config/vlc/
	.config/wall.png
	.config/xfce4/
	.config/xprofile
	.config/youtube-viewer/
	.config/ysflight/
	.config/zoomus.conf
	.config/zsh/.zcompdump
	.config/zshnameddirrc
	.dvdcss/
	.fgfs/
	.gitconfig
	.gnome2/
	.gnupg/
	.hplip/
	.java/
	.local/bin/lmc
	.local/bin/mpd-module-update
	.local/bin/showclip
	.local/bin/statusbar/corona_america
	.local/bin/statusbar/corona_world
	.local/bin/statusbar/help
	.local/bin/statusbar/statusbarinfo
	.local/gitter/
	.local/lib/
	.local/share/Mumble/
	.local/share/Steam/
	.local/share/TelegramDesktop/
	.local/share/TornBanner/
	.local/share/Trash/
	.local/share/Valve Corporation/
	.local/share/applications/METAL GEAR SOLID V THE PHANTOM PAIN.desktop
	.local/share/applications/Mount & Blade Warband.desktop
	.local/share/applications/Team Fortress 2.desktop
	.local/share/applications/mimeinfo.cache
	.local/share/applications/wine-extension-chm.desktop
	.local/share/applications/wine-extension-gif.desktop
	.local/share/applications/wine-extension-hlp.desktop
	.local/share/applications/wine-extension-htm.desktop
	.local/share/applications/wine-extension-ini.desktop
	.local/share/applications/wine-extension-jfif.desktop
	.local/share/applications/wine-extension-jpe.desktop
	.local/share/applications/wine-extension-msp.desktop
	.local/share/applications/wine-extension-pdf.desktop
	.local/share/applications/wine-extension-png.desktop
	.local/share/applications/wine-extension-rtf.desktop
	.local/share/applications/wine-extension-txt.desktop
	.local/share/applications/wine-extension-url.desktop
	.local/share/applications/wine-extension-vbs.desktop
	.local/share/applications/wine-extension-wri.desktop
	.local/share/applications/wine-extension-xml.desktop
	.local/share/applications/wine/
	.local/share/aspyr-media/
	.local/share/calcurse/
	.local/share/cargo/
	.local/share/crypto-prices/
	.local/share/data/
	.local/share/desktop-directories/
	.local/share/feral-interactive/
	.local/share/gsettings-data-convert
	.local/share/icons/
	.local/share/k3b/
	.local/share/keyrings/
	.local/share/kodi/
	.local/share/lf/
	.local/share/lutris/
	.local/share/mail/
	.local/share/marble/
	.local/share/mime/
	.local/share/moonphase
	.local/share/multimc/
	.local/share/mupen64plus/
	.local/share/newsboat/
	.local/share/nvim/
	.local/share/password-store/
	.local/share/qutebrowser/
	.local/share/ranger/
	.local/share/recently-used.xbel
	.local/share/rhythmbox/
	.local/share/tracker/
	.local/share/user-places.xbel
	.local/share/user-places.xbel.bak
	.local/share/user-places.xbel.tbcache
	.local/share/vlc/
	.local/share/vulkan/
	.local/share/weatherreport
	.local/share/webkitgtk/
	.local/share/wineprefixes/
	.local/share/xorg/
	.local/share/zathura/
	.local/src/
	.mbsyncrc
	.mbwarband/
	.mbwarband_backup/
	.mbwarband_backup_2/
	.minecraft/
	.moprc
	.mozilla/
	.octave_hist
	.octave_packages
	.openshot_qt/
	.pki/
	.pulse-cookie
	.python_history
	.ssh/
	.steam/
	.steampath
	.steampid
	.tor-browser/
	.viminfo
	.vm/
	.vscode-oss/
	.waterfox/
	.weechat/
	.xonotic/
	.ysjoycalib
	.zoom/
	Articles/
	Documents/
	Downloads/
	GCC
	GPUCache/
	Games/
	METAL GEAR SOLID V THE PHANTOM PAIN.desktop
	Mount & Blade Warband.desktop
	Music/
	Notes/
	Pictures/
	Team Fortress 2.desktop
	The Clone Wars Season 7 Memes-efbk5TMaEy0.jpg
	The Legend of Pirates Online.desktop
	The Legend of Pirates Online.lnk
	Victory and Death-o9_vSjlDl9s.mkv
	Videos/
	bugged_ocean.mkv
	classes.png
	larbs.sh
	octave-workspace
	octave/
	pic-selected-200617-2325-21.png
	pic-selected-200623-0200-07.png
	pic-selected-200623-1014-04.png
	pic-selected-200624-2302-52.png
	pic-selected-200624-2304-27.png
	pic-selected-200624-2308-27.png
	pic-selected-200624-2309-14.png
	pic-selected-200624-2312-17.png
	pic-selected-200629-0048-52.png
	pic-selected-200629-0050-57.png
	pic-selected-200629-1002-43.png
	pic-selected-200630-1022-12.png
	roomate.png
	steam.desktop
	ysflightKeyAssign.asn

Co-authored-by: Luke Bubar <lukerb52@gmx.com>
2020-07-02 18:27:07 -04:00

142 lines
3.9 KiB
Bash
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/zsh
# zsh profile file. Runs on login. Environmental variables are set here.
# If you don't plan on reverting to bash, you can remove the link in ~/.profile
# to clean up.
# Adds `~/.local/bin` to $PATH
export PATH="$PATH:$(du "$HOME/.local/bin/" | cut -f2 | paste -sd ':')"
# Default programs:
export EDITOR="nvim"
export TERMINAL="st"
export BROWSER="brave"
export READER="zathura"
# ~/ Clean-up:
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
#export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" # This line will break some DMs.
export NOTMUCH_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/notmuch-config"
export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0"
export LESSHISTFILE="-"
export WGETRC="${XDG_CONFIG_HOME:-$HOME/.config}/wget/wgetrc"
export INPUTRC="${XDG_CONFIG_HOME:-$HOME/.config}/inputrc"
export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh"
#export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export WINEPREFIX="${XDG_DATA_HOME:-$HOME/.local/share}/wineprefixes/default"
export KODI_DATA="${XDG_DATA_HOME:-$HOME/.local/share}/kodi"
export PASSWORD_STORE_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/password-store"
export TMUX_TMPDIR="$XDG_RUNTIME_DIR"
export ANDROID_SDK_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/android"
export CARGO_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/cargo"
export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go"
export ANSIBLE_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/ansible/ansible.cfg"
export UNISON="${XDG_DATA_HOME:-$HOME/.local/share}/unison"
export HISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}/history"
# Other program settings:
export DICS="/usr/share/stardict/dic/"
export SUDO_ASKPASS="$HOME/.local/bin/dmenupass"
export FZF_DEFAULT_OPTS="--layout=reverse --height 40%"
export LESS=-R
export LESS_TERMCAP_mb="$(printf '%b' '')"
export LESS_TERMCAP_md="$(printf '%b' '')"
export LESS_TERMCAP_me="$(printf '%b' '')"
export LESS_TERMCAP_so="$(printf '%b' '')"
export LESS_TERMCAP_se="$(printf '%b' '')"
export LESS_TERMCAP_us="$(printf '%b' '')"
export LESS_TERMCAP_ue="$(printf '%b' '')"
export LESSOPEN="| /usr/bin/highlight -O ansi %s 2>/dev/null"
export QT_QPA_PLATFORMTHEME="gtk2" # Have QT use gtk2 theme.
export MOZ_USE_XINPUT2="1" # Mozilla smooth scrolling/touchpads.
export AWT_TOOLKIT="MToolkit wmname LG3D" #May have to install wmname
export _JAVA_AWT_WM_NONREPARENTING=1 # Fix for Java applications in dwm
# This is the list for lf icons:
export LF_ICONS="di=📁:\
fi=📃:\
tw=🤝:\
ow=📂:\
ln=⛓:\
or=❌:\
ex=🎯:\
*.txt=✍:\
*.mom=✍:\
*.me=✍:\
*.ms=✍:\
*.png=🖼:\
*.ico=🖼:\
*.jpg=📸:\
*.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=🎼:\
*.mkv=🎥:\
*.mp4=🎥:\
*.webm=🎥:\
*.mpeg=🎥:\
*.avi=🎥:\
*.zip=📦:\
*.rar=📦:\
*.7z=📦:\
*.tar.gz=📦:\
*.z64=🎮:\
*.v64=🎮:\
*.n64=🎮:\
*.gba=🎮:\
*.nes=🎮:\
*.gdi=🎮:\
*.1=:\
*.nfo=:\
*.info=:\
*.log=📙:\
*.iso=📀:\
*.img=📀:\
*.bib=🎓:\
*.ged=👪:\
*.part=💔:\
*.torrent=🔽:\
*.jar=♨:\
*.java=♨:\
"
[ ! -f ${XDG_CONFIG_HOME:-$HOME/.config}/shortcutrc ] && shortcuts >/dev/null 2>&1 &
if pacman -Qs libxft-bgra >/dev/null 2>&1; then
# Start graphical server on tty1 if not already running.
[ "$(tty)" = "/dev/tty1" ] && ! pidof Xorg >/dev/null 2>&1 && exec startx
else
echo "\033[31mIMPORTANT\033[0m: Note that \033[32m\`libxft-bgra\`\033[0m must be installed for this build of dwm.
Please run:
\033[32myay -S libxft-bgra\033[0m
and replace \`libxft\`"
fi
# Switch escape and caps if tty and no passwd required:
sudo -n loadkeys ${XDG_DATA_HOME:-$HOME/.local/share}/larbs/ttymaps.kmap 2>/dev/null