2022-03-10 03:42:22 +00:00
|
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
|
|
|
|
|
# Get the aliases and functions
|
|
|
|
|
#[ -f $HOME/.bashrc ] && . $HOME/.bashrc
|
|
|
|
|
|
2022-03-13 05:15:13 +00:00
|
|
|
|
#source ~/.config/shell config files
|
|
|
|
|
. "$HOME"/.config/shell/cleanup.sh
|
|
|
|
|
. "$HOME"/.config/shell/wayland.sh
|
2022-03-10 03:42:22 +00:00
|
|
|
|
|
|
|
|
|
#export PF_ASCII="artix" #set ascii art for pfetch
|
|
|
|
|
# OFF by default: shell editor wm de palette
|
|
|
|
|
export PF_INFO="ascii title os kernel uptime pkgs memory shell wm"
|
|
|
|
|
|
|
|
|
|
export XCURSOR_THEME=Adwaita
|
|
|
|
|
|
2022-07-25 01:49:34 +00:00
|
|
|
|
#fix image previews in lf not working
|
|
|
|
|
export TERM="xterm-256color"
|
|
|
|
|
|
2022-03-10 03:42:22 +00:00
|
|
|
|
#other settings
|
|
|
|
|
#export QT_QPA_PLATFORMTHEME="gtk2" # Have QT use gtk2 theme. must have qt5-styleplugins installed
|
|
|
|
|
export QT_QPA_PLATFORMTHEME="qt5ct" #have QT use qt5ct theme
|
|
|
|
|
|
2022-09-11 16:49:36 +00:00
|
|
|
|
#export GTK_THEME=Adwaita:dark
|
2022-09-10 01:35:06 +00:00
|
|
|
|
|
2022-03-13 05:15:13 +00:00
|
|
|
|
export LESSHISTFILE="-"
|
|
|
|
|
|
|
|
|
|
export ZDOTDIR="$HOME/.config/zsh"
|
2022-03-10 03:42:22 +00:00
|
|
|
|
|
|
|
|
|
#get colored man pages
|
2022-03-13 05:15:13 +00:00
|
|
|
|
#export LESS_TERMCAP_mb=$'\e[1;32m'
|
|
|
|
|
#export LESS_TERMCAP_md=$'\e[1;32m'
|
|
|
|
|
#export LESS_TERMCAP_me=$'\e[0m'
|
|
|
|
|
#export LESS_TERMCAP_se=$'\e[0m'
|
|
|
|
|
#export LESS_TERMCAP_so=$'\e[01;33m'
|
|
|
|
|
#export LESS_TERMCAP_ue=$'\e[0m'
|
|
|
|
|
#export LESS_TERMCAP_us=$'\e[1;4;31m'
|
|
|
|
|
|
|
|
|
|
export LESS_TERMCAP_mb="$(printf '%b' '[1;31m')"
|
|
|
|
|
export LESS_TERMCAP_md="$(printf '%b' '[1;36m')"
|
|
|
|
|
export LESS_TERMCAP_me="$(printf '%b' '[0m')"
|
|
|
|
|
export LESS_TERMCAP_so="$(printf '%b' '[01;44;33m')"
|
|
|
|
|
export LESS_TERMCAP_se="$(printf '%b' '[0m')"
|
|
|
|
|
export LESS_TERMCAP_us="$(printf '%b' '[1;32m')"
|
|
|
|
|
export LESS_TERMCAP_ue="$(printf '%b' '[0m')"
|
2022-03-10 03:42:22 +00:00
|
|
|
|
|
|
|
|
|
export MANPAGER=less
|
|
|
|
|
|
|
|
|
|
#set preferred programs
|
2022-03-13 05:15:13 +00:00
|
|
|
|
export EDITOR=nvim
|
|
|
|
|
export VISUAL=nvim
|
2022-03-10 03:42:22 +00:00
|
|
|
|
export BROWSER=browser.sh
|
2022-09-11 16:49:36 +00:00
|
|
|
|
export TERMINAL=foot
|
2022-03-10 03:42:22 +00:00
|
|
|
|
|
|
|
|
|
#sfeed vars
|
|
|
|
|
export SFEED_PLUMBER="$BROWSER"
|
|
|
|
|
export SFEED_URL_FILE="$HOME/.local/share/sfeed/read"
|
|
|
|
|
|
|
|
|
|
#lf icons
|
|
|
|
|
. "$HOME"/.config/lf/lf-icons.sh
|
|
|
|
|
|
|
|
|
|
# Add ~/.local/bin/ ~/.local/scripts/ and to PATH
|
2022-03-13 05:15:13 +00:00
|
|
|
|
export PATH="$HOME/.local/bin:$PATH"
|
|
|
|
|
export PATH="$HOME/.local/scripts:$PATH"
|
2022-07-11 04:13:24 +00:00
|
|
|
|
export PATH="$HOME/.local/appimages:$PATH"
|
2022-03-10 03:42:22 +00:00
|
|
|
|
export MANPATH="$MANPATH:/usr/local/man/"
|
2022-09-11 16:49:36 +00:00
|
|
|
|
export PATH="$HOME/.local/podman/bin:$PATH"
|
2022-03-10 03:42:22 +00:00
|
|
|
|
|
2022-06-12 15:16:54 +00:00
|
|
|
|
|
2022-07-01 16:08:49 +00:00
|
|
|
|
#add to path if installing rocm for amd
|
2022-07-04 23:44:31 +00:00
|
|
|
|
export PATH="/opt/rocm/bin:$PATH"
|
|
|
|
|
export PATH="/opt/rocm/hip/bin:$PATH"
|
|
|
|
|
export PATH="/opt/rocm/opencl/bin:$PATH"
|
|
|
|
|
export PATH="/opt/rocm/rocfft/bin:$PATH"
|
|
|
|
|
export PATH="/opt/rocm/rocfft/bin:$PATH"
|
2022-06-12 15:16:54 +00:00
|
|
|
|
|
|
|
|
|
|
2022-03-10 03:42:22 +00:00
|
|
|
|
#fix arduino ide issues
|
|
|
|
|
export AWT_TOOLKIT=MToolkit
|
|
|
|
|
|
2022-05-31 03:31:22 +00:00
|
|
|
|
|
|
|
|
|
#mount samba share, needs entry in /etc/fstab for this line to work
|
|
|
|
|
# //192.168.1.218/storage /media/nagato cifs username=alex,pass=PASSWORD,workgroup=WORKGROUP,user,noauto 0 0
|
2022-06-20 03:06:53 +00:00
|
|
|
|
#mount /media/nagato/ &
|
2022-09-10 01:35:06 +00:00
|
|
|
|
#mount /media/bismarck &
|
2022-05-31 03:31:22 +00:00
|
|
|
|
|
2022-06-10 02:06:39 +00:00
|
|
|
|
if [ "$(tty)" = /dev/tty1 ]; then
|
2022-09-11 16:49:36 +00:00
|
|
|
|
#exec dbus-launch sway
|
2022-07-25 01:49:34 +00:00
|
|
|
|
#exec dbus-launch Hyprland
|
2022-09-11 16:49:36 +00:00
|
|
|
|
exec dbus-launch dwl -s somebar
|
2022-09-17 07:25:46 +00:00
|
|
|
|
#exec dbus-launch river
|
2022-06-10 02:06:39 +00:00
|
|
|
|
fi
|