diff --git a/.config/BetterDiscord/plugins/ChannelTabs_new_302085663057248267.config.json b/.config/BetterDiscord/plugins/ChannelTabs_new_302085663057248267.config.json index 3339718c..3f42b084 100644 --- a/.config/BetterDiscord/plugins/ChannelTabs_new_302085663057248267.config.json +++ b/.config/BetterDiscord/plugins/ChannelTabs_new_302085663057248267.config.json @@ -2,12 +2,12 @@ "settings": { "tabs": [ { - "name": "#general", - "url": "/channels/674984102860161025/674985827121758208", + "name": "#arte-picasso", + "url": "/channels/674984102860161025/1007802241035538452", "selected": true, "currentStatus": "none", - "iconUrl": "https://cdn.discordapp.com/icons/674984102860161025/a4c5c84a118b923dfe68dccd886d1d87.webp?size=40", - "channelId": "674985827121758208" + "iconUrl": "https://cdn.discordapp.com/icons/674984102860161025/a4c5c84a118b923dfe68dccd886d1d87.webp?size=44", + "channelId": "1007802241035538452" }, { "name": "#feedback-and-suggestions", @@ -26,12 +26,11 @@ "channelId": "635625917623828520" }, { - "name": "@spider300", - "url": "/channels/@me/347377928914337792", + "name": "Friends", + "url": "/channels/@me", "selected": false, - "currentStatus": "online", - "iconUrl": "https://cdn.discordapp.com/avatars/346980245028601857/fa3802f0571349385c58a99e46c4ff07.webp?size=40", - "channelId": "347377928914337792" + "currentStatus": "none", + "iconUrl": "https://cdn.discordapp.com/embed/avatars/0.png" } ], "favs": [], diff --git a/.config/BetterDiscord/plugins/GameActivityToggle.config.json b/.config/BetterDiscord/plugins/GameActivityToggle.config.json index 0cac7ae1..a014faa0 100644 --- a/.config/BetterDiscord/plugins/GameActivityToggle.config.json +++ b/.config/BetterDiscord/plugins/GameActivityToggle.config.json @@ -1,7 +1,7 @@ { "all": { "cachedState": { - "date": "2023-07-05T15:12:21.028Z", + "date": "2023-07-16T11:23:39.345Z", "value": true }, "general": { diff --git a/.config/VSCodium/User/globalStorage/state.vscdb b/.config/VSCodium/User/globalStorage/state.vscdb index c4e8696c..fd637621 100644 Binary files a/.config/VSCodium/User/globalStorage/state.vscdb and b/.config/VSCodium/User/globalStorage/state.vscdb differ diff --git a/.config/VSCodium/User/globalStorage/state.vscdb.backup b/.config/VSCodium/User/globalStorage/state.vscdb.backup index 73280d18..c2d0f99e 100644 Binary files a/.config/VSCodium/User/globalStorage/state.vscdb.backup and b/.config/VSCodium/User/globalStorage/state.vscdb.backup differ diff --git a/.config/VSCodium/User/globalStorage/storage.json b/.config/VSCodium/User/globalStorage/storage.json index 6243786f..1ef181fa 100644 --- a/.config/VSCodium/User/globalStorage/storage.json +++ b/.config/VSCodium/User/globalStorage/storage.json @@ -55,6 +55,39 @@ "enabled": true, "label": "~/.config" }, + { + "id": "openRecentFolder", + "uri": { + "$mid": 1, + "external": "file:///home/matt/.oh-my-zsh", + "path": "/home/matt/.oh-my-zsh", + "scheme": "file" + }, + "enabled": true, + "label": "~/.oh-my-zsh" + }, + { + "id": "openRecentFolder", + "uri": { + "$mid": 1, + "external": "file:///home/matt/.oh-my-zsh/themes", + "path": "/home/matt/.oh-my-zsh/themes", + "scheme": "file" + }, + "enabled": true, + "label": "~/.oh-my-zsh/themes" + }, + { + "id": "openRecentFolder", + "uri": { + "$mid": 1, + "external": "file:///home/matt/.config/lazygit", + "path": "/home/matt/.config/lazygit", + "scheme": "file" + }, + "enabled": true, + "label": "~/.config/lazygit" + }, { "id": "openRecentFolder", "uri": { @@ -70,12 +103,12 @@ "id": "openRecentFolder", "uri": { "$mid": 1, - "external": "file:///home/matt/.config/BetterDiscord/plugins", - "path": "/home/matt/.config/BetterDiscord/plugins", + "external": "file:///usr/share/sddm/themes/sugar-candy", + "path": "/usr/share/sddm/themes/sugar-candy", "scheme": "file" }, "enabled": true, - "label": "~/.config/BetterDiscord/plugins" + "label": "/usr/share/sddm/themes/sugar-candy" }, { "id": "openRecentFolder", @@ -88,6 +121,17 @@ "enabled": true, "label": "~/Repos/Personal/StartPage" }, + { + "id": "openRecentFolder", + "uri": { + "$mid": 1, + "external": "file:///home/matt/.config/BetterDiscord/plugins", + "path": "/home/matt/.config/BetterDiscord/plugins", + "scheme": "file" + }, + "enabled": true, + "label": "~/.config/BetterDiscord/plugins" + }, { "id": "openRecentFolder", "uri": { @@ -110,50 +154,6 @@ "enabled": true, "label": "/usr/lib/librewolf/browser" }, - { - "id": "openRecentFolder", - "uri": { - "$mid": 1, - "external": "file:///home/matt/.local/share/yadm/repo.git", - "path": "/home/matt/.local/share/yadm/repo.git", - "scheme": "file" - }, - "enabled": true, - "label": "~/.local/share/yadm/repo.git" - }, - { - "id": "openRecentFolder", - "uri": { - "$mid": 1, - "external": "file:///home/matt", - "path": "/home/matt", - "scheme": "file" - }, - "enabled": true, - "label": "/home/matt" - }, - { - "id": "openRecentFolder", - "uri": { - "$mid": 1, - "external": "file:///home/matt/.config/rofi", - "path": "/home/matt/.config/rofi", - "scheme": "file" - }, - "enabled": true, - "label": "~/.config/rofi" - }, - { - "id": "openRecentFolder", - "uri": { - "$mid": 1, - "external": "file:///home/matt/Repos/Clase/2%C2%BADAM/PSP", - "path": "/home/matt/Repos/Clase/2ºDAM/PSP", - "scheme": "file" - }, - "enabled": true, - "label": "~/Repos/Clase/2ºDAM/PSP" - }, { "id": "vscode.menubar.separator" }, @@ -161,12 +161,23 @@ "id": "openRecentFile", "uri": { "$mid": 1, - "external": "file:///home/matt/.vscode/extensions/github.copilot-1.96.255/dist/extension.js", - "path": "/home/matt/.vscode/extensions/github.copilot-1.96.255/dist/extension.js", + "external": "file:///home/matt/.config/fish/functions/fish_prompt.fish", + "path": "/home/matt/.config/fish/functions/fish_prompt.fish", "scheme": "file" }, "enabled": true, - "label": "~/.vscode/extensions/github.copilot-1.96.255/dist/extension.js" + "label": "~/.config/fish/functions/fish_prompt.fish" + }, + { + "id": "openRecentFile", + "uri": { + "$mid": 1, + "external": "file:///home/matt/.zshrc", + "path": "/home/matt/.zshrc", + "scheme": "file" + }, + "enabled": true, + "label": "~/.zshrc" }, { "id": "openRecentFile", @@ -179,6 +190,17 @@ "enabled": true, "label": "/opt/vscodium-bin/resources/app/product.json" }, + { + "id": "openRecentFile", + "uri": { + "$mid": 1, + "external": "file:///home/matt/.vscode/extensions/github.copilot-1.96.255/dist/extension.js", + "path": "/home/matt/.vscode/extensions/github.copilot-1.96.255/dist/extension.js", + "scheme": "file" + }, + "enabled": true, + "label": "~/.vscode/extensions/github.copilot-1.96.255/dist/extension.js" + }, { "id": "openRecentFile", "uri": { @@ -234,17 +256,6 @@ "enabled": true, "label": "~/.config/kitty/kitty.conf" }, - { - "id": "openRecentFile", - "uri": { - "$mid": 1, - "external": "file:///home/matt/.zshrc", - "path": "/home/matt/.zshrc", - "scheme": "file" - }, - "enabled": true, - "label": "~/.zshrc" - }, { "id": "openRecentFile", "uri": { @@ -256,17 +267,6 @@ "enabled": true, "label": "/docs/Documentos/Repos/Non-Personal/Community Dotfiles/.zshrc" }, - { - "id": "openRecentFile", - "uri": { - "$mid": 1, - "external": "file:///home/matt/%25F", - "path": "/home/matt/%F", - "scheme": "file" - }, - "enabled": true, - "label": "~/%F" - }, { "id": "vscode.menubar.separator" }, @@ -681,8 +681,7 @@ }, { "id": "workbench.action.toggleSidebarVisibility", - "label": "&&Primary Side Bar", - "checked": true + "label": "&&Primary Side Bar" }, { "id": "workbench.action.toggleAuxiliaryBar", @@ -1794,7 +1793,7 @@ "editorPartMinWidth": 220, "titleBarHeight": 0, "activityBarWidth": 48, - "sideBarWidth": 295, + "sideBarWidth": 0, "statusBarHeight": 0, "windowBorder": false } @@ -1805,10 +1804,10 @@ "backupPath": "/home/matt/.config/VSCodium/Backups/375730732710406c4b825f9cde716ece", "uiState": { "mode": 1, - "x": 0, - "y": 0, - "width": 2516, - "height": 976 + "x": 21, + "y": 1109, + "width": 2404, + "height": 934 } }, "openedWindows": [] @@ -1823,10 +1822,7 @@ "folderUri": "file:///home/matt/.config/awesome" }, { - "folderUri": "file:///home/matt/.config/BetterDiscord/plugins" - }, - { - "folderUri": "file:///home/matt/.librewolf/jj4t427t.default-release/chrome" + "folderUri": "file:///home/matt/.oh-my-zsh" }, { "folderUri": "file:///home/matt/.config" @@ -1882,9 +1878,13 @@ "file:///home/matt/.local/share/yadm/repo.git": "__default__profile__", "file:///usr/lib/librewolf/browser": "6378edb4", "file:///home/matt/.config/pipewire": "__default__profile__", - "file:///home/matt/Repos/Personal/StartPage": "__default__profile__", "file:///home/matt/.config/BetterDiscord/plugins": "__default__profile__", + "file:///home/matt/Repos/Personal/StartPage": "__default__profile__", + "file:///usr/share/sddm/themes/sugar-candy": "__default__profile__", "file:///home/matt/.librewolf/jj4t427t.default-release/chrome": "__default__profile__", + "file:///home/matt/.config/lazygit": "__default__profile__", + "file:///home/matt/.oh-my-zsh/themes": "__default__profile__", + "file:///home/matt/.oh-my-zsh": "__default__profile__", "file:///home/matt/.config": "__default__profile__" }, "emptyWindows": {} diff --git a/.config/VSCodium/User/settings.json b/.config/VSCodium/User/settings.json index 7701abd6..a97f5f8e 100644 --- a/.config/VSCodium/User/settings.json +++ b/.config/VSCodium/User/settings.json @@ -134,7 +134,7 @@ "debug.allowBreakpointsEverywhere": true, "terminal.integrated.cursorBlinking": true, "terminal.integrated.cursorStyle": "line", - "terminal.integrated.defaultProfile.linux": "zsh", + "terminal.integrated.defaultProfile.linux": "fish", "terminal.integrated.fontFamily": "'JetBrains Mono Light', 'monospace', monospace", "terminal.integrated.gpuAcceleration": "on", "terminal.integrated.shellIntegration.suggestEnabled": true, @@ -250,10 +250,10 @@ "editor.defaultFormatter": "stylelint.vscode-stylelint" }, "codeium.enableConfig": { - "*": false + "*": true }, "search.followSymlinks": false, - "workbench.statusBar.visible": false, "workbench.editor.showTabs": false, - "editor.minimap.enabled": false + "workbench.statusBar.visible": false, + "editor.minimap.enabled": false, } \ No newline at end of file diff --git a/.config/fish/completions/fzf_configure_bindings.fish b/.config/fish/completions/fzf_configure_bindings.fish new file mode 100644 index 00000000..b38ef927 --- /dev/null +++ b/.config/fish/completions/fzf_configure_bindings.fish @@ -0,0 +1,8 @@ +complete fzf_configure_bindings --no-files +complete fzf_configure_bindings --long help --short h --description "Print help" --condition "not __fish_seen_argument --help -h" +complete fzf_configure_bindings --long directory --description "Change the key binding for Search Directory" --condition "not __fish_seen_argument --directory" +complete fzf_configure_bindings --long git_log --description "Change the key binding for Search Git Log" --condition "not __fish_seen_argument --git_log" +complete fzf_configure_bindings --long git_status --description "Change the key binding for Search Git Status" --condition "not __fish_seen_argument --git_status" +complete fzf_configure_bindings --long history --description "Change the key binding for Search History" --condition "not __fish_seen_argument --history" +complete fzf_configure_bindings --long processes --description "Change the key binding for Search Processes" --condition "not __fish_seen_argument --processes" +complete fzf_configure_bindings --long variables --description "Change the key binding for Search Variables" --condition "not __fish_seen_argument --variables" diff --git a/.config/fish/completions/to.fish b/.config/fish/completions/to.fish new file mode 100644 index 00000000..2578f4b9 --- /dev/null +++ b/.config/fish/completions/to.fish @@ -0,0 +1 @@ +__to_update_bookmark_completions diff --git a/.config/fish/conf.d/__async_prompt.fish b/.config/fish/conf.d/__async_prompt.fish new file mode 100644 index 00000000..ebf970fa --- /dev/null +++ b/.config/fish/conf.d/__async_prompt.fish @@ -0,0 +1,186 @@ +status is-interactive +or exit 0 + +set -g __async_prompt_tmpdir (command mktemp -d) + +# Setup after the user defined prompt functions are loaded. +function __async_prompt_setup_on_startup --on-event fish_prompt + functions -e (status current-function) + + for func in (__async_prompt_config_functions) + function $func -V func + test -e $__async_prompt_tmpdir'/'$fish_pid'_'$func + and cat $__async_prompt_tmpdir'/'$fish_pid'_'$func + end + end +end + +not set -q async_prompt_on_variable +and set async_prompt_on_variable fish_bind_mode +function __async_prompt_fire --on-event fish_prompt (for var in $async_prompt_on_variable; printf '%s\n' --on-variable $var; end) + set -l __async_prompt_last_pipestatus $pipestatus + + for func in (__async_prompt_config_functions) + set -l tmpfile $__async_prompt_tmpdir'/'$fish_pid'_'$func + + if functions -q $func'_loading_indicator' && test -e $tmpfile + read -zl last_prompt <$tmpfile + eval (string escape -- $func'_loading_indicator' "$last_prompt") >$tmpfile + end + + __async_prompt_config_inherit_variables | __async_prompt_last_pipestatus=$__async_prompt_last_pipestatus __async_prompt_spawn \ + $func' | read -z prompt + echo -n $prompt >'$tmpfile + end +end + +function __async_prompt_spawn -a cmd + set -l envs + begin + while read line + switch "$line" + case fish_bind_mode + echo fish_bind_mode $fish_bind_mode + case FISH_VERSION PWD _ history 'fish_*' hostname version status_generation + case status pipestatus + echo pipestatus $__async_prompt_last_pipestatus + case SHLVL + set envs $envs SHLVL=$SHLVL + case '*' + echo $line (string escape -- $$line) + end + end + end | read -lz vars + echo $vars | env $envs fish -c ' + function __async_prompt_signal + kill -s "'(__async_prompt_config_internal_signal)'" '$fish_pid' 2>/dev/null + end + while read -a line + test -z "$line" + and continue + + if test "$line[1]" = pipestatus + set -f _pipestatus $line[2..] + else + eval set "$line" + end + end + + function __async_prompt_set_status + return $argv + end + if set -q _pipestatus + switch (count $_pipestatus) + case 1 + __async_prompt_set_status $_pipestatus[1] + case 2 + __async_prompt_set_status $_pipestatus[1] \ + | __async_prompt_set_status $_pipestatus[2] + case 3 + __async_prompt_set_status $_pipestatus[1] \ + | __async_prompt_set_status $_pipestatus[2] \ + | __async_prompt_set_status $_pipestatus[3] + case 4 + __async_prompt_set_status $_pipestatus[1] \ + | __async_prompt_set_status $_pipestatus[2] \ + | __async_prompt_set_status $_pipestatus[3] \ + | __async_prompt_set_status $_pipestatus[4] + case 5 + __async_prompt_set_status $_pipestatus[1] \ + | __async_prompt_set_status $_pipestatus[2] \ + | __async_prompt_set_status $_pipestatus[3] \ + | __async_prompt_set_status $_pipestatus[4] \ + | __async_prompt_set_status $_pipestatus[5] + case 6 + __async_prompt_set_status $_pipestatus[1] \ + | __async_prompt_set_status $_pipestatus[2] \ + | __async_prompt_set_status $_pipestatus[3] \ + | __async_prompt_set_status $_pipestatus[4] \ + | __async_prompt_set_status $_pipestatus[5] \ + | __async_prompt_set_status $_pipestatus[6] + case 7 + __async_prompt_set_status $_pipestatus[1] \ + | __async_prompt_set_status $_pipestatus[2] \ + | __async_prompt_set_status $_pipestatus[3] \ + | __async_prompt_set_status $_pipestatus[4] \ + | __async_prompt_set_status $_pipestatus[5] \ + | __async_prompt_set_status $_pipestatus[6] \ + | __async_prompt_set_status $_pipestatus[7] + case 8 + __async_prompt_set_status $_pipestatus[1] \ + | __async_prompt_set_status $_pipestatus[2] \ + | __async_prompt_set_status $_pipestatus[3] \ + | __async_prompt_set_status $_pipestatus[4] \ + | __async_prompt_set_status $_pipestatus[5] \ + | __async_prompt_set_status $_pipestatus[6] \ + | __async_prompt_set_status $_pipestatus[7] \ + | __async_prompt_set_status $_pipestatus[8] + default + __async_prompt_set_status $_pipestatus[1] \ + | __async_prompt_set_status $_pipestatus[2] \ + | __async_prompt_set_status $_pipestatus[3] \ + | __async_prompt_set_status $_pipestatus[4] \ + | __async_prompt_set_status $_pipestatus[5] \ + | __async_prompt_set_status $_pipestatus[6] \ + | __async_prompt_set_status $_pipestatus[7] \ + | __async_prompt_set_status $_pipestatus[8] \ + | __async_prompt_set_status $_pipestatus[-1] + end + else + true + end + '$cmd' + __async_prompt_signal + sleep 0.3 + __async_prompt_signal + sleep 0.3 + __async_prompt_signal' & + disown +end + +function __async_prompt_config_inherit_variables + if set -q async_prompt_inherit_variables + if test "$async_prompt_inherit_variables" = all + set -ng + else + for item in $async_prompt_inherit_variables + echo $item + end + end + else + echo CMD_DURATION + echo fish_bind_mode + echo pipestatus + echo SHLVL + echo status + end +end + +function __async_prompt_config_functions + set -l funcs ( + if set -q async_prompt_functions + string join \n $async_prompt_functions + else + echo fish_prompt + echo fish_right_prompt + end + ) + for func in $funcs + functions -q "$func" + or continue + + echo $func + end +end + +function __async_prompt_config_internal_signal + if test -z "$async_prompt_signal_number" + echo SIGUSR1 + else + echo "$async_prompt_signal_number" + end +end + +function __async_prompt_repaint_prompt --on-signal (__async_prompt_config_internal_signal) + commandline -f repaint >/dev/null 2>/dev/null +end diff --git a/.config/fish/conf.d/autopair.fish b/.config/fish/conf.d/autopair.fish new file mode 100644 index 00000000..abb4bf3e --- /dev/null +++ b/.config/fish/conf.d/autopair.fish @@ -0,0 +1,39 @@ +status is-interactive || exit + +set --global autopair_left "(" "[" "{" '"' "'" +set --global autopair_right ")" "]" "}" '"' "'" +set --global autopair_pairs "()" "[]" "{}" '""' "''" + +function _autopair_fish_key_bindings --on-variable fish_key_bindings + set --query fish_key_bindings[1] || return + + test $fish_key_bindings = fish_default_key_bindings && + set --local mode default insert || + set --local mode insert default + + bind --mode $mode[-1] --erase \177 \b \t + + bind --mode $mode[1] \177 _autopair_backspace # macOS ⌫ + bind --mode $mode[1] \b _autopair_backspace + bind --mode $mode[1] \t _autopair_tab + + printf "%s\n" $autopair_pairs | while read --local left right --delimiter "" + bind --mode $mode[-1] --erase $left $right + if test $left = $right + bind --mode $mode[1] $left "_autopair_insert_same \\$left" + else + bind --mode $mode[1] $left "_autopair_insert_left \\$left \\$right" + bind --mode $mode[1] $right "_autopair_insert_right \\$right" + end + end +end + +_autopair_fish_key_bindings + +function _autopair_uninstall --on-event autopair_uninstall + string collect ( + bind --all | string replace --filter --regex -- "_autopair.*" --erase + set --names | string replace --filter --regex -- "^autopair" "set --erase autopair" + ) | source + functions --erase (functions --all | string match "_autopair_*") +end diff --git a/.config/fish/conf.d/done.fish b/.config/fish/conf.d/done.fish new file mode 100644 index 00000000..b1a989b1 --- /dev/null +++ b/.config/fish/conf.d/done.fish @@ -0,0 +1,300 @@ +# MIT License + +# Copyright (c) 2016 Francisco Lourenço & Daniel Wehner + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +if not status is-interactive + exit +end + +set -g __done_version 1.16.5 + +function __done_run_powershell_script + set -l powershell_exe (command --search "powershell.exe") + + if test $status -ne 0 + and command --search wslvar + + set -l powershell_exe (wslpath (wslvar windir)/System32/WindowsPowerShell/v1.0/powershell.exe) + end + + if string length --quiet "$powershell_exe" + and test -x "$powershell_exe" + + set cmd (string escape $argv) + + eval "$powershell_exe -Command $cmd" + end +end + +function __done_windows_notification -a title -a message + if test "$__done_notify_sound" -eq 1 + set soundopt "