diff --git a/dotfiles/.bashrc b/dotfiles/.bashrc index 716009ae..4f80856e 100644 --- a/dotfiles/.bashrc +++ b/dotfiles/.bashrc @@ -15,13 +15,10 @@ shopt -s globstar shopt -s checkjobs alias cat='bat' -alias cd='z' -alias ci='zi' alias code='codium' -alias l='eza -alhM --git --total-size --icons' -alias ll='eza -lhiM --git --total-size --icons --tree' -alias ls='eza --icons' -alias tree='eza --tree' +alias l='ls -alh' +alias ls='ls --color=auto' +alias ll='ls -lhi' extract() { if [ -f $1 ]; then diff --git a/dotfiles/.config/iamb/config.toml b/dotfiles/.config/iamb/config.toml new file mode 100644 index 00000000..b2738f48 --- /dev/null +++ b/dotfiles/.config/iamb/config.toml @@ -0,0 +1,19 @@ +[profiles.user] +user_id = "@ehtrude:matrix.org" + +[settings] +request_timeout = 180 + +[settings.image_preview] +protocol.type = "halfblocks" +protocol.font_size = [ 11, 26 ] +size = { height = 10, width = 66 } + +[settings.notifications] +enabled = true + +[layout] +style = "restore" + +[settings.users] +"@ehtrude:matrix.org" = { name = "Trude", color = "light-red" } diff --git a/dotfiles/.tmux.conf b/dotfiles/.tmux.conf new file mode 100644 index 00000000..dbcd27c6 --- /dev/null +++ b/dotfiles/.tmux.conf @@ -0,0 +1,72 @@ +# easy reload config +bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded." + +# set window split +bind-key v split-window -h +bind-key b split-window + +# default window title colors +set-window-option -g window-status-style fg=colour244,bg=default,dim + +# active window title colors +set-window-option -g window-status-current-style fg=orange,bg=default,bright + +# pane border +set-option -g pane-border-style fg=colour236 +set-option -g pane-active-border-style fg=orange + +# message text +set-option -g message-style bg=colour235,fg=orange + +# pane number display +set-option -g display-panes-active-colour blue +set-option -g display-panes-colour orange + +# clock +set-window-option -g clock-mode-colour orange + +# Leader Key +set -g prefix C-a +bind-key C-a last-window + +# Start index at 1 +set -g base-index 1 + +# Allows for faster key repetition +set -s escape-time 50 + +# Rather than constraining window size to the maximum size of any client +# connected to the *session*, constrain window size to the maximum size of any +# client connected to *that window*. Much more reasonable. +setw -g aggressive-resize on + +# Allows us to use C-a a to send commands to a TMUX session inside +# another TMUX session +bind-key a send-prefix + +# Status Bar +set-option -g status-position top +set-option -g status-style "bg=default,fg=white" +set-option -g status-left "#[dim]S#S W#{window_index}#[default]" +set-option -g status-right '%d#[dim]/#[default]%m#[dim]/#[default]%Y %I:%M#[dim]%P#[default]' # #[fg=white] to switch colors +set -g status-interval 1 +set -g status-justify centre # center align window list +set -g status-left-length 14 +set -g status-right-length 100 + +# hjkl pane traversal +bind h select-pane -L +bind j select-pane -D +bind k select-pane -U +bind l select-pane -R + +bind-key C command-prompt -p "Name of new window: " "new-window -n '%%'" + +# auto window rename +set-window-option -g automatic-rename + +# Vi copypaste mode +set-window-option -g mode-keys vi + +# Mouse support +set -g mouse on diff --git a/install.sh b/install.sh index ee3788ec..16bb314d 100755 --- a/install.sh +++ b/install.sh @@ -11,10 +11,13 @@ if [ ! $(command -v paru) ]; then fi # Install script dependencies -paru -Sy curl git stow bat fzf eza zoxide less nextcloud-client +paru -Sy curl git stow bat fzf less nextcloud-client # Install Apps -paru -Sy gitg vscodium-bin ollama obsidian signal-desktop fragments fractal secrets newsflash eyedropper obfuscate gnome-console gnome-calendar impression gnome-podcasts geary gnome-builder epiphany brave-bin +paru -Sy gitg vscodium-bin ollama obsidian signal-desktop fragments secrets newsflash eyedropper obfuscate gnome-console gnome-calendar impression gnome-podcasts geary gnome-builder epiphany brave-bin + +# Install CLI Apps +paru -Sy iamb tmux if [ $(pwd) != "$HOME/dotfiles" ]; then cd $HOME