Compare commits

..

No commits in common. "0658a6ae9ee784bc03a3d531232c5af0abbdd942" and "845f7ef5e86cd6394878978c3ed4fe5b861141e5" have entirely different histories.

4 changed files with 9 additions and 62 deletions

26
bashrc
View file

@ -8,17 +8,11 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias exa='exa --tree'
alias flush='cd; clear; motd'
alias fortune='fortune-rs'
alias hx='helix'
alias imgcat='wezterm imgcat --height 50%'
alias imgcat="wezterm imgcat --height 50%"
alias ls='ls --color=auto'
alias lsd='lsd -l'
alias motd='rust-motd'
alias onefetch='onefetch --no-title --no-art --no-color-palette'
alias rmux='remux'
alias sl='sl -e'
alias lsd="lsd -l"
alias motd="rust-motd"
export EDITOR=helix
@ -30,20 +24,8 @@ eval "$(thefuck --alias)"
source /usr/lib/goto/goto.sh
source /usr/lib/codecat/codecat.sh
if [[ $TERM == 'linux' ]]; then
if [[ $SHLVL -le 1 ]]; then
echo -e "\nWelcome back, $(whoami)!\n"
fi
return
fi
#export PS1="$(starship prompt)"
export PS1="$(starship prompt)"
if [[ $SHLVL -le 3 ]]; then
motd
fi
if shopt -q login_shell; then
bash
exit
fi

View file

@ -1,7 +0,0 @@
#!/usr/bin/bash
echo -e "\033[1;31m$(hostname | figlet -f slant)\033[0m"
echo "$(whoami)@$(hostname)"
echo ''
fortune-rs

View file

@ -1,23 +0,0 @@
[global]
progress_full_character = "="
progress_empty_character = "="
progress_prefix = "["
progress_suffix = "]"
time_format = "%Y-%m-%d %H:%M"
[banner]
color = "light_white"
#color = "red"
# command = 'figlet -f slant "$(whoami)@$(hostname)"'
command = "~/.config/rust-motd/banner.sh"
[filesystems]
root = "/"
#secondary = "/mount/f"
[uptime]
prefix = "Uptime:"
#[weather]
#url = "https://wttr.in/Cary,North+Carolina?0"

View file

@ -12,18 +12,16 @@ set -g mouse on
# / /| / __/ /_/ / /_/ / / / / / /_/ (__ )
#/_/ |_\___/\__, /_.___/_/_/ /_/\__,_/____/
# /____/
# detach
unbind d
bind M-Escape detach-client
# splits
# Splits
unbind '"'
unbind %
bind h split-window -h
bind v split-window -v
# navigation
# Navigation
unbind w
unbind s
unbind a
@ -44,20 +42,17 @@ bind e next-window
# /_/ |_/ .___/ .___/\___/\__,_/_/ \__,_/_/ /_/\___/\___/
# /_/ /_/
# fix truecolor
set-option -g terminal-overrides ",xterm*:Tc"
# modes
# Modes
setw -g clock-mode-colour colour7
setw -g clock-mode-style 12
setw -g mode-style 'fg=colour15 bold bg=colour235'
# panes
# Panes
set -g pane-border-style 'fg=colour251'
set -g pane-active-border-style 'fg=colour69'
# status bar
# Status Bar
set -g status-position bottom
set -g status-justify left
set -g status-style 'fg=colour15'