Finished hacker theme mostly and added some other configs
This commit is contained in:
parent
0c499ecbd6
commit
ad06f5284e
91 changed files with 1928 additions and 3 deletions
|
|
@ -0,0 +1,14 @@
|
|||
# This file was created by fish when upgrading to version 4.3, to migrate
|
||||
# the 'fish_key_bindings' variable from its old default scope (universal)
|
||||
# to its new default scope (global). We recommend you delete this file
|
||||
# and configure key bindings in ~/.config/fish/config.fish if needed.
|
||||
|
||||
# set --global fish_key_bindings fish_default_key_bindings
|
||||
|
||||
# Prior to version 4.3, fish shipped an event handler that runs
|
||||
# `set --universal fish_key_bindings fish_default_key_bindings`
|
||||
# whenever the fish_key_bindings variable is erased.
|
||||
# This means that as long as any fish < 4.3 is still running on this system,
|
||||
# we cannot complete the migration.
|
||||
# As a workaround, erase the universal variable at every shell startup.
|
||||
set --erase --universal fish_key_bindings
|
||||
1
themes/base/.config/fish/conf.d/rustup.fish
Normal file
1
themes/base/.config/fish/conf.d/rustup.fish
Normal file
|
|
@ -0,0 +1 @@
|
|||
source "$HOME/.cargo/env.fish"
|
||||
34
themes/base/.config/fish/config.fish
Normal file
34
themes/base/.config/fish/config.fish
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
source /usr/share/cachyos-fish-config/cachyos-config.fish
|
||||
|
||||
fish_config theme choose "Dracula Official"
|
||||
|
||||
oh-my-posh init fish --config ~/.cache/oh-my-posh/themes/dracula.omp.json | source
|
||||
|
||||
alias mntnas="sudo mount -a"
|
||||
|
||||
# Set Zed as the default editor
|
||||
set -gx EDITOR /usr/local/bin/zed_sudo_wrapper
|
||||
set -gx VISUAL "zeditor --wait"
|
||||
set -gx SUDO_EDITOR "zeditor --wait"
|
||||
|
||||
# Start SSH agent if not already running
|
||||
if not set -q SSH_AGENT_PID
|
||||
eval (ssh-agent -c)
|
||||
end
|
||||
|
||||
function update
|
||||
sudo pacman -Syu --noconfirm
|
||||
paru -Syu --noconfirm
|
||||
sudo pacman -Sc --noconfirm
|
||||
paru -Sc --noconfirm
|
||||
end
|
||||
|
||||
function helium
|
||||
exec /usr/bin/helium-0.6.9.1-x86_64.AppImage
|
||||
end
|
||||
|
||||
function add_ssh_key
|
||||
set -l ssh_key ~/.ssh/github-ssh
|
||||
echo "Adding SSH key..."
|
||||
ssh-add $ssh_key
|
||||
end
|
||||
81
themes/base/.config/fish/fish_variables
Normal file
81
themes/base/.config/fish/fish_variables
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
# This file contains fish universal variable definitions.
|
||||
# VERSION: 3.0
|
||||
SETUVAR --export BAT_THEME:Dracula
|
||||
SETUVAR --export YAZI_FILE_ONE:/usr/bin/file
|
||||
SETUVAR __done_min_cmd_duration:10000
|
||||
SETUVAR __done_notification_urgency_level:low
|
||||
SETUVAR __fish_initialized:4300
|
||||
SETUVAR fish_greeting:\x1d
|
||||
SETUVAR --export fish_user_paths:/home/henry/\x2enpm\x2dglobal/bin
|
||||
SETUVAR pure_begin_prompt_with_current_directory:true
|
||||
SETUVAR pure_check_for_new_release:false
|
||||
SETUVAR pure_color_at_sign:pure_color_mute
|
||||
SETUVAR pure_color_aws_profile:pure_color_warning
|
||||
SETUVAR pure_color_command_duration:pure_color_warning
|
||||
SETUVAR pure_color_current_directory:pure_color_primary
|
||||
SETUVAR pure_color_danger:red
|
||||
SETUVAR pure_color_dark:black
|
||||
SETUVAR pure_color_exit_status:pure_color_danger
|
||||
SETUVAR pure_color_git_branch:pure_color_mute
|
||||
SETUVAR pure_color_git_dirty:pure_color_mute
|
||||
SETUVAR pure_color_git_stash:pure_color_info
|
||||
SETUVAR pure_color_git_unpulled_commits:pure_color_info
|
||||
SETUVAR pure_color_git_unpushed_commits:pure_color_info
|
||||
SETUVAR pure_color_hostname:pure_color_mute
|
||||
SETUVAR pure_color_info:cyan
|
||||
SETUVAR pure_color_jobs:pure_color_normal
|
||||
SETUVAR pure_color_k8s_context:pure_color_success
|
||||
SETUVAR pure_color_k8s_namespace:pure_color_primary
|
||||
SETUVAR pure_color_k8s_prefix:pure_color_info
|
||||
SETUVAR pure_color_light:white
|
||||
SETUVAR pure_color_mute:brblack
|
||||
SETUVAR pure_color_nixdevshell_prefix:pure_color_info
|
||||
SETUVAR pure_color_nixdevshell_symbol:pure_color_mute
|
||||
SETUVAR pure_color_normal:normal
|
||||
SETUVAR pure_color_prefix_root_prompt:pure_color_danger
|
||||
SETUVAR pure_color_primary:blue
|
||||
SETUVAR pure_color_prompt_on_error:pure_color_danger
|
||||
SETUVAR pure_color_prompt_on_success:pure_color_success
|
||||
SETUVAR pure_color_success:magenta
|
||||
SETUVAR pure_color_system_time:pure_color_mute
|
||||
SETUVAR pure_color_username_normal:pure_color_mute
|
||||
SETUVAR pure_color_username_root:pure_color_light
|
||||
SETUVAR pure_color_virtualenv:pure_color_mute
|
||||
SETUVAR pure_color_warning:yellow
|
||||
SETUVAR pure_convert_exit_status_to_signal:false
|
||||
SETUVAR pure_enable_aws_profile:true
|
||||
SETUVAR pure_enable_container_detection:true
|
||||
SETUVAR pure_enable_git:true
|
||||
SETUVAR pure_enable_k8s:false
|
||||
SETUVAR pure_enable_nixdevshell:false
|
||||
SETUVAR pure_enable_single_line_prompt:false
|
||||
SETUVAR pure_enable_virtualenv:true
|
||||
SETUVAR pure_reverse_prompt_symbol_in_vimode:true
|
||||
SETUVAR pure_separate_prompt_on_error:false
|
||||
SETUVAR pure_shorten_prompt_current_directory_length:0
|
||||
SETUVAR pure_shorten_window_title_current_directory_length:0
|
||||
SETUVAR pure_show_exit_status:false
|
||||
SETUVAR pure_show_jobs:false
|
||||
SETUVAR pure_show_numbered_git_indicator:false
|
||||
SETUVAR pure_show_prefix_root_prompt:false
|
||||
SETUVAR pure_show_subsecond_command_duration:false
|
||||
SETUVAR pure_show_system_time:false
|
||||
SETUVAR pure_symbol_aws_profile_prefix:
|
||||
SETUVAR pure_symbol_container_prefix:
|
||||
SETUVAR pure_symbol_exit_status_prefix:\x7c
|
||||
SETUVAR pure_symbol_exit_status_separator:\x7c
|
||||
SETUVAR pure_symbol_git_dirty:\x2a
|
||||
SETUVAR pure_symbol_git_stash:\u2261
|
||||
SETUVAR pure_symbol_git_unpulled_commits:\u21e3
|
||||
SETUVAR pure_symbol_git_unpushed_commits:\u21e1
|
||||
SETUVAR pure_symbol_k8s_prefix:\u2638
|
||||
SETUVAR pure_symbol_nixdevshell_prefix:\u2744\ufe0f
|
||||
SETUVAR pure_symbol_prefix_root_prompt:\x23
|
||||
SETUVAR pure_symbol_prompt:\u276f
|
||||
SETUVAR pure_symbol_reverse_prompt:\u276e
|
||||
SETUVAR pure_symbol_ssh_prefix:
|
||||
SETUVAR pure_symbol_title_bar_separator:\x2d
|
||||
SETUVAR pure_symbol_virtualenv_prefix:
|
||||
SETUVAR pure_threshold_command_duration:5
|
||||
SETUVAR pure_truncate_prompt_current_directory_keeps:\x2d1
|
||||
SETUVAR pure_truncate_window_title_current_directory_keeps:\x2d1
|
||||
13
themes/base/.config/fish/functions/awww_set_wallpaper.fish
Executable file
13
themes/base/.config/fish/functions/awww_set_wallpaper.fish
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
function awww_set_wallpaper
|
||||
set wallpaper $argv[1]
|
||||
|
||||
# Start swww daemon if not running
|
||||
if not pgrep awww-daemon > /dev/null
|
||||
awww-daemon &
|
||||
sleep 1
|
||||
end
|
||||
|
||||
# Set wallpaper with animation
|
||||
awww img "$wallpaper" \
|
||||
--transition-type wipe
|
||||
end
|
||||
8
themes/base/.config/fish/functions/yazi-cd.fish
Executable file
8
themes/base/.config/fish/functions/yazi-cd.fish
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
function yazi-cd
|
||||
set tmpfile (mktemp)
|
||||
yazi --cwd-file="$tmpfile"
|
||||
if test -s "$tmpfile"
|
||||
cd (cat "$tmpfile")
|
||||
end
|
||||
rm -f "$tmpfile"
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue