Skip to content

Commit

Permalink
dots test: 1
Browse files Browse the repository at this point in the history
  • Loading branch information
iggut committed Aug 16, 2024
1 parent bc8b4fc commit 7026bbc
Show file tree
Hide file tree
Showing 5 changed files with 131 additions and 1 deletion.
25 changes: 25 additions & 0 deletions files/home/fish/config.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
function fish_prompt -d "Write out the prompt"
# This shows up as USER@HOST /home/user/ >, with the directory colored
# $USER and $hostname are set by fish, so you can just use them
# instead of using `whoami` and `hostname`
printf '%s@%s %s%s%s > ' $USER $hostname \
(set_color $fish_color_cwd) (prompt_pwd) (set_color normal)
end

if status is-interactive
# Commands to run in interactive sessions can go here
set fish_greeting

end

starship init fish | source
if test -f ~/.cache/ags/user/generated/terminal/sequences.txt
cat ~/.cache/ags/user/generated/terminal/sequences.txt
end

alias pamcan=pacman

# function fish_prompt
# set_color cyan; echo (pwd)
# set_color green; echo '> '
# end
99 changes: 99 additions & 0 deletions files/home/starship/starship.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# Don't print a new line at the start of the prompt
add_newline = false
# Pipes ╰─ ╭─
# Powerline symbols                                   
# Wedges 🭧🭒 🭣🭧🭓
# Random noise 🬖🬥🬔🬗

# format = """
# $cmd_duration$username$hostname $directory $git_branch
# $character
# """
format = """
$cmd_duration$directory $git_branch
$character
"""

# Replace the "❯" symbol in the prompt with "➜"
[character] # The name of the module we are configuring is "character"
success_symbol = "[• ](bold fg:green) "
error_symbol = "[• 󰅙](bold fg:red) "

# Disable the package module, hiding it from the prompt completely
[package]
disabled = true

[git_branch]
style = "bg: green"
symbol = "󰘬"
truncation_length = 4
truncation_symbol = ""
format = "• [](bold fg:green)[$symbol $branch(:$remote_branch)](fg:black bg:green)[ ](bold fg:green)"

[git_commit]
commit_hash_length = 4
tag_symbol = ""

[git_state]
format = '[\($state( $progress_current of $progress_total)\)]($style) '
cherry_pick = "[🍒 PICKING](bold red)"

[git_status]
conflicted = " 🏳 "
ahead = " 🏎💨 "
behind = " 😰 "
diverged = " 😵 "
untracked = " 🤷 ‍"
stashed = " 📦 "
modified = " 📝 "
staged = '[++\($count\)](green)'
renamed = " ✍️ "
deleted = " 🗑 "

[hostname]
ssh_only = false
format = "[•$hostname](bg:cyan bold fg:black)[](bold fg:cyan )"
trim_at = ".companyname.com"
disabled = false

[line_break]
disabled = false

[memory_usage]
disabled = true
threshold = -1
symbol = " "
style = "bold dimmed green"

[time]
disabled = true
format = '🕙[\[ $time \]]($style) '
time_format = "%T"

[username]
style_user = "bold bg:cyan fg:black"
style_root = "red bold"
format = "[](bold fg:cyan)[$user]($style)"
disabled = false
show_always = true

[directory]
home_symbol = ""
read_only = ""
style = "bg:green fg:black"
truncation_length = 6
truncation_symbol = "••/"
format = '[](bold fg:green)[$path ]($style)[](bold fg:green)'


[directory.substitutions]
"Desktop" = ""
"Documents" = ""
"Downloads" = ""
"Music" = " 󰎈 "
"Pictures" = ""
"Videos" = ""

[cmd_duration]
min_time = 0
format = '[](bold fg:yellow)[ $duration](bold bg:yellow fg:black)[](bold fg:yellow) •• '
4 changes: 4 additions & 0 deletions recipes/common-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ files:
destination: /usr
- source: system/etc
destination: /etc
- source: home/fish
destination: ~/.config/fish
- source: home/starship
destination: ~/.config
3 changes: 3 additions & 0 deletions recipes/common-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,14 @@ install:

# terminal
- foot
- starship
- fish

# notifications
- dunst

# theme and GUI
- chezmoi
- adwaita-qt5
- fontawesome-fonts-all
- gnome-themes-extra
Expand Down
1 change: 0 additions & 1 deletion recipes/hyprland-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ install:
- brightnessctl
- aylurs-gtk-shell
- swww
- gnome-themes-extra

0 comments on commit 7026bbc

Please sign in to comment.