Added Updates

This commit is contained in:
Hannes
2025-11-16 17:26:44 +01:00
parent 4c69b186f0
commit b16d05da76
21 changed files with 467 additions and 34 deletions

0
configs/alias_custom-script.fish Normal file → Executable file
View File

3
configs/alias_fixing.fish Normal file → Executable file
View File

@@ -11,5 +11,6 @@ end
if test -f $HOME/.config/fish/alias.fish
source $HOME/.config/fish/alias.fish
end
eval (zoxide init fish)
zoxide init fish | source
alias cd='z'
alias cd='z'

16
configs/alias_useful.fish Normal file → Executable file
View File

@@ -1,5 +1,5 @@
#
# In ~/.config/fish/configs/alias_useful.fish
# In ~/.config/fish/config.fish
#
if test "$TERM" = "xterm-kitty"
@@ -56,7 +56,7 @@ alias .... 'cd ../../..'
alias ..... 'cd ../../../..'
alias ...... 'cd ../../../../..'
alias grep 'ugrep --color=auto'
#alias grep 'ugrep --color=auto'
alias egrep 'ugrep -E --color=auto'
alias fgrep 'ugrep -F --color=auto'
@@ -102,4 +102,14 @@ function nanorm
rm $arg
end
nano $arg
end
end
function sudo
if test -x /usr/bin/sudo-rs
command sudo-rs $argv
else
command sudo $argv
end
end
alias ssh='env TERM=xterm-256color ssh'

11
configs/arch_config.fish Normal file → Executable file
View File

@@ -52,7 +52,7 @@ alias rip 'expac --timefmt="%Y-%m-%d %T" "%l\t%n %v" | sort | tail -200 | nl'
function cleanup
while pacman -Qdtq
sudo pacman -R (pacman -Qdtq)
sudo pacman -R (pacman -Qdtq)
end
end
@@ -68,4 +68,11 @@ function y
builtin cd -- "$cwd"
end
rm -f -- "$tmp"
end
end
set -x QT_QPA_PLATFORMTHEME qt5ct
set -x XCURSOR_THEME "DJ-FOX-C"
set -x XCURSOR_SIZE 24
alias py311="$HOME/.local/python-3.11.9/bin/python3.11"

0
configs/default_config.fish Normal file → Executable file
View File

3
configs/fedora_config.fish Normal file → Executable file
View File

@@ -1,8 +1,7 @@
#
# ~/.config/fish/configs/fedora_config.fish
#
alias ff='$HOME/.bin/simple_ffprobe_script'
alias ssh='env TERM=xterm-256color ssh'
alias updateall='sudo dnf upgrade --refresh && flatpak update'

View File

@@ -1,10 +0,0 @@
# yazi file manager wrapper
function y
set tmp (mktemp -t "yazi-cwd.XXXXXX")
yazi $argv --cwd-file="$tmp"
if read -z cwd < "$tmp"; and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]
builtin cd -- "$cwd"
end
rm -f -- "$tmp"
end

31
configs/theme.fish Normal file → Executable file
View File

@@ -1,4 +1,31 @@
# OPTIONS FOR BOBTHEFISH (Theme)
# Load pywal colors (extract from ~/.cache/wal/colors.json)
set -g theme_0 (jq -r '.colors.color0' ~/.cache/wal/colors.json) # Primary color
set -g theme_1 (jq -r '.colors.color1' ~/.cache/wal/colors.json) # Secondary color (e.g., for git, @)
set -g theme_2 (jq -r '.colors.color2' ~/.cache/wal/colors.json) # Third color (e.g., for hostname)
set -g background_color (jq -r '.special.background' ~/.cache/wal/colors.json) # Background color
set -g foreground_color (jq -r '.special.foreground' ~/.cache/wal/colors.json) # Foreground color
# BOBTHEFISH COLORING: Apply pywal colors to the bobthefish theme
# Username Color
set -g theme_username_color $theme_0
# Hostname Color
set -g theme_hostname_color $theme_2
# Git prompt color
set -g theme_git_branch_color $theme_1
set -g theme_git_dirty_color $theme_1
set -g theme_git_staged_color $theme_2
# Current directory color
set -g theme_pwd_color $theme_0
# Set background and foreground based on pywal theme
set -g theme_background_color $background_color
set -g theme_foreground_color $foreground_color
# Retain all existing theme settings (don't overwrite the options you have)
set -g theme_display_git yes
set -g theme_display_git_dirty no
set -g theme_display_git_untracked no
@@ -38,4 +65,4 @@ set -g theme_color_scheme dark
set -g fish_prompt_pwd_dir_length 0
set -g theme_project_dir_length 1
set -g theme_newline_cursor yes
set -g theme_newline_prompt '$ '
set -g theme_newline_prompt '$ '

0
configs/ubuntu_config.fish Normal file → Executable file
View File