diff --git a/.zshrc b/.zshrc index 62ab7cf..36045d9 100644 --- a/.zshrc +++ b/.zshrc @@ -16,8 +16,7 @@ source /usr/share/zsh/site-functions/zsh-autosuggestions.zsh && fpath=(/usr/shar autoload -U colors && colors && setopt prompt_subst ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=5" ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=12" -[ "$(id -u)" = 0 ] && PS1ICON="#" || PS1ICON='%' -PROMPT='%{$(echo -e "\e[38;2;120;160;200m")%}[%{$(echo -e "\e[38;2;197;198;200m")%}%n%{$(echo -e "\e[38;2;120;160;200m")%}@core %{$(echo -e "\e[38;2;197;198;200m")%}%~%{$(echo -e "\e[38;2;120;160;200m")%}]%$PS1ICON%{$(echo -e "\e[0m")%} ' +PROMPT="%F{25}[%f%F{25}!%f%F{25}%n%f%F{25}@%f%F{25}%m%f %F{28}%~%f%F{25}]%f%B%F{7}%% %b" #aliases alias xi="doas xbps-install -S $1" alias nf="clear && fastfetch" @@ -74,3 +73,7 @@ export NIXPKGS_ALLOW_UNFREE=1 export EDITOR="emacs" export PATH=/usr/pkg/sbin:/usr/pkg/bin:$PATH export MANPATH=/usr/pkg/man:$MANPATH +export XDG_DATA_DIRS="/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share:/usr/local/share:/usr/share" + + +export PATH=$PATH:/home/coast/.spicetify diff --git a/.zshrc.root b/.zshrc.root new file mode 100644 index 0000000..fc34457 --- /dev/null +++ b/.zshrc.root @@ -0,0 +1,75 @@ +#!/bin/zsh +#history settings +HISTFILE=$HOME/.cache/zsh/history +SAVEHIST=100000000 +HISTSIZE=$SAVEHIST +setopt appendhistory +#completion +autoload -U compinit +zstyle ':completion:*' menu select +zmodload zsh/complist +compinit +comp_options+=(globdots) +zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' +source /usr/share/zsh/site-functions/zsh-autosuggestions.zsh && fpath=(/usr/share/zsh/site-functions $fpath) && source /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh +#colors & prompt +autoload -U colors && colors && setopt prompt_subst +ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=5" +ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=12" +PROMPT="%F{9}[%f%F{9}!root%f%F{9}@%f%F{9}%m%f %F{2}%~%f%F{9}]%f: " +#aliases +alias xi="doas xbps-install -S $1" +alias nf="clear && fastfetch" +alias ascdis="fastfetch --logo $1" +alias forge="su forgejo" +alias emoji="cat ~/.local/share/emoji | grep $1" +alias cst="emacsd ~/.config/st/config.h" +alias ls="ls --color=auto" +alias lasal="ls -al" +alias ahl="ls -ahl" +alias resmacs="systemctl --user restart emacsd" +alias smi="nvidia-smi" +alias src="source ~/.zshrc" +alias bat="sb-battery" +alias battery="sb-battery" +alias vimrc="vim .vimrc" +alias ri="ranger" +alias rim="ranger" +alias quit="exit" +alias :q="exit" +alias :q!="exit" +alias :Q="exit" +alias :Q!="exit" +alias :quit="exit" +alias :quit!="exit" +alias :QUIT="exit" +alias :QUIT!="exit" +alias q="exit" +alias fnl="fennel" +alias "push"="git push" +alias irc="irssi" +alias hsw="home-manager switch --flake ~/.config/home-manager" +alias hsc="emacsd ~/.config/home-manager/home.nix" +alias yell="echo" +alias chm="ecop cat ~/.config/home-manager/home.nix" +alias weather="curl wttr.in/masjedsoleyman" +alias emacs="emacsd $1" +alias las="ls" +alias lasa="ls -a" +alias c="clear" +alias cear="clear" +alias "cd.."="cd .." +alias claer="clear" +alias claer="clear" +alias clare="clear" +alias cleae="clear" +alias clera="clear" +alias hotp="htop" +#paths and environment +fpath=(~/.zsh/completions $fpath) +export PATH=$HOME/.local/bin:$PATH +export PATH=$HOME/.luarocks/bin:$PATH +export NIXPKGS_ALLOW_UNFREE=1 +export EDITOR="emacs" +export PATH=/usr/pkg/sbin:/usr/pkg/bin:$PATH +export MANPATH=/usr/pkg/man:$MANPATH diff --git a/suckless/st/st b/suckless/st/st index faa4fa6..049a7cf 100755 Binary files a/suckless/st/st and b/suckless/st/st differ