Update fisher & tide, add VS Code configs, add partial i3 config (lock (and suspend) not done)

This commit is contained in:
askiiart 2023-11-19 14:34:47 -06:00
parent 63e8262c07
commit 15f30efa7b
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
72 changed files with 1278 additions and 454 deletions

View file

@ -1,21 +1,30 @@
function finish
set_color red
_tide_title 'Overwrite tide config?'
set_color normal
_tide_title Finish
_tide_option y Yes
echo
set_color red
_tide_option y 'Overwrite your current tide config'
set_color normal
echo
_tide_menu
_tide_option p 'Exit and print the config you just generated'
echo
_tide_menu (status function)
switch $_tide_selected_option
case y
case 'Overwrite your current tide config'
_tide_finish
command -q clear && clear
set -q _flag_auto || _tide_print_configure_current_options
case 'Exit and print the config you just generated'
_tide_exit_configure
command -q clear && clear
_tide_print_configure_current_options
end
end
function _tide_finish
set -e _tide_selected_option # Skip through all the _next_choices
_tide_exit_configure
# Deal with prompt char/vi mode
contains character $fake_tide_left_prompt_items || set -p fake_tide_left_prompt_items vi_mode
@ -29,5 +38,9 @@ function _tide_finish
set -e $_tide_prompt_var 2>/dev/null
# Re-initialize the prompt
source (functions --details fish_prompt)
tide reload
end
function _tide_print_configure_current_options
_tide_fish_colorize "tide configure --auto $_tide_configure_current_options"
end