Added more terminal configs.

This commit is contained in:
Josh W 2024-10-03 15:05:00 -04:00
parent 400a10ade3
commit a5e3caa001
3 changed files with 117 additions and 2 deletions

View file

@ -8,7 +8,7 @@ I'll add more themes as I try them out. I use Hack Nerd Font as it has been a so
### Requirements
None.
- [Hack Nerd Font](https://www.nerdfonts.com/)
### Setup
@ -64,6 +64,34 @@ These are used primarily on non-systemd setups.
$ cp -r pipewire ~/.config/.
```
## starship
I use the same theme for all my terminals, but change the color based on the machine.
### Requirements
- [Hack Nerd Font](https://www.nerdfonts.com/)
### Setup
```
$ cp starship/starship-<COLOR>.toml ~/.config/starship.toml
```
## tmux
Very minimal for now.
### Requirements
None.
### Setup
```
$ cp -r tmux/ ~/.config/.
```
## wireplumber
Usually you don't need anything specific in the wireplumber setup, but I have custom bluetooth configurations for my headsets.
@ -75,5 +103,5 @@ None.
### Setup
```
cp -r wireplumber ~/.config/.
$ cp -r wireplumber ~/.config/.
```

View file

@ -0,0 +1,78 @@
format = """
[](#7aa26b)\
$username\
[](fg:#7aa26b bg:#97c381)\
$hostname\
[](fg:#97c381 bg:#b3cb92)\
$directory\
[](fg:#b3cb92 bg:#cfd3a2)\
$git_branch\
$git_status\
[](fg:#cfd3a2 bg:#ebdbb2)\
$nodejs\
$python\
$rust\
[ ](fg:#ebdbb2)
"""
[username]
show_always = true
style_user = "bg:#7aa26b fg:#3e3e25"
style_root = "bg:#fb4934 fg:#3e3e25"
format = '[ $user ]($style)'
[hostname]
ssh_only = false
style = "bg:#97c381 fg:#3e3e25"
format = '[ 󰇅 $hostname ]($style)'
trim_at = ""
disabled = false
[directory]
style = "bg:#b3cb92 fg:#3e3e25"
format = "[ $path ]($style)"
truncation_length = 3
truncation_symbol = "…/"
# Here is how you can shorten some long paths by text replacement
# similar to mapped_locations in Oh My Posh:
[directory.substitutions]
"documents" = "󰈙 "
"downloads" = " "
"music" = " "
"pictures" = " "
# Keep in mind that the order matters. For example:
# "Important Documents" = "  "
# will not be replaced, because "Documents" was already substituted before.
# So either put "Important Documents" before "Documents" or use the substituted version:
# "Important  " = "  "
[git_branch]
symbol = ""
style = "bg:#cfd3a2 fg:#3e3e25"
format = '[[ $symbol $branch ](bg:#cfd3a2 fg:#3e3e25)]($style)'
[git_status]
style = "bg:#cfd3a2 fg:#3e3e25"
format = '[[($all_status$ahead_behind )](bg:#cfd3a2 fg:#3e3e25)]($style)'
[nodejs]
symbol = ""
style = "bg:#ebdbb2 fg:#3e3e25"
format = '[[ $symbol ($version) ](bg:#ebdbb2 fg:#3e3e25)]($style)'
[python]
symbol = ""
style = "bg:#ebdbb2 fg:#3e3e25"
format = '[[ $symbol ($version) ](bg:#ebdbb2 fg:#3e3e25)]($style)'
[rust]
symbol = ""
style = "bg:#ebdbb2 fg:#3e3e25"
format = '[[ $symbol ($version) ](bg:#ebdbb2 fg:#3e3e25)]($style)'
#[time]
#disabled = false
#time_format = "%R" # Hour:Minute Format
#style = "bg:#33658A"
#format = '[[ ♥ $time ](bg:#33658A)]($style)'

9
dotfiles/tmux/tmux.conf Normal file
View file

@ -0,0 +1,9 @@
# 24-bit color support
# https://gist.github.com/andersevenrud/015e61af2fd264371032763d4ed965b6
set-option -g default-terminal "tmux-256color"
set-option -sg terminal-overrides ",*:RGB"
# Swap C-b for C-a
set-option -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix