diff --git a/.config/fish/conf.d/abbr.fish b/.config/fish/conf.d/abbr.fish index b4a66f95..0295b68a 100644 --- a/.config/fish/conf.d/abbr.fish +++ b/.config/fish/conf.d/abbr.fish @@ -4,3 +4,4 @@ abbr -a gco git checkout abbr -a cls "clear; ls" abbr -a ga git add abbr -a c clear +abbr -a fedit hx /home/fic/.config/fish diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables index 697a5230..08f9f066 100644 --- a/.config/fish/fish_variables +++ b/.config/fish/fish_variables @@ -22,6 +22,7 @@ SETUVAR _fisher_paldepind_2F_projectdo_files:\x7e/\x2econfig/fish/functions/proj SETUVAR _fisher_patrickf1_2F_fzf_2E_fish_files:\x7e/\x2econfig/fish/functions/_fzf_configure_bindings_help\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_extract_var_info\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_preview_changed_file\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_preview_file\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_report_diff_type\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_report_file_type\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_search_directory\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_search_git_log\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_search_git_status\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_search_history\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_search_processes\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_search_variables\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_wrapper\x2efish\x1e\x7e/\x2econfig/fish/functions/fzf_configure_bindings\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/fzf\x2efish\x1e\x7e/\x2econfig/fish/completions/fzf_configure_bindings\x2efish SETUVAR _fisher_plugins:jorgebucaran/fisher\x1epatrickf1/fzf\x2efish\x1efranciscolourenco/done\x1ejorgebucaran/replay\x2efish\x1ejorgebucaran/spark\x2efish\x1ejoseluisq/gitnow\x402\x2e12\x2e0\x1emeaningful\x2dooo/sponge\x1ejorgebucaran/autopair\x2efish\x1enickeb96/puffer\x2dfish\x1epaldepind/projectdo\x1egazorby/fish\x2dabbreviation\x2dtips SETUVAR _fisher_upgraded_to_4_4:\x1d +SETUVAR abbr_path:/home/fic/\x2econfig/fish/conf\x2ed/abbr\x2efish SETUVAR cac_ip:172\x2e30\x2e90\x2e10 SETUVAR fish_color_autosuggestion:89492A SETUVAR fish_color_cancel:B14242 diff --git a/.config/fish/functions/abbred.fish b/.config/fish/functions/abbred.fish new file mode 100644 index 00000000..1ab37548 --- /dev/null +++ b/.config/fish/functions/abbred.fish @@ -0,0 +1,3 @@ +function abbred + $EDITOR $abbr_path +end diff --git a/.config/fish/functions/abbrsave.fish b/.config/fish/functions/abbrsave.fish index 7bf778ce..e928b187 100644 --- a/.config/fish/functions/abbrsave.fish +++ b/.config/fish/functions/abbrsave.fish @@ -1,3 +1,4 @@ -function abbrsave --description "Prepends 'abbr -a' and saves to config" - echo "abbr -a $argv" >> ~/.config/fish/conf.d/abbr.fish +function abbrsave --wraps abbr --description "Prepends 'abbr -a' and saves to config" + abbr -a $argv + echo "abbr -a $argv" >>$abbr_path end diff --git a/.config/waybar/config##hostname.dbox b/.config/waybar/config##hostname.dbox index d3587820..8f684ea5 100644 --- a/.config/waybar/config##hostname.dbox +++ b/.config/waybar/config##hostname.dbox @@ -30,11 +30,11 @@ "format": "{}" }, "custom/recorder": { - "exec": "~/dev/niri-recorder/recorder.py", + "exec": "~/dev/utils/wayland-utils/recorder/recorder.py", "return-type": "json", "restart-interval": "never", - "on-click": "~/dev/niri-recorder/recorder.sh screen", - "on-click-right": "~/dev/niri-recorder/recorder.sh region", + "on-click": "~/dev/utils/wayland-utils/recorder/recorder.sh screen", + "on-click-right": "~/dev/utils/wayland-utils/recorder/recorder.sh region", "format": " {} " }, "custom/delim": { @@ -120,11 +120,11 @@ "format": "{} " }, "custom/recorder": { - "exec": "~/dev/niri-recorder/recorder.py", + "exec": "~/dev/utils/wayland-utils/recorder/recorder.py", "return-type": "json", "restart-interval": "never", - "on-click": "~/dev/niri-recorder/recorder.sh screen", - "on-click-right": "~/dev/niri-recorder/recorder.sh region", + "on-click": "~/dev/utils/wayland-utils/recorder/recorder.sh screen", + "on-click-right": "~/dev/utils/wayland-utils/recorder/recorder.sh region", "format": " {} " }, "custom/delim": {