Compare commits
No commits in common. "main" and "ui/kando" have entirely different histories.
17
System.org
17
System.org
|
@ -1,17 +0,0 @@
|
|||
#+title: System
|
||||
|
||||
Helpful guides for system installation.
|
||||
|
||||
* Partition Schemes
|
||||
|
||||
Recommended partition scheme for directories:
|
||||
#+begin_src
|
||||
/
|
||||
├ /boot # Same drive
|
||||
├ /nix
|
||||
├ /home # Different drive
|
||||
#+end_src
|
||||
|
||||
** Encrypted Partitions
|
||||
|
||||
See [[https://wiki.archlinux.org/title/Dm-crypt/Mounting_at_login][DM-Crypt on Arch Wiki]]
|
|
@ -40,54 +40,39 @@ end
|
|||
|
||||
function fish_prompt
|
||||
# set_color white
|
||||
# printf '['
|
||||
# echo -n '['
|
||||
|
||||
set -l FishStatusCodeCache $status
|
||||
|
||||
set_color -o 00FF00 -b 333333
|
||||
printf (whoami)
|
||||
set_color -o 00FF00
|
||||
echo -n (whoami)
|
||||
|
||||
set_color normal
|
||||
set_color -b 333333
|
||||
printf '@'
|
||||
echo -n '@'
|
||||
|
||||
set_color AFD75F
|
||||
printf (prompt_hostname)
|
||||
echo -n (prompt_hostname)
|
||||
|
||||
set_color white
|
||||
printf ':'
|
||||
echo -n ':'
|
||||
|
||||
set_color 8787FF
|
||||
printf (prompt_abbr $PWD)
|
||||
echo -n (prompt_abbr $PWD)
|
||||
|
||||
set -l vcs_prompt (fish_vcs_prompt)
|
||||
if test -n "$vcs_prompt"
|
||||
printf " "
|
||||
set_color 5F87D7
|
||||
printf '\uf126'
|
||||
printf (fish_vcs_prompt)
|
||||
end
|
||||
echo -n (__fish_vcs_prompt)
|
||||
|
||||
if test $FishStatusCodeCache -eq 0
|
||||
#set_color 18C412
|
||||
else
|
||||
set_color E84505
|
||||
printf " [$FishStatusCodeCache]"
|
||||
echo -n " [$FishStatusCodeCache]"
|
||||
end
|
||||
|
||||
# set_color white
|
||||
# printf "]"
|
||||
# echo -n "]"
|
||||
|
||||
set_color 999999
|
||||
printf " "
|
||||
printf (date '+%Y/%m/%d %H:%M:%S')
|
||||
printf "\n"
|
||||
|
||||
#set_color -o white
|
||||
#printf "> "
|
||||
|
||||
set_color normal
|
||||
set_color -o green
|
||||
printf "⮀ "
|
||||
set_color -o white
|
||||
echo -n "> "
|
||||
set_color normal
|
||||
end
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/fish
|
||||
|
||||
function fish_right_prompt
|
||||
set_color grey
|
||||
printf (date '+%H:%M:%S')
|
||||
set_color normal
|
||||
end
|
||||
|
Loading…
Reference in New Issue