too many things
This commit is contained in:
@@ -15,7 +15,7 @@ abbr -a -- gs git status
|
||||
abbr -a -- lgb git lgb
|
||||
abbr -a !! --position anywhere --function last_history_item
|
||||
abbr -a mksilent --position anywhere "&>/dev/null&"
|
||||
abbr -a inbg --position anywhere "&>/dev/null& && jobs | disown"
|
||||
abbr -a inbg --position anywhere "&>/dev/null&; jobs | disown"
|
||||
abbr -a -- rm-orphans "sudo pacman -Qtdq | sudo pacman -Rns -"
|
||||
abbr -a -- screenl "systemctl hybrid-sleep && hyprlock &>/dev/null&"
|
||||
abbr -a -- tree "eza -T"
|
||||
@@ -23,6 +23,9 @@ abbr -a -- trd "eza -T -D"
|
||||
abbr -a -- trl "eza -T -L "
|
||||
abbr -a -- trld "eza -T -D -L "
|
||||
abbr -a -- trdl "eza -T -D -L "
|
||||
abbr -a -- zayi yazi
|
||||
abbr -a -- nv nvim
|
||||
abbr -a -- v nvim
|
||||
abbr -a "packagelist-update" "pacman -Qe | sed 's/ .*//g' | tee ~/Sync/explicitly_installed"
|
||||
abbr -a "nvim-headless-update" 'nvim --headless "+Lazy! sync" +qa'
|
||||
abbr -a "nvim-headless-clean" 'nvim --headless "+Lazy! clean" +qa'
|
||||
@@ -59,6 +62,7 @@ set -g fish_color_valid_path --underline
|
||||
|
||||
starship init fish | source
|
||||
zoxide init --cmd cd fish | source
|
||||
# atuin init fish | source
|
||||
|
||||
# pnpm
|
||||
set -gx PNPM_HOME "/home/felix/.local/share/pnpm"
|
||||
|
||||
@@ -1,19 +1,21 @@
|
||||
# This file contains fish universal variable definitions.
|
||||
# VERSION: 3.0
|
||||
SETUVAR --export BAT_THEME:OneHalfDark
|
||||
SETUVAR DISPLAY:\x3a0
|
||||
SETUVAR --export EDITOR:nvim
|
||||
SETUVAR --export ELECTRON_OZONE_PLATFORM_HINT:wayland
|
||||
SETUVAR FLASK_ENV:development
|
||||
SETUVAR --export --path GODOT_ADDON_PATH:\x7e/\x2elocal/share/godot/addons
|
||||
SETUVAR GTK_THEME:adwaita
|
||||
SETUVAR LANG:en_GB\x2eUTF\x2d8
|
||||
SETUVAR LANGUAGE:en_GB\x2eUTF\x2d8
|
||||
SETUVAR --export LAST_DIR:/home/felix/Code/side/advent_of_code_2024
|
||||
SETUVAR --export MY_GITLAB_TOKEN:glpat\x2dye6rAJswy24rQcRNnmLo
|
||||
SETUVAR --export RUSTC_WRAPPER:sccache
|
||||
SETUVAR --export RUSTC_WRAPPER:\x1d
|
||||
SETUVAR --export SUDO_ASKPASS:/usr/bin/ksshaskpass
|
||||
SETUVAR TERMINAL_FONT_SIZE:14
|
||||
SETUVAR --export VISUAL_EDITOR:nvim
|
||||
SETUVAR __fish_initialized:3400
|
||||
SETUVAR __fish_initialized:3800
|
||||
SETUVAR _fish_abbr_audio_2D_switch:\x7e/Code/scripts/alsa\x2dfp\x2dswitch\x2esh
|
||||
SETUVAR _fish_abbr_clera:clear
|
||||
SETUVAR _fish_abbr_current_2D_project:vim\x20Code/side/first_rust_gui
|
||||
@@ -22,28 +24,28 @@ SETUVAR _fish_abbr_uin:sudo\x20pacman\x20\x2dRuscn
|
||||
SETUVAR _fisher_nickeb96_2F_puffer_2D_fish_files:\x7e/\x2econfig/fish/functions/_puffer_fish_expand_bang\x2efish\x1e\x7e/\x2econfig/fish/functions/_puffer_fish_expand_dots\x2efish\x1e\x7e/\x2econfig/fish/functions/_puffer_fish_expand_lastarg\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/puffer_fish_key_bindings\x2efish
|
||||
SETUVAR _fisher_plugins:nickeb96/puffer\x2dfish
|
||||
SETUVAR _fisher_upgraded_to_4_4:\x1d
|
||||
SETUVAR fish_color_autosuggestion:969896
|
||||
SETUVAR fish_color_autosuggestion:4D5566
|
||||
SETUVAR fish_color_cancel:\x2d\x2dreverse
|
||||
SETUVAR fish_color_command:b294bb
|
||||
SETUVAR fish_color_comment:f0c674
|
||||
SETUVAR fish_color_cwd:green
|
||||
SETUVAR fish_color_command:39BAE6
|
||||
SETUVAR fish_color_comment:626A73
|
||||
SETUVAR fish_color_cwd:59C2FF
|
||||
SETUVAR fish_color_cwd_root:red
|
||||
SETUVAR fish_color_end:b294bb
|
||||
SETUVAR fish_color_error:cc6666
|
||||
SETUVAR fish_color_escape:00a6b2
|
||||
SETUVAR fish_color_end:F29668
|
||||
SETUVAR fish_color_error:FF3333
|
||||
SETUVAR fish_color_escape:95E6CB
|
||||
SETUVAR fish_color_history_current:\x2d\x2dbold
|
||||
SETUVAR fish_color_host:normal
|
||||
SETUVAR fish_color_host_remote:\x1d
|
||||
SETUVAR fish_color_keyword:\x1d
|
||||
SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue
|
||||
SETUVAR fish_color_normal:normal
|
||||
SETUVAR fish_color_operator:00a6b2
|
||||
SETUVAR fish_color_option:\x1d
|
||||
SETUVAR fish_color_param:81a2be
|
||||
SETUVAR fish_color_quote:b5bd68
|
||||
SETUVAR fish_color_redirection:8abeb7
|
||||
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
|
||||
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
|
||||
SETUVAR fish_color_host_remote:yellow
|
||||
SETUVAR fish_color_keyword:39BAE6
|
||||
SETUVAR fish_color_match:F07178
|
||||
SETUVAR fish_color_normal:B3B1AD
|
||||
SETUVAR fish_color_operator:E6B450
|
||||
SETUVAR fish_color_option:B3B1AD
|
||||
SETUVAR fish_color_param:B3B1AD
|
||||
SETUVAR fish_color_quote:C2D94C
|
||||
SETUVAR fish_color_redirection:FFEE99
|
||||
SETUVAR fish_color_search_match:\x2d\x2dbackground\x3dE6B450
|
||||
SETUVAR fish_color_selection:\x2d\x2dbackground\x3dE6B450
|
||||
SETUVAR fish_color_status:red
|
||||
SETUVAR fish_color_user:brgreen
|
||||
SETUVAR fish_color_valid_path:\x2d\x2dunderline
|
||||
@@ -58,7 +60,7 @@ SETUVAR fish_pager_color_secondary_background:\x1d
|
||||
SETUVAR fish_pager_color_secondary_completion:\x1d
|
||||
SETUVAR fish_pager_color_secondary_description:\x1d
|
||||
SETUVAR fish_pager_color_secondary_prefix:\x1d
|
||||
SETUVAR fish_pager_color_selected_background:\x2d\x2dbackground\x3dbrblack
|
||||
SETUVAR fish_pager_color_selected_background:\x2d\x2dbackground\x3dE6B450
|
||||
SETUVAR fish_pager_color_selected_completion:\x1d
|
||||
SETUVAR fish_pager_color_selected_description:\x1d
|
||||
SETUVAR fish_pager_color_selected_prefix:\x1d
|
||||
|
||||
11
.config/fish/functions/battery_capacity.fish
Normal file
11
.config/fish/functions/battery_capacity.fish
Normal file
@@ -0,0 +1,11 @@
|
||||
function battery_capacity
|
||||
cd /sys/class/power_supply/
|
||||
for dir in ( ls | rg BAT | cut -d" " -f1)
|
||||
cd $dir &&
|
||||
cat energy_full | read x &&
|
||||
cat energy_full_design | read y &&
|
||||
echo "capacity % of $dir compared to design capacity"
|
||||
kalker $x/$y &&
|
||||
cd ..
|
||||
end
|
||||
end
|
||||
@@ -1,4 +1,4 @@
|
||||
function restart --argument x
|
||||
|
||||
pkill $x && $x &>/dev/null& && sleep 0.2 && jobs | disown
|
||||
pkill $x; $x &>/dev/null&; sleep 0.2; jobs | disown
|
||||
end
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
function setscreenb --argument x
|
||||
|
||||
for i in (seq 1 2)
|
||||
sudo ddcutil setvcp 10 $x -d $i
|
||||
end
|
||||
for i in (seq 1 2)
|
||||
ddcutil setvcp 10 $x -d $i
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user