This commit is contained in:
2026-01-01 22:07:48 +02:00
parent 22c31e512c
commit b0f94e3816
6 changed files with 71 additions and 70 deletions

View File

@@ -1,10 +1,10 @@
status is-interactive; or return
status is-login; and abbr H Hyprland
status is-login; and abbr H start-hyprland
abbr m mkdir
abbr o open
abbr t trash put
abbr t trashy put
abbr b bat -p
# abbr m mpv
abbr ma -- mpv --profile=anime .

View File

@@ -0,0 +1,37 @@
set --global fish_color_autosuggestion 6272a4
set --global fish_color_cancel ff5555 --reverse
set --global fish_color_command 8be9fd
set --global fish_color_comment 6272a4
set --global fish_color_cwd 50fa7b
set --global fish_color_cwd_root red
set --global fish_color_end ffb86c
set --global fish_color_error ff5555
set --global fish_color_escape ff79c6
set --global fish_color_history_current --bold
set --global fish_color_host bd93f9
set --global fish_color_host_remote bd93f9
set --global fish_color_keyword ff79c6
set --global fish_color_normal f8f8f2
set --global fish_color_operator 50fa7b
set --global fish_color_option ffb86c
set --global fish_color_param bd93f9
set --global fish_color_quote f1fa8c
set --global fish_color_redirection f8f8f2
set --global fish_color_search_match --background=44475a --bold
set --global fish_color_selection --background=44475a --bold
set --global fish_color_status ff5555
set --global fish_color_user 8be9fd
set --global fish_color_valid_path --underline
set --global fish_pager_color_background
set --global fish_pager_color_completion f8f8f2
set --global fish_pager_color_description 6272a4
set --global fish_pager_color_prefix 8be9fd
set --global fish_pager_color_progress 6272a4
set --global fish_pager_color_secondary_background
set --global fish_pager_color_secondary_completion f8f8f2
set --global fish_pager_color_secondary_description 6272a4
set --global fish_pager_color_secondary_prefix 8be9fd
set --global fish_pager_color_selected_background --background=44475a
set --global fish_pager_color_selected_completion f8f8f2
set --global fish_pager_color_selected_description 6272a4
set --global fish_pager_color_selected_prefix 8be9fd

View File

@@ -1,43 +1,4 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR __fish_initialized:3800
SETUVAR fish_color_autosuggestion:6272a4
SETUVAR fish_color_cancel:ff5555\x1e\x2d\x2dreverse
SETUVAR fish_color_command:8be9fd
SETUVAR fish_color_comment:6272a4
SETUVAR fish_color_cwd:50fa7b
SETUVAR fish_color_cwd_root:red
SETUVAR fish_color_end:ffb86c
SETUVAR fish_color_error:ff5555
SETUVAR fish_color_escape:ff79c6
SETUVAR fish_color_history_current:\x2d\x2dbold
SETUVAR fish_color_host:bd93f9
SETUVAR fish_color_host_remote:bd93f9
SETUVAR fish_color_keyword:ff79c6
SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue
SETUVAR fish_color_normal:f8f8f2
SETUVAR fish_color_operator:50fa7b
SETUVAR fish_color_option:ffb86c
SETUVAR fish_color_param:bd93f9
SETUVAR fish_color_quote:f1fa8c
SETUVAR fish_color_redirection:f8f8f2
SETUVAR fish_color_search_match:\x2d\x2dbackground\x3d44475a
SETUVAR fish_color_selection:\x2d\x2dbackground\x3d44475a
SETUVAR fish_color_status:ff5555
SETUVAR fish_color_user:8be9fd
SETUVAR fish_color_valid_path:\x2d\x2dunderline
SETUVAR __fish_initialized:4300
SETUVAR fish_features:all
SETUVAR fish_key_bindings:fish_vi_key_bindings
SETUVAR fish_pager_color_background:\x1d
SETUVAR fish_pager_color_completion:f8f8f2
SETUVAR fish_pager_color_description:6272a4
SETUVAR fish_pager_color_prefix:8be9fd
SETUVAR fish_pager_color_progress:6272a4
SETUVAR fish_pager_color_secondary_background:\x1d
SETUVAR fish_pager_color_secondary_completion:f8f8f2
SETUVAR fish_pager_color_secondary_description:6272a4
SETUVAR fish_pager_color_secondary_prefix:8be9fd
SETUVAR fish_pager_color_selected_background:\x2d\x2dbackground\x3d44475a
SETUVAR fish_pager_color_selected_completion:f8f8f2
SETUVAR fish_pager_color_selected_description:6272a4
SETUVAR fish_pager_color_selected_prefix:8be9fd

View File

@@ -1,34 +1,34 @@
function fish_user_key_bindings
# if command -q fzf; and functions -q fzf_key_bindings
set -gx FZF_CTRL_R_OPTS --reverse
functions -q fzf_key_bindings; and fzf_key_bindings
# else
# echo (set_color brcyan)'INFO: fzf not found'
# end
set -g fish_key_bindings fish_vi_key_bindings
bind -M insert ctrl-n accept-autosuggestion
# if command -q fzf; and functions -q fzf_key_bindings
set -gx FZF_CTRL_R_OPTS --reverse
functions -q fzf_key_bindings; and fzf_key_bindings
# else
# echo (set_color brcyan)'INFO: fzf not found'
# end
# Unused: alt-g, alt-z, insert ctrl-r
bind -M insert ctrl-n accept-autosuggestion
bind alt-t transpose-words
bind -M insert alt-t transpose-words
bind -M visual alt-t transpose-words
# bind ctrl-t transpose-chars
# bind -M insert ctrl-t transpose-chars
# bind -M visual ctrl-t transpose-chars
# Unused: alt-g, alt-z, insert ctrl-r
bind ctrl-z 'fish_commandline_append " &; disown"'
bind -M insert ctrl-z 'fish_commandline_append " &; disown"'
bind -M visual ctrl-z 'fish_commandline_append " &; disown"'
bind alt-t transpose-words
bind -M insert alt-t transpose-words
bind -M visual alt-t transpose-words
# bind ctrl-t transpose-chars
# bind -M insert ctrl-t transpose-chars
# bind -M visual ctrl-t transpose-chars
bind ctrl-g lazygit
bind -M insert ctrl-g lazygit
bind -M visual ctrl-g lazygit
bind ctrl-z 'fish_commandline_append " &; disown"'
bind -M insert ctrl-z 'fish_commandline_append " &; disown"'
bind -M visual ctrl-z 'fish_commandline_append " &; disown"'
bind -M insert alt-. history-token-search-backward
bind -M visual alt-. history-token-search-backward
bind -M insert alt-comma history-token-search-forward
bind -M visual alt-comma history-token-search-forward
bind ctrl-g lazygit
bind -M insert ctrl-g lazygit
bind -M visual ctrl-g lazygit
# bind -M insert ctrl-d exit
end
bind -M insert alt-. history-token-search-backward
bind -M visual alt-. history-token-search-backward
bind -M insert alt-comma history-token-search-forward
bind -M visual alt-comma history-token-search-forward
# bind -M insert ctrl-d exit

View File

@@ -0,0 +1,3 @@
function trash
trashy $argv
end

View File

@@ -206,7 +206,7 @@ misc { # {{{
force_default_wallpaper = 1
#force_hypr_chan = true
vfr = true # good for battery, variable frame rate
vrr = 0 # adaptive sync, change refresh rate of display, 0 - off, 1 - on, 2 - fullscreen only
vrr = 0 # adaptive sync, change refresh rate of display, 0 - off, 1 - on, 2 - fullscreen only, 3 - fullscreen with video or game content type
mouse_move_enables_dpms = true
key_press_enables_dpms = true
always_follow_on_dnd = true