feat(starship): add starship configuratin
This commit is contained in:
parent
49946a4ffd
commit
ab0c532877
33
README.md
33
README.md
@ -4,6 +4,32 @@ A general private repository to configure omarchy archlinux post-installation
|
|||||||
|
|
||||||
Hi future Luke. This is past you trying to help you with installation of Omarchy archlinux.
|
Hi future Luke. This is past you trying to help you with installation of Omarchy archlinux.
|
||||||
|
|
||||||
|
# app cleanup
|
||||||
|
|
||||||
|
There are multiple web apps that do not fit my needs. The original script was taken from omarchy-cleaner script with
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -fsSL https://raw.githubusercontent.com/maxart/omarchy-cleaner/main/omarchy-cleaner.sh | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
Here I kept the script pre-selecting several items that are useful for me
|
||||||
|
```bash
|
||||||
|
bash webapp-cleaner.sh
|
||||||
|
```
|
||||||
|
# setting default browser
|
||||||
|
|
||||||
|
Install binary of librewolf-bin as it is much faster than the simply installing librewolf.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
yay -S librewolf-bin
|
||||||
|
```
|
||||||
|
|
||||||
|
Now, make librewolf-bin a default browser matching the assigned keybinding
|
||||||
|
|
||||||
|
```bash
|
||||||
|
|
||||||
|
echo 'export BROWSER=librewolf' >> /home/$USER/.config/uwsm/default
|
||||||
|
```
|
||||||
|
|
||||||
# steam
|
# steam
|
||||||
|
|
||||||
@ -12,3 +38,10 @@ Natively, Archlinux and Omarchy in particular, support wayland and hyprland wind
|
|||||||
sudo pacman -S vulkan-radeon lib32-vulkan-radeon lib32-mesa lib32-gnutls lib32-libpulse gamescope
|
sudo pacman -S vulkan-radeon lib32-vulkan-radeon lib32-mesa lib32-gnutls lib32-libpulse gamescope
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# starship
|
||||||
|
|
||||||
|
This config contains the initial setup of starship. Simply copy that into config location.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cp src/starship.tomp ~/.config/
|
||||||
|
```
|
||||||
|
|||||||
41
src/src
Normal file
41
src/src
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
add_newline = true
|
||||||
|
command_timeout = 200
|
||||||
|
format = "$username$hostname[$directory$git_branch$git_status]($style)$character"
|
||||||
|
|
||||||
|
[username]
|
||||||
|
show_always = true
|
||||||
|
format = "[$user]($style)"
|
||||||
|
style_user = "bold #FFA500"
|
||||||
|
|
||||||
|
[hostname]
|
||||||
|
ssh_only = false
|
||||||
|
format = "[@](bold blue)[$hostname](bold #FFA500) "
|
||||||
|
|
||||||
|
[character]
|
||||||
|
error_symbol = "[✗](bold red)"
|
||||||
|
success_symbol = "[❯](bold green)"
|
||||||
|
|
||||||
|
[directory]
|
||||||
|
truncation_length = 2
|
||||||
|
truncation_symbol = "…/"
|
||||||
|
repo_root_style = "bold cyan"
|
||||||
|
repo_root_format = "[$repo_root]($repo_root_style)[$path]($style)[$read_only]($read_only_style) "
|
||||||
|
|
||||||
|
[git_branch]
|
||||||
|
format = "[$branch]($style) "
|
||||||
|
style = "italic cyan"
|
||||||
|
|
||||||
|
[git_status]
|
||||||
|
format = '[$all_status]($style)'
|
||||||
|
style = "bold #FFBF00"
|
||||||
|
ahead = "⇡${count} "
|
||||||
|
diverged = "⇕⇡${ahead_count}⇣${behind_count} "
|
||||||
|
behind = "⇣${count} "
|
||||||
|
conflicted = " "
|
||||||
|
up_to_date = " "
|
||||||
|
untracked = "? "
|
||||||
|
modified = " "
|
||||||
|
stashed = "S "
|
||||||
|
staged = "A "
|
||||||
|
renamed = ""
|
||||||
|
deleted = ""
|
||||||
1159
webapp-cleaner.sh
Normal file
1159
webapp-cleaner.sh
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user