diff --git a/.dotter/aleidk-work-laptop.toml b/.dotter/aleidk-work-laptop.toml deleted file mode 100644 index b1fe098..0000000 --- a/.dotter/aleidk-work-laptop.toml +++ /dev/null @@ -1,33 +0,0 @@ -includes = [] -packages = ["default"] - -[files] -"configs/hypr/work-laptop/hyprland.conf" = "~/.config/hypr/include/work-laptop.conf" - - -[files."configs/niri/config.kdl"] -target = "~/.config/niri/config.kdl" -type = "template" -append = """ -window-rule { - match app-id="brave-work" - open-on-workspace "1" - open-focused true - - default-column-width { - proportion 0.5 - } -} -window-rule { - match app-id="brave-personal" - open-on-workspace "2" - open-focused false - - default-column-width { - proportion 0.5 - } -} - -""" - -[variables] diff --git a/.dotter/almighty.toml b/.dotter/almighty.toml deleted file mode 100644 index 8ffed45..0000000 --- a/.dotter/almighty.toml +++ /dev/null @@ -1,7 +0,0 @@ -includes = [] -packages = ["default"] - -[files] -"configs/hypr/almighty/hyprland.conf" = "~/.config/hypr/include/almighty.conf" - -[variables] diff --git a/.dotter/global.toml b/.dotter/global.toml deleted file mode 100644 index 9fe01c6..0000000 --- a/.dotter/global.toml +++ /dev/null @@ -1,41 +0,0 @@ -[settings] -default_target_type = "symbolic" - -[helpers] - -[default] -depends = ["niri"] - -[default.files] -"configs/fish" = "~/.config/fish" -"configs/alacritty" = "~/.config/alacritty" -"configs/atuin" = "~/.config/atuin" -"configs/bat" = "~/.config/bat" -"configs/containers" = "~/.config/containers" -"configs/fzf" = "~/.config/fzf" -"configs/ghostty" = "~/.config/ghostty" -"configs/git" = "~/.config/git" -"configs/hypr/base" = "~/.config/hypr" -"configs/kitty" = "~/.config/kitty" -"configs/lazygit" = "~/.config/lazygit" -"configs/mako" = "~/.config/mako" -"configs/mise" = "~/.config/mise" -"configs/mpv" = "~/.config/mpv" -"configs/nvim" = "~/.config/nvim" -"configs/rofi" = "~/.config/rofi" -"configs/swappy" = "~/.config/swappy" -"configs/swaync" = "~/.config/swaync" -"configs/uwsm" = "~/.config/uwsm" -"configs/vimiv" = "~/.config/vimiv" -"configs/waybar" = "~/.config/waybar" -"configs/wezterm" = "~/.config/wezterm" -"configs/wlogout" = "~/.config/wlogout" -"configs/wpaperd" = "~/.config/wpaperd" -"configs/yazi" = "~/.config/yazi" -"configs/systemd" = "~/.config/systemd" - - -[default.variables] - -[niri.files] -"configs/niri" = "~/.config/niri" diff --git a/configs/alacritty/alacritty.toml b/Configs/alacritty/.config/alacritty/alacritty.toml similarity index 100% rename from configs/alacritty/alacritty.toml rename to Configs/alacritty/.config/alacritty/alacritty.toml diff --git a/configs/alacritty/alacritty.yml b/Configs/alacritty/.config/alacritty/alacritty.yml similarity index 100% rename from configs/alacritty/alacritty.yml rename to Configs/alacritty/.config/alacritty/alacritty.yml diff --git a/configs/alacritty/themes/.keep b/Configs/alacritty/.config/alacritty/themes/.keep similarity index 100% rename from configs/alacritty/themes/.keep rename to Configs/alacritty/.config/alacritty/themes/.keep diff --git a/configs/atuin/config.toml b/Configs/atuin/.config/atuin/config.toml similarity index 100% rename from configs/atuin/config.toml rename to Configs/atuin/.config/atuin/config.toml diff --git a/configs/atuin/themes/catppuccin-macchiato-teal.toml b/Configs/atuin/.config/atuin/themes/catppuccin-macchiato-teal.toml similarity index 100% rename from configs/atuin/themes/catppuccin-macchiato-teal.toml rename to Configs/atuin/.config/atuin/themes/catppuccin-macchiato-teal.toml diff --git a/configs/bash/.bash_profile b/Configs/bash/.bash_profile similarity index 100% rename from configs/bash/.bash_profile rename to Configs/bash/.bash_profile diff --git a/configs/bash/.bashrc b/Configs/bash/.bashrc similarity index 100% rename from configs/bash/.bashrc rename to Configs/bash/.bashrc diff --git a/configs/bat/config b/Configs/bat/.config/bat/config similarity index 100% rename from configs/bat/config rename to Configs/bat/.config/bat/config diff --git a/Configs/bin/.local/bin/youtube-music-updater b/Configs/bin/.local/bin/youtube-music-updater new file mode 100755 index 0000000..1670bb8 --- /dev/null +++ b/Configs/bin/.local/bin/youtube-music-updater @@ -0,0 +1,37 @@ +#!/bin/env bash + +package=$1 +shift + +if [[ -z $package ]]; then + echo "Please specify an installation method" + echo "Available methods: Flatpak, RPM" + exit 1 +fi + +DOWNLOAD_DIR="$HOME/.local/share/youtube-music-updater" +mkdir -p "$DOWNLOAD_DIR" + +latest=$(wget 'https://github.com/th-ch/youtube-music/releases/latest/download/latest-linux.yml' -q -O -) +version=$(echo "$latest" | grep 'version' | awk '{ print $2 }') +base_url="https://github.com/th-ch/youtube-music/releases/latest/download" + +echo "Downloading YouTube Music version $version" + +case "${package,,}" in +"flatpak") + wget "$base_url/YouTube-Music-$version-x86_64.flatpak" \ + -q --show-progress \ + -O "$DOWNLOAD_DIR/YouTube-Music-$version-x86_64.flatpak" + + flatpak remove --user --assumeyes --noninteractive com.github.th_ch.youtube_music + flatpak install --user --assumeyes --noninteractive "$DOWNLOAD_DIR/YouTube-Music-$version-x86_64.flatpak" + ;; +"rpm") + wget "$base_url/youtube-music-$version.x86_64.rpm" \ + -q --show-progress \ + -O "$DOWNLOAD_DIR/youtube-music-$version.x86_64.rpm" + + sudo dnf install --assumeyes "$DOWNLOAD_DIR/youtube-music-$version.x86_64.rpm" + ;; +esac diff --git a/configs/containers/systemd/dev-databases.pod b/Configs/containers/.config/containers/systemd/dev-databases.pod similarity index 100% rename from configs/containers/systemd/dev-databases.pod rename to Configs/containers/.config/containers/systemd/dev-databases.pod diff --git a/configs/containers/systemd/dev-dbui.container b/Configs/containers/.config/containers/systemd/dev-dbui.container similarity index 100% rename from configs/containers/systemd/dev-dbui.container rename to Configs/containers/.config/containers/systemd/dev-dbui.container diff --git a/configs/containers/systemd/dev-postgres.container b/Configs/containers/.config/containers/systemd/dev-postgres.container similarity index 100% rename from configs/containers/systemd/dev-postgres.container rename to Configs/containers/.config/containers/systemd/dev-postgres.container diff --git a/configs/fish/completions/.config/fish/config.fish b/Configs/fish/.config/fish/completions/.config/fish/config.fish similarity index 100% rename from configs/fish/completions/.config/fish/config.fish rename to Configs/fish/.config/fish/completions/.config/fish/config.fish diff --git a/configs/fish/completions/.config/fish/fish_variables b/Configs/fish/.config/fish/completions/.config/fish/fish_variables similarity index 100% rename from configs/fish/completions/.config/fish/fish_variables rename to Configs/fish/.config/fish/completions/.config/fish/fish_variables diff --git a/configs/fish/completions/atuin.fish b/Configs/fish/.config/fish/completions/atuin.fish similarity index 100% rename from configs/fish/completions/atuin.fish rename to Configs/fish/.config/fish/completions/atuin.fish diff --git a/configs/fish/completions/fish-lsp.fish b/Configs/fish/.config/fish/completions/fish-lsp.fish similarity index 100% rename from configs/fish/completions/fish-lsp.fish rename to Configs/fish/.config/fish/completions/fish-lsp.fish diff --git a/configs/fish/completions/fisher.fish b/Configs/fish/.config/fish/completions/fisher.fish similarity index 100% rename from configs/fish/completions/fisher.fish rename to Configs/fish/.config/fish/completions/fisher.fish diff --git a/configs/fish/completions/mise.fish b/Configs/fish/.config/fish/completions/mise.fish similarity index 100% rename from configs/fish/completions/mise.fish rename to Configs/fish/.config/fish/completions/mise.fish diff --git a/Configs/fish/.config/fish/conf.d/uv.env.fish b/Configs/fish/.config/fish/conf.d/uv.env.fish new file mode 100644 index 0000000..d97734b --- /dev/null +++ b/Configs/fish/.config/fish/conf.d/uv.env.fish @@ -0,0 +1,2 @@ + +source "$HOME/.local/share/../bin/env.fish" diff --git a/configs/fish/config.fish b/Configs/fish/.config/fish/config.fish similarity index 100% rename from configs/fish/config.fish rename to Configs/fish/.config/fish/config.fish diff --git a/configs/fish/fish_variables b/Configs/fish/.config/fish/fish_variables similarity index 100% rename from configs/fish/fish_variables rename to Configs/fish/.config/fish/fish_variables diff --git a/configs/fish/functions/_pure_check_availability.fish b/Configs/fish/.config/fish/functions/_pure_check_availability.fish similarity index 100% rename from configs/fish/functions/_pure_check_availability.fish rename to Configs/fish/.config/fish/functions/_pure_check_availability.fish diff --git a/configs/fish/functions/_pure_check_for_new_release.fish b/Configs/fish/.config/fish/functions/_pure_check_for_new_release.fish similarity index 100% rename from configs/fish/functions/_pure_check_for_new_release.fish rename to Configs/fish/.config/fish/functions/_pure_check_for_new_release.fish diff --git a/configs/fish/functions/_pure_detect_container_by_cgroup_method.fish b/Configs/fish/.config/fish/functions/_pure_detect_container_by_cgroup_method.fish similarity index 100% rename from configs/fish/functions/_pure_detect_container_by_cgroup_method.fish rename to Configs/fish/.config/fish/functions/_pure_detect_container_by_cgroup_method.fish diff --git a/configs/fish/functions/_pure_detect_container_by_pid_method.fish b/Configs/fish/.config/fish/functions/_pure_detect_container_by_pid_method.fish similarity index 100% rename from configs/fish/functions/_pure_detect_container_by_pid_method.fish rename to Configs/fish/.config/fish/functions/_pure_detect_container_by_pid_method.fish diff --git a/configs/fish/functions/_pure_format_time.fish b/Configs/fish/.config/fish/functions/_pure_format_time.fish similarity index 100% rename from configs/fish/functions/_pure_format_time.fish rename to Configs/fish/.config/fish/functions/_pure_format_time.fish diff --git a/configs/fish/functions/_pure_get_prompt_symbol.fish b/Configs/fish/.config/fish/functions/_pure_get_prompt_symbol.fish similarity index 100% rename from configs/fish/functions/_pure_get_prompt_symbol.fish rename to Configs/fish/.config/fish/functions/_pure_get_prompt_symbol.fish diff --git a/configs/fish/functions/_pure_is_inside_container.fish b/Configs/fish/.config/fish/functions/_pure_is_inside_container.fish similarity index 100% rename from configs/fish/functions/_pure_is_inside_container.fish rename to Configs/fish/.config/fish/functions/_pure_is_inside_container.fish diff --git a/configs/fish/functions/_pure_is_single_line_prompt.fish b/Configs/fish/.config/fish/functions/_pure_is_single_line_prompt.fish similarity index 100% rename from configs/fish/functions/_pure_is_single_line_prompt.fish rename to Configs/fish/.config/fish/functions/_pure_is_single_line_prompt.fish diff --git a/configs/fish/functions/_pure_k8s_context.fish b/Configs/fish/.config/fish/functions/_pure_k8s_context.fish similarity index 100% rename from configs/fish/functions/_pure_k8s_context.fish rename to Configs/fish/.config/fish/functions/_pure_k8s_context.fish diff --git a/configs/fish/functions/_pure_k8s_namespace.fish b/Configs/fish/.config/fish/functions/_pure_k8s_namespace.fish similarity index 100% rename from configs/fish/functions/_pure_k8s_namespace.fish rename to Configs/fish/.config/fish/functions/_pure_k8s_namespace.fish diff --git a/configs/fish/functions/_pure_parse_directory.fish b/Configs/fish/.config/fish/functions/_pure_parse_directory.fish similarity index 100% rename from configs/fish/functions/_pure_parse_directory.fish rename to Configs/fish/.config/fish/functions/_pure_parse_directory.fish diff --git a/configs/fish/functions/_pure_parse_git_branch.fish b/Configs/fish/.config/fish/functions/_pure_parse_git_branch.fish similarity index 100% rename from configs/fish/functions/_pure_parse_git_branch.fish rename to Configs/fish/.config/fish/functions/_pure_parse_git_branch.fish diff --git a/configs/fish/functions/_pure_place_iterm2_prompt_mark.fish b/Configs/fish/.config/fish/functions/_pure_place_iterm2_prompt_mark.fish similarity index 100% rename from configs/fish/functions/_pure_place_iterm2_prompt_mark.fish rename to Configs/fish/.config/fish/functions/_pure_place_iterm2_prompt_mark.fish diff --git a/configs/fish/functions/_pure_prefix_root_prompt.fish b/Configs/fish/.config/fish/functions/_pure_prefix_root_prompt.fish similarity index 100% rename from configs/fish/functions/_pure_prefix_root_prompt.fish rename to Configs/fish/.config/fish/functions/_pure_prefix_root_prompt.fish diff --git a/configs/fish/functions/_pure_print_prompt.fish b/Configs/fish/.config/fish/functions/_pure_print_prompt.fish similarity index 100% rename from configs/fish/functions/_pure_print_prompt.fish rename to Configs/fish/.config/fish/functions/_pure_print_prompt.fish diff --git a/configs/fish/functions/_pure_print_prompt_rows.fish b/Configs/fish/.config/fish/functions/_pure_print_prompt_rows.fish similarity index 100% rename from configs/fish/functions/_pure_print_prompt_rows.fish rename to Configs/fish/.config/fish/functions/_pure_print_prompt_rows.fish diff --git a/configs/fish/functions/_pure_prompt.fish b/Configs/fish/.config/fish/functions/_pure_prompt.fish similarity index 100% rename from configs/fish/functions/_pure_prompt.fish rename to Configs/fish/.config/fish/functions/_pure_prompt.fish diff --git a/configs/fish/functions/_pure_prompt_aws_profile.fish b/Configs/fish/.config/fish/functions/_pure_prompt_aws_profile.fish similarity index 100% rename from configs/fish/functions/_pure_prompt_aws_profile.fish rename to Configs/fish/.config/fish/functions/_pure_prompt_aws_profile.fish diff --git a/configs/fish/functions/_pure_prompt_beginning.fish b/Configs/fish/.config/fish/functions/_pure_prompt_beginning.fish similarity index 100% rename from configs/fish/functions/_pure_prompt_beginning.fish rename to Configs/fish/.config/fish/functions/_pure_prompt_beginning.fish diff --git a/configs/fish/functions/_pure_prompt_command_duration.fish b/Configs/fish/.config/fish/functions/_pure_prompt_command_duration.fish similarity index 100% rename from configs/fish/functions/_pure_prompt_command_duration.fish rename to Configs/fish/.config/fish/functions/_pure_prompt_command_duration.fish diff --git a/configs/fish/functions/_pure_prompt_container.fish b/Configs/fish/.config/fish/functions/_pure_prompt_container.fish similarity index 100% rename from configs/fish/functions/_pure_prompt_container.fish rename to Configs/fish/.config/fish/functions/_pure_prompt_container.fish diff --git a/configs/fish/functions/_pure_prompt_current_folder.fish b/Configs/fish/.config/fish/functions/_pure_prompt_current_folder.fish similarity index 100% rename from configs/fish/functions/_pure_prompt_current_folder.fish rename to Configs/fish/.config/fish/functions/_pure_prompt_current_folder.fish diff --git a/configs/fish/functions/_pure_prompt_ending.fish b/Configs/fish/.config/fish/functions/_pure_prompt_ending.fish similarity index 100% rename from configs/fish/functions/_pure_prompt_ending.fish rename to Configs/fish/.config/fish/functions/_pure_prompt_ending.fish diff --git a/configs/fish/functions/_pure_prompt_first_line.fish b/Configs/fish/.config/fish/functions/_pure_prompt_first_line.fish similarity index 100% rename from configs/fish/functions/_pure_prompt_first_line.fish rename to Configs/fish/.config/fish/functions/_pure_prompt_first_line.fish diff --git a/configs/fish/functions/_pure_prompt_git.fish b/Configs/fish/.config/fish/functions/_pure_prompt_git.fish similarity index 100% rename from configs/fish/functions/_pure_prompt_git.fish rename to Configs/fish/.config/fish/functions/_pure_prompt_git.fish diff --git a/configs/fish/functions/_pure_prompt_git_branch.fish b/Configs/fish/.config/fish/functions/_pure_prompt_git_branch.fish similarity index 100% rename from configs/fish/functions/_pure_prompt_git_branch.fish rename to Configs/fish/.config/fish/functions/_pure_prompt_git_branch.fish diff --git a/configs/fish/functions/_pure_prompt_git_dirty.fish b/Configs/fish/.config/fish/functions/_pure_prompt_git_dirty.fish similarity index 100% rename from configs/fish/functions/_pure_prompt_git_dirty.fish rename to Configs/fish/.config/fish/functions/_pure_prompt_git_dirty.fish diff --git a/configs/fish/functions/_pure_prompt_git_pending_commits.fish b/Configs/fish/.config/fish/functions/_pure_prompt_git_pending_commits.fish similarity index 100% rename from configs/fish/functions/_pure_prompt_git_pending_commits.fish rename to Configs/fish/.config/fish/functions/_pure_prompt_git_pending_commits.fish diff --git a/configs/fish/functions/_pure_prompt_git_stash.fish b/Configs/fish/.config/fish/functions/_pure_prompt_git_stash.fish similarity index 100% rename from configs/fish/functions/_pure_prompt_git_stash.fish rename to Configs/fish/.config/fish/functions/_pure_prompt_git_stash.fish diff --git a/configs/fish/functions/_pure_prompt_jobs.fish b/Configs/fish/.config/fish/functions/_pure_prompt_jobs.fish similarity index 100% rename from configs/fish/functions/_pure_prompt_jobs.fish rename to Configs/fish/.config/fish/functions/_pure_prompt_jobs.fish diff --git a/configs/fish/functions/_pure_prompt_k8s.fish b/Configs/fish/.config/fish/functions/_pure_prompt_k8s.fish similarity index 100% rename from configs/fish/functions/_pure_prompt_k8s.fish rename to Configs/fish/.config/fish/functions/_pure_prompt_k8s.fish diff --git a/configs/fish/functions/_pure_prompt_new_line.fish b/Configs/fish/.config/fish/functions/_pure_prompt_new_line.fish similarity index 100% rename from configs/fish/functions/_pure_prompt_new_line.fish rename to Configs/fish/.config/fish/functions/_pure_prompt_new_line.fish diff --git a/configs/fish/functions/_pure_prompt_nixdevshell.fish b/Configs/fish/.config/fish/functions/_pure_prompt_nixdevshell.fish similarity index 100% rename from configs/fish/functions/_pure_prompt_nixdevshell.fish rename to Configs/fish/.config/fish/functions/_pure_prompt_nixdevshell.fish diff --git a/configs/fish/functions/_pure_prompt_ssh.fish b/Configs/fish/.config/fish/functions/_pure_prompt_ssh.fish similarity index 100% rename from configs/fish/functions/_pure_prompt_ssh.fish rename to Configs/fish/.config/fish/functions/_pure_prompt_ssh.fish diff --git a/configs/fish/functions/_pure_prompt_symbol.fish b/Configs/fish/.config/fish/functions/_pure_prompt_symbol.fish similarity index 100% rename from configs/fish/functions/_pure_prompt_symbol.fish rename to Configs/fish/.config/fish/functions/_pure_prompt_symbol.fish diff --git a/configs/fish/functions/_pure_prompt_system_time.fish b/Configs/fish/.config/fish/functions/_pure_prompt_system_time.fish similarity index 100% rename from configs/fish/functions/_pure_prompt_system_time.fish rename to Configs/fish/.config/fish/functions/_pure_prompt_system_time.fish diff --git a/configs/fish/functions/_pure_prompt_vimode.fish b/Configs/fish/.config/fish/functions/_pure_prompt_vimode.fish similarity index 100% rename from configs/fish/functions/_pure_prompt_vimode.fish rename to Configs/fish/.config/fish/functions/_pure_prompt_vimode.fish diff --git a/configs/fish/functions/_pure_prompt_virtualenv.fish b/Configs/fish/.config/fish/functions/_pure_prompt_virtualenv.fish similarity index 100% rename from configs/fish/functions/_pure_prompt_virtualenv.fish rename to Configs/fish/.config/fish/functions/_pure_prompt_virtualenv.fish diff --git a/configs/fish/functions/_pure_set_color.fish b/Configs/fish/.config/fish/functions/_pure_set_color.fish similarity index 100% rename from configs/fish/functions/_pure_set_color.fish rename to Configs/fish/.config/fish/functions/_pure_set_color.fish diff --git a/configs/fish/functions/_pure_set_default.fish b/Configs/fish/.config/fish/functions/_pure_set_default.fish similarity index 100% rename from configs/fish/functions/_pure_set_default.fish rename to Configs/fish/.config/fish/functions/_pure_set_default.fish diff --git a/configs/fish/functions/_pure_string_width.fish b/Configs/fish/.config/fish/functions/_pure_string_width.fish similarity index 100% rename from configs/fish/functions/_pure_string_width.fish rename to Configs/fish/.config/fish/functions/_pure_string_width.fish diff --git a/configs/fish/functions/_pure_user_at_host.fish b/Configs/fish/.config/fish/functions/_pure_user_at_host.fish similarity index 100% rename from configs/fish/functions/_pure_user_at_host.fish rename to Configs/fish/.config/fish/functions/_pure_user_at_host.fish diff --git a/configs/fish/functions/aliases.fish b/Configs/fish/.config/fish/functions/aliases.fish similarity index 100% rename from configs/fish/functions/aliases.fish rename to Configs/fish/.config/fish/functions/aliases.fish diff --git a/configs/fish/functions/curl.fish b/Configs/fish/.config/fish/functions/curl.fish similarity index 100% rename from configs/fish/functions/curl.fish rename to Configs/fish/.config/fish/functions/curl.fish diff --git a/configs/fish/functions/fish_greeting.fish b/Configs/fish/.config/fish/functions/fish_greeting.fish similarity index 100% rename from configs/fish/functions/fish_greeting.fish rename to Configs/fish/.config/fish/functions/fish_greeting.fish diff --git a/configs/fish/functions/fish_mode_prompt.fish b/Configs/fish/.config/fish/functions/fish_mode_prompt.fish similarity index 100% rename from configs/fish/functions/fish_mode_prompt.fish rename to Configs/fish/.config/fish/functions/fish_mode_prompt.fish diff --git a/configs/fish/functions/fish_prompt.fish b/Configs/fish/.config/fish/functions/fish_prompt.fish similarity index 100% rename from configs/fish/functions/fish_prompt.fish rename to Configs/fish/.config/fish/functions/fish_prompt.fish diff --git a/configs/fish/functions/fish_title.fish b/Configs/fish/.config/fish/functions/fish_title.fish similarity index 100% rename from configs/fish/functions/fish_title.fish rename to Configs/fish/.config/fish/functions/fish_title.fish diff --git a/configs/fish/functions/fisher.fish b/Configs/fish/.config/fish/functions/fisher.fish similarity index 100% rename from configs/fish/functions/fisher.fish rename to Configs/fish/.config/fish/functions/fisher.fish diff --git a/configs/fish/functions/split_run.fish b/Configs/fish/.config/fish/functions/split_run.fish similarity index 100% rename from configs/fish/functions/split_run.fish rename to Configs/fish/.config/fish/functions/split_run.fish diff --git a/configs/fish/functions/yy.fish b/Configs/fish/.config/fish/functions/yy.fish similarity index 100% rename from configs/fish/functions/yy.fish rename to Configs/fish/.config/fish/functions/yy.fish diff --git a/configs/fish/themes/Catppuccin Frappe.theme b/Configs/fish/.config/fish/themes/Catppuccin Frappe.theme similarity index 100% rename from configs/fish/themes/Catppuccin Frappe.theme rename to Configs/fish/.config/fish/themes/Catppuccin Frappe.theme diff --git a/configs/fish/themes/Catppuccin Latte.theme b/Configs/fish/.config/fish/themes/Catppuccin Latte.theme similarity index 100% rename from configs/fish/themes/Catppuccin Latte.theme rename to Configs/fish/.config/fish/themes/Catppuccin Latte.theme diff --git a/configs/fish/themes/Catppuccin Macchiato.theme b/Configs/fish/.config/fish/themes/Catppuccin Macchiato.theme similarity index 100% rename from configs/fish/themes/Catppuccin Macchiato.theme rename to Configs/fish/.config/fish/themes/Catppuccin Macchiato.theme diff --git a/configs/fish/themes/Catppuccin Mocha.theme b/Configs/fish/.config/fish/themes/Catppuccin Mocha.theme similarity index 100% rename from configs/fish/themes/Catppuccin Mocha.theme rename to Configs/fish/.config/fish/themes/Catppuccin Mocha.theme diff --git a/Configs/foot/.config/foot/foot.ini b/Configs/foot/.config/foot/foot.ini new file mode 100644 index 0000000..dc7c809 --- /dev/null +++ b/Configs/foot/.config/foot/foot.ini @@ -0,0 +1,197 @@ +# -*- conf -*- + +# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd) +# term=foot (or xterm-256color if built with -Dterminfo=disabled) +# login-shell=no + +include=~/.config/foot/themes/catppuccin/catppuccin-macchiato.conf + +# app-id=foot +# title=foot +# locked-title=no + +font=JetBrainsMono NF:style=Regular:size=11 +font-bold=JetBrainsMono NF:style=Bold:size=11 +font-italic=JetBrainsMono NF:style=Italic:size=11 +font-bold-italic=JetBrainsMono NF:style=Bold Italic:size=11 +# line-height= +# letter-spacing=0 +# horizontal-letter-offset=0 +# vertical-letter-offset=0 +# underline-offset= +# box-drawings-uses-font-glyphs=no +# dpi-aware=auto + +# initial-window-size-pixels=700x500 # Or, +# initial-window-size-chars= +# initial-window-mode=windowed +pad=10x10 +# resize-delay-ms=100 + +# notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body} + +# bold-text-in-bright=no +# word-delimiters=,│`|:"'()[]{}<> +# selection-target=primary +# workers= + +[environment] +# name=value + +[bell] +# urgent=no +# notify=no +# command= +# command-focused=no + +[scrollback] +# lines=1000 +# multiplier=3.0 +# indicator-position=relative +# indicator-format= + +[url] +# launch=xdg-open ${url} +# label-letters=sadfjklewcmpgh +# osc8-underline=url-mode +# protocols=http, https, ftp, ftps, file, gemini, gopher +# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[] + +[cursor] +# style=block +# color= +# blink=no +# beam-thickness=1.5 +# underline-thickness= + +[mouse] +# hide-when-typing=no +# alternate-scroll-mode=yes + +[colors] +alpha=0.9 +# foreground=dcdccc +# background=111111 + +## Normal/regular colors (color palette 0-7) +# regular0=222222 # black +# regular1=cc9393 # red +# regular2=7f9f7f # green +# regular3=d0bf8f # yellow +# regular4=6ca0a3 # blue +# regular5=dc8cc3 # magenta +# regular6=93e0e3 # cyan +# regular7=dcdccc # white + +## Bright colors (color palette 8-15) +# bright0=666666 # bright black +# bright1=dca3a3 # bright red +# bright2=bfebbf # bright green +# bright3=f0dfaf # bright yellow +# bright4=8cd0d3 # bright blue +# bright5=fcace3 # bright magenta +# bright6=b3ffff # bright cyan +# bright7=ffffff # bright white + +## dimmed colors (see foot.ini(5) man page) +# dim0= +# ... +# dim7= + +## The remaining 256-color palette +# 16 = <256-color palette #16> +# ... +# 255 = <256-color palette #255> + +## Misc colors +# selection-foreground= +# selection-background= +# jump-labels= # black-on-yellow +# scrollback-indicator= # black-on-bright-blue +# search-box-no-match= # black-on-red +# search-box-match= # black-on-yellow +# urls= + +[csd] +preferred=none +# size=26 +# font= +# color= +# hide-when-typing=no +# border-width=0 +# border-color= +# button-width=26 +# button-color= +# button-minimize-color= +# button-maximize-color= +# button-close-color= + +[key-bindings] +# scrollback-up-page=Shift+Page_Up +# scrollback-up-half-page=none +# scrollback-up-line=none +# scrollback-down-page=Shift+Page_Down +# scrollback-down-half-page=none +# scrollback-down-line=none +# clipboard-copy=Control+Shift+c XF86Copy +# clipboard-paste=Control+Shift+v XF86Paste +# primary-paste=Shift+Insert +# search-start=Control+Shift+r +# font-increase=Control+plus Control+equal Control+KP_Add +# font-decrease=Control+minus Control+KP_Subtract +# font-reset=Control+0 Control+KP_0 +# spawn-terminal=Control+Shift+n +# minimize=none +# maximize=none +# fullscreen=none +# pipe-visible=[sh -c "xurls | fuzzel | xargs -r firefox"] none +# pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none +# pipe-selected=[xargs -r firefox] none +# show-urls-launch=Control+Shift+u +# show-urls-copy=none +# show-urls-persistent=none +# prompt-prev=Control+Shift+z +# prompt-next=Control+Shift+x +# unicode-input=none +# noop=none + +[search-bindings] +# cancel=Control+g Control+c Escape +# commit=Return +# find-prev=Control+r +# find-next=Control+s +# cursor-left=Left Control+b +# cursor-left-word=Control+Left Mod1+b +# cursor-right=Right Control+f +# cursor-right-word=Control+Right Mod1+f +# cursor-home=Home Control+a +# cursor-end=End Control+e +# delete-prev=BackSpace +# delete-prev-word=Mod1+BackSpace Control+BackSpace +# delete-next=Delete +# delete-next-word=Mod1+d Control+Delete +# extend-to-word-boundary=Control+w +# extend-to-next-whitespace=Control+Shift+w +# clipboard-paste=Control+v Control+Shift+v Control+y XF86Paste +# primary-paste=Shift+Insert +# unicode-input=none + +[url-bindings] +# cancel=Control+g Control+c Control+d Escape +# toggle-url-visible=t + +[text-bindings] +# \x03=Mod4+c # Map Super+c -> Ctrl+c + +[mouse-bindings] +# selection-override-modifiers=Shift +# primary-paste=BTN_MIDDLE +# select-begin=BTN_LEFT +# select-begin-block=Control+BTN_LEFT +# select-extend=BTN_RIGHT +# select-extend-character-wise=Control+BTN_RIGHT +# select-word=BTN_LEFT-2 +# select-word-whitespace=Control+BTN_LEFT-2 +# select-row=BTN_LEFT-3 + +# vim: ft=dosini diff --git a/Configs/foot/.config/foot/themes/catppuccin/LICENSE b/Configs/foot/.config/foot/themes/catppuccin/LICENSE new file mode 100644 index 0000000..006383b --- /dev/null +++ b/Configs/foot/.config/foot/themes/catppuccin/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Catppuccin + +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. diff --git a/Configs/foot/.config/foot/themes/catppuccin/README.md b/Configs/foot/.config/foot/themes/catppuccin/README.md new file mode 100644 index 0000000..c5c1821 --- /dev/null +++ b/Configs/foot/.config/foot/themes/catppuccin/README.md @@ -0,0 +1,32 @@ +

+ Logo
+ + Catppuccin for Foot + +

+ +

+ + + +

+ +

+ +

+ +## Usage + +1. Copy the contents of `catppuccin.conf` colorscheme you want into your Foot config file (usually stored at `~/.config/foot/foot.ini`) + +## 💝 Thanks to + +- [Pocco81](https://github.com/Pocco81) +- [crdpa](https://github.com/crdpa) +- [Thibault Andreis](https://github.com/ThibaultAndreis) + +  + +

+

Copyright © 2021-present Catppuccin Org +

diff --git a/configs/hypr/base/include/.gitkeep b/Configs/foot/.config/foot/themes/catppuccin/assets/empty_dot_gitkeep similarity index 100% rename from configs/hypr/base/include/.gitkeep rename to Configs/foot/.config/foot/themes/catppuccin/assets/empty_dot_gitkeep diff --git a/Configs/foot/.config/foot/themes/catppuccin/assets/foot.png b/Configs/foot/.config/foot/themes/catppuccin/assets/foot.png new file mode 100644 index 0000000..d70b151 Binary files /dev/null and b/Configs/foot/.config/foot/themes/catppuccin/assets/foot.png differ diff --git a/Configs/foot/.config/foot/themes/catppuccin/catppuccin-frappe.conf b/Configs/foot/.config/foot/themes/catppuccin/catppuccin-frappe.conf new file mode 100644 index 0000000..b345283 --- /dev/null +++ b/Configs/foot/.config/foot/themes/catppuccin/catppuccin-frappe.conf @@ -0,0 +1,19 @@ +[colors] +foreground=c6d0f5 # Text +background=303446 # Base +regular0=51576d # Surface 1 +regular1=e78284 # red +regular2=a6d189 # green +regular3=e5c890 # yellow +regular4=8caaee # blue +regular5=f4b8e4 # pink +regular6=81c8be # teal +regular7=b5bfe2 # Subtext 1 +bright0=626880 # Surface 2 +bright1=e78284 # red +bright2=a6d189 # green +bright3=e5c890 # yellow +bright4=8caaee # blue +bright5=f4b8e4 # pink +bright6=81c8be # teal +bright7=a5adce # Subtext 0 diff --git a/Configs/foot/.config/foot/themes/catppuccin/catppuccin-latte.conf b/Configs/foot/.config/foot/themes/catppuccin/catppuccin-latte.conf new file mode 100644 index 0000000..94f571b --- /dev/null +++ b/Configs/foot/.config/foot/themes/catppuccin/catppuccin-latte.conf @@ -0,0 +1,19 @@ +[colors] +foreground=4c4f69 # Text +background=eff1f5 # Base +regular0=5c5f77 # Subtext 1 +regular1=d20f39 # red +regular2=40a02b # green +regular3=df8e1d # yellow +regular4=1e66f5 # blue +regular5=ea76cb # pink +regular6=179299 # teal +regular7=acb0be # Surface 2 +bright0=6c6f85 # Subtext 0 +bright1=d20f39 # red +bright2=40a02b # green +bright3=df8e1d # yellow +bright4=1e66f5 # blue +bright5=ea76cb # pink +bright6=179299 # teal +bright7=bcc0cc # Surface 1 diff --git a/Configs/foot/.config/foot/themes/catppuccin/catppuccin-macchiato.conf b/Configs/foot/.config/foot/themes/catppuccin/catppuccin-macchiato.conf new file mode 100644 index 0000000..934c1cb --- /dev/null +++ b/Configs/foot/.config/foot/themes/catppuccin/catppuccin-macchiato.conf @@ -0,0 +1,19 @@ +[colors] +foreground=cad3f5 # Text +background=24273a # Base +regular0=494d64 # Surface 1 +regular1=ed8796 # red +regular2=a6da95 # green +regular3=eed49f # yellow +regular4=8aadf4 # blue +regular5=f5bde6 # pink +regular6=8bd5ca # teal +regular7=b8c0e0 # Subtext 1 +bright0=5b6078 # Surface 2 +bright1=ed8796 # red +bright2=a6da95 # green +bright3=eed49f # yellow +bright4=8aadf4 # blue +bright5=f5bde6 # pink +bright6=8bd5ca # teal +bright7=a5adcb # Subtext 0 diff --git a/Configs/foot/.config/foot/themes/catppuccin/catppuccin-mocha.conf b/Configs/foot/.config/foot/themes/catppuccin/catppuccin-mocha.conf new file mode 100644 index 0000000..7fa18ed --- /dev/null +++ b/Configs/foot/.config/foot/themes/catppuccin/catppuccin-mocha.conf @@ -0,0 +1,19 @@ +[colors] +foreground=cdd6f4 # Text +background=1e1e2e # Base +regular0=45475a # Surface 1 +regular1=f38ba8 # red +regular2=a6e3a1 # green +regular3=f9e2af # yellow +regular4=89b4fa # blue +regular5=f5c2e7 # pink +regular6=94e2d5 # teal +regular7=bac2de # Subtext 1 +bright0=585b70 # Surface 2 +bright1=f38ba8 # red +bright2=a6e3a1 # green +bright3=f9e2af # yellow +bright4=89b4fa # blue +bright5=f5c2e7 # pink +bright6=94e2d5 # teal +bright7=a6adc8 # Subtext 0 diff --git a/Configs/foot/.config/foot/themes/catppuccin/dot_editorconfig b/Configs/foot/.config/foot/themes/catppuccin/dot_editorconfig new file mode 100644 index 0000000..d86ac02 --- /dev/null +++ b/Configs/foot/.config/foot/themes/catppuccin/dot_editorconfig @@ -0,0 +1,34 @@ +# EditorConfig helps developers define and maintain consistent +# coding styles between different editors and IDEs +# EditorConfig is awesome: https://EditorConfig.org + +root = true + +[*] +charset = utf-8 +indent_size = 2 +indent_style = space +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +# go +[*.go] +indent_style = tab +indent_size = 4 + +# python +[*.{ini,py,py.tpl,rst}] +indent_size = 4 + +# rust +[*.rs] +indent_size = 4 + +# documentation, utils +[*.{md,mdx,diff}] +trim_trailing_whitespace = false + +# windows shell scripts +[*.{cmd,bat,ps1}] +end_of_line = crlf diff --git a/Configs/foot/.config/foot/themes/catppuccin/dot_git b/Configs/foot/.config/foot/themes/catppuccin/dot_git new file mode 100644 index 0000000..d893b83 --- /dev/null +++ b/Configs/foot/.config/foot/themes/catppuccin/dot_git @@ -0,0 +1 @@ +gitdir: ../../../../.git/modules/config/foot/themes/catppuccin diff --git a/configs/fzf/forgitrc b/Configs/fzf/.config/fzf/forgitrc similarity index 100% rename from configs/fzf/forgitrc rename to Configs/fzf/.config/fzf/forgitrc diff --git a/configs/fzf/fzfrc b/Configs/fzf/.config/fzf/fzfrc similarity index 100% rename from configs/fzf/fzfrc rename to Configs/fzf/.config/fzf/fzfrc diff --git a/configs/fzf/widgets/alias_widget.zsh b/Configs/fzf/.config/fzf/widgets/alias_widget.zsh similarity index 100% rename from configs/fzf/widgets/alias_widget.zsh rename to Configs/fzf/.config/fzf/widgets/alias_widget.zsh diff --git a/configs/fzf/widgets/atuin-history_widget.zsh b/Configs/fzf/.config/fzf/widgets/atuin-history_widget.zsh similarity index 100% rename from configs/fzf/widgets/atuin-history_widget.zsh rename to Configs/fzf/.config/fzf/widgets/atuin-history_widget.zsh diff --git a/configs/fzf/widgets/cd-recent-dir_widget.zsh b/Configs/fzf/.config/fzf/widgets/cd-recent-dir_widget.zsh similarity index 100% rename from configs/fzf/widgets/cd-recent-dir_widget.zsh rename to Configs/fzf/.config/fzf/widgets/cd-recent-dir_widget.zsh diff --git a/configs/fzf/widgets/cd_widget.zsh b/Configs/fzf/.config/fzf/widgets/cd_widget.zsh similarity index 100% rename from configs/fzf/widgets/cd_widget.zsh rename to Configs/fzf/.config/fzf/widgets/cd_widget.zsh diff --git a/configs/fzf/widgets/dictionary_widget.zsh b/Configs/fzf/.config/fzf/widgets/dictionary_widget.zsh similarity index 100% rename from configs/fzf/widgets/dictionary_widget.zsh rename to Configs/fzf/.config/fzf/widgets/dictionary_widget.zsh diff --git a/configs/fzf/widgets/fzf-rg-launcher.zsh b/Configs/fzf/.config/fzf/widgets/fzf-rg-launcher.zsh similarity index 100% rename from configs/fzf/widgets/fzf-rg-launcher.zsh rename to Configs/fzf/.config/fzf/widgets/fzf-rg-launcher.zsh diff --git a/configs/fzf/widgets/locate_widget.zsh b/Configs/fzf/.config/fzf/widgets/locate_widget.zsh similarity index 100% rename from configs/fzf/widgets/locate_widget.zsh rename to Configs/fzf/.config/fzf/widgets/locate_widget.zsh diff --git a/configs/fzf/widgets/man_widget.zsh b/Configs/fzf/.config/fzf/widgets/man_widget.zsh similarity index 100% rename from configs/fzf/widgets/man_widget.zsh rename to Configs/fzf/.config/fzf/widgets/man_widget.zsh diff --git a/configs/ghostty/config b/Configs/ghostty/.config/ghostty/config similarity index 100% rename from configs/ghostty/config rename to Configs/ghostty/.config/ghostty/config diff --git a/configs/git/config b/Configs/git/.config/git/config similarity index 100% rename from configs/git/config rename to Configs/git/.config/git/config diff --git a/configs/git/ignore b/Configs/git/.config/git/ignore similarity index 100% rename from configs/git/ignore rename to Configs/git/.config/git/ignore diff --git a/Configs/helix/.config/helix/config.toml b/Configs/helix/.config/helix/config.toml new file mode 100644 index 0000000..2553571 --- /dev/null +++ b/Configs/helix/.config/helix/config.toml @@ -0,0 +1,69 @@ +theme = "catppuccin_macchiato" + +[keys.normal] +H = ":buffer-previous" +L = ":buffer-next" + +[keys.normal.g] +u = "switch_to_lowercase" +U = "switch_to_uppercase" + +# LSP actions +[keys.normal.space.l] +j = "goto_next_diag" +k = "goto_prev_diag" + +# Git +[keys.normal.space.g] +g = [ + ":new", + ":insert-output lazygit", + ":buffer-close!", + ":redraw", + ":reload-all" +] + +[keys.normal.space] +e = [ + ':sh rm -f /tmp/unique-file', + ':insert-output yazi %{buffer_name} --chooser-file=/tmp/unique-file', + ':insert-output echo "\x1b[?1049h\x1b[?2004h" > /dev/tty', + ':open %sh{/bin/cat /tmp/unique-file}', + ':redraw', +] + +[editor] +line-number = "relative" +cursorline = true +color-modes = true +scrolloff = 15 +default-yank-register = "*" +bufferline = "multiple" +popup-border = "all" + + +[editor.cursor-shape] +insert = "bar" +normal = "block" +select = "underline" + +[editor.indent-guides] +render = true + +[editor.statusline] +left = ["mode", "spacer", "version-control", "file-type", "file-name","file-modification-indicator", "read-only-indicator", "spinner"] +center = [] +right = ["diagnostics", "position-percentage"] +mode.normal = "" +mode.insert = "" +mode.select = "" + +[editor.file-picker] +hidden = false + +[editor.lsp] +display-inlay-hints = true + +[editor.inline-diagnostics] +cursor-line = "hint" +other-lines = "error" diff --git a/Configs/helix/.config/helix/languages.toml b/Configs/helix/.config/helix/languages.toml new file mode 100644 index 0000000..036911f --- /dev/null +++ b/Configs/helix/.config/helix/languages.toml @@ -0,0 +1,3 @@ + +[[language]] +name = "rust" diff --git a/configs/hypr/base/hyprland.conf b/Configs/hypr/.config/hypr/base.conf similarity index 89% rename from configs/hypr/base/hyprland.conf rename to Configs/hypr/.config/hypr/base.conf index 0ac45f0..1d8edb7 100644 --- a/configs/hypr/base/hyprland.conf +++ b/Configs/hypr/.config/hypr/base.conf @@ -26,10 +26,18 @@ exec-once = swaync --skip-system-css # Source a file (multi-file configs) source = ~/.config/hypr/theme.conf -source = ~/.config/hypr/include/*.conf # ── Monitors ────────────────────────────────────────────────────────── monitor = , preferred, auto, 1 +monitorv2 { + output = desc:GWD ARZOPA 000000000000 + mode = 1920x1080@60, transform + position = auto + scale = 1 + transform = 3 # rotate 180° + supports_wide_color = true + supports_hdr = true +} monitor = WAYLAND-1, disable # hack for when running manually # Workaround for wrong wpaperd texture on vertical screen @@ -46,7 +54,7 @@ input { kb_options = caps:escape kb_rules = - follow_mouse = 1 + follow_mouse = 2 touchpad { natural_scroll = true @@ -62,8 +70,8 @@ general { gaps_out = 10 border_size = 2 - col.active_border = rgba($tealAlphadd) - col.inactive_border = rgba($surface1Alphadd) + col.active_border = $teal $teal + col.inactive_border = $surface1 $surface1 # snap { # enabled = true @@ -72,20 +80,13 @@ general { layout = master } -decoration { +# decoration { # rounding = 2 # drop_shadow = true # shadow_range = 4 # shadow_render_power = 3 # col.shadow = rgba($baseAlphaee) - blur { - enabled = false - } - - shadow { - enabled = false - } -} +# } animations { enabled = true @@ -98,24 +99,10 @@ animations { animation = specialWorkspace, 1, 8, default, fade } -gesture = 3, horizontal, workspace - -group { - merge_floated_into_tiled_on_groupbar = true - - col.border_active = $teal $teal - col.border_inactive = $surface1 $surface1 - - groupbar { - gradients = true, - text_color = $base - text_color_inactive = $text - col.active = rgba($tealAlphadd) - col.inactive = rgba($surface1Alphadd) - - gaps_in = 0 - gaps_out = 0 - } +gestures { + workspace_swipe = true + workspace_swipe_invert = true + workspace_swipe_distance = 200 } misc { @@ -124,15 +111,13 @@ misc { # swallow_exception_regex = "" mouse_move_focuses_monitor = false - animate_manual_resizes = false - vrr = 0 } # ── Layouts ─────────────────────────────────────────────────────────── master { new_status = slave mfact = 0.5 - slave_count_for_center_master = 0 + # slave_count_for_center_master = 4 } # ╭──────────────────────────────────────────────────────────╮ @@ -141,7 +126,6 @@ master { windowrulev2 = float, class:org.gnome.Nautilus windowrulev2 = float, class:xdg-desktop-portal-gtk -windowrulev2 = float, class:brave title:(.+)wants to save # ╭───────────────────────────────────────────────────────────╮ # │ Workspaces rules │ @@ -169,12 +153,10 @@ $menu = rofi -show drun -run-command "uwsm app -- {cmd}" # ── Spawn ───────────────────────────────────────────────────────────── bind = $mainMod SHIFT, E, exec, uwsm stop -bind = $mainMod, return, exec, uwsm app -- kitty +bind = $mainMod, return, exec, kitty bind = $mainMod SHIFT, q, killactive, bind = $mainMod, D, exec, $menu -bind = $mainMod, U, exec, rofi-rbw --selector-args "-config ~/.config/rofi/rbw.rasi" - # screenshot current window bind = SHIFT, Print, exec, grim -g "$(hyprctl activewindow -j | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"')" - | wl-copy && notify-send "Screenshot taken!" # screenshot area and edit it @@ -197,19 +179,16 @@ bind = $mainMod, f, fullscreen, 1 # preserve gaps and bar bind = $mainMod SHIFT, f, fullscreen, 0 # use whole screen bind = $mainMod SHIFT, s, toggleswallow -bind = $mainMod, t, changegroupactive -bind = $mainMod SHIFT, t, togglegroup - # ── Focus ───────────────────────────────────────────────────────────── bind = $mainMod, h, movefocus, l bind = $mainMod, j, movefocus, d bind = $mainMod, k, movefocus, u bind = $mainMod, l, movefocus, r -bind = $mainMod + SHIFT, h, movewindoworgroup, l -bind = $mainMod + SHIFT, j, movewindoworgroup, d -bind = $mainMod + SHIFT, k, movewindoworgroup, u -bind = $mainMod + SHIFT, l, movewindoworgroup, r +bind = $mainMod + SHIFT, h, movewindow, l +bind = $mainMod + SHIFT, j, movewindow, d +bind = $mainMod + SHIFT, k, movewindow, u +bind = $mainMod + SHIFT, l, movewindow, r bind = $mainMod, bar, workspace, previous bind = $mainMod CTRL, bar, focusmonitor, +1 @@ -240,9 +219,6 @@ bind = $mainMod, 7, workspace, 7 bind = $mainMod, 8, workspace, 8 bind = $mainMod, 9, workspace, 9 -bind = $mainMod, Next, workspace, +1 -bind = $mainMod, Prior, workspace, -1 - bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 3, movetoworkspace, 3 diff --git a/configs/hypr/base/executable_gdm-wrapper.sh b/Configs/hypr/.config/hypr/executable_gdm-wrapper.sh similarity index 100% rename from configs/hypr/base/executable_gdm-wrapper.sh rename to Configs/hypr/.config/hypr/executable_gdm-wrapper.sh diff --git a/configs/hypr/base/hypridle.conf b/Configs/hypr/.config/hypr/hypridle.conf similarity index 100% rename from configs/hypr/base/hypridle.conf rename to Configs/hypr/.config/hypr/hypridle.conf diff --git a/Configs/hypr/.config/hypr/hyprland.conf b/Configs/hypr/.config/hypr/hyprland.conf new file mode 100644 index 0000000..adfbbce --- /dev/null +++ b/Configs/hypr/.config/hypr/hyprland.conf @@ -0,0 +1 @@ +source = base.conf diff --git a/configs/hypr/base/hyprlock.conf b/Configs/hypr/.config/hypr/hyprlock.conf similarity index 100% rename from configs/hypr/base/hyprlock.conf rename to Configs/hypr/.config/hypr/hyprlock.conf diff --git a/configs/hypr/base/hyprpaper.conf b/Configs/hypr/.config/hypr/hyprpaper.conf similarity index 100% rename from configs/hypr/base/hyprpaper.conf rename to Configs/hypr/.config/hypr/hyprpaper.conf diff --git a/configs/hypr/base/theme.conf b/Configs/hypr/.config/hypr/theme.conf similarity index 100% rename from configs/hypr/base/theme.conf rename to Configs/hypr/.config/hypr/theme.conf diff --git a/configs/jetbrains/ideavimrc b/Configs/jetbrains/.config/ideavim/ideavimrc similarity index 100% rename from configs/jetbrains/ideavimrc rename to Configs/jetbrains/.config/ideavim/ideavimrc diff --git a/configs/kitty/current-theme.conf b/Configs/kitty/.config/kitty/current-theme.conf similarity index 100% rename from configs/kitty/current-theme.conf rename to Configs/kitty/.config/kitty/current-theme.conf diff --git a/Configs/kitty/.config/kitty/kitty.conf b/Configs/kitty/.config/kitty/kitty.conf new file mode 100644 index 0000000..77d48f2 --- /dev/null +++ b/Configs/kitty/.config/kitty/kitty.conf @@ -0,0 +1,2513 @@ +# vim:fileencoding=utf-8:foldmethod=marker + +# Catppuccin-Macchiato +include current-theme.conf + +#: Fonts {{{ + +#: kitty has very powerful font management. You can configure +#: individual font faces and even specify special fonts for particular +#: characters. + +font_family JetBrainsMono Nerd Font +# bold_font auto +# italic_font auto +# bold_italic_font auto + +#: You can specify different fonts for the bold/italic/bold-italic +#: variants. To get a full list of supported fonts use the `kitty +#: +list-fonts` command. By default they are derived automatically, by +#: the OSes font system. When bold_font or bold_italic_font is set to +#: auto on macOS, the priority of bold fonts is semi-bold, bold, +#: heavy. Setting them manually is useful for font families that have +#: many weight variants like Book, Medium, Thick, etc. For example:: + +#: font_family Operator Mono Book +#: bold_font Operator Mono Medium +#: italic_font Operator Mono Book Italic +#: bold_italic_font Operator Mono Medium Italic + +font_size 12.0 + +#: Font size (in pts) + +# force_ltr no + +#: kitty does not support BIDI (bidirectional text), however, for RTL +#: scripts, words are automatically displayed in RTL. That is to say, +#: in an RTL script, the words "HELLO WORLD" display in kitty as +#: "WORLD HELLO", and if you try to select a substring of an RTL- +#: shaped string, you will get the character that would be there had +#: the string been LTR. For example, assuming the Hebrew word ירושלים, +#: selecting the character that on the screen appears to be ם actually +#: writes into the selection buffer the character י. kitty's default +#: behavior is useful in conjunction with a filter to reverse the word +#: order, however, if you wish to manipulate RTL glyphs, it can be +#: very challenging to work with, so this option is provided to turn +#: it off. Furthermore, this option can be used with the command line +#: program GNU FriBidi +#: to get BIDI support, because it will force kitty to always treat +#: the text as LTR, which FriBidi expects for terminals. + +# symbol_map + +#: E.g. symbol_map U+E0A0-U+E0A3,U+E0C0-U+E0C7 PowerlineSymbols + +#: Map the specified Unicode codepoints to a particular font. Useful +#: if you need special rendering for some symbols, such as for +#: Powerline. Avoids the need for patched fonts. Each Unicode code +#: point is specified in the form `U+`. You +#: can specify multiple code points, separated by commas and ranges +#: separated by hyphens. This option can be specified multiple times. +#: The syntax is:: + +#: symbol_map codepoints Font Family Name + +# narrow_symbols + +#: E.g. narrow_symbols U+E0A0-U+E0A3,U+E0C0-U+E0C7 1 + +#: Usually, for Private Use Unicode characters and some symbol/dingbat +#: characters, if the character is followed by one or more spaces, +#: kitty will use those extra cells to render the character larger, if +#: the character in the font has a wide aspect ratio. Using this +#: option you can force kitty to restrict the specified code points to +#: render in the specified number of cells (defaulting to one cell). +#: This option can be specified multiple times. The syntax is:: + +#: narrow_symbols codepoints [optionally the number of cells] + +# disable_ligatures never + +#: Choose how you want to handle multi-character ligatures. The +#: default is to always render them. You can tell kitty to not render +#: them when the cursor is over them by using cursor to make editing +#: easier, or have kitty never render them at all by using always, if +#: you don't like them. The ligature strategy can be set per-window +#: either using the kitty remote control facility or by defining +#: shortcuts for it in kitty.conf, for example:: + +#: map alt+1 disable_ligatures_in active always +#: map alt+2 disable_ligatures_in all never +#: map alt+3 disable_ligatures_in tab cursor + +#: Note that this refers to programming ligatures, typically +#: implemented using the calt OpenType feature. For disabling general +#: ligatures, use the font_features option. + +# font_features + +#: E.g. font_features none + +#: Choose exactly which OpenType features to enable or disable. This +#: is useful as some fonts might have features worthwhile in a +#: terminal. For example, Fira Code includes a discretionary feature, +#: zero, which in that font changes the appearance of the zero (0), to +#: make it more easily distinguishable from Ø. Fira Code also includes +#: other discretionary features known as Stylistic Sets which have the +#: tags ss01 through ss20. + +#: For the exact syntax to use for individual features, see the +#: HarfBuzz documentation . + +#: Note that this code is indexed by PostScript name, and not the font +#: family. This allows you to define very precise feature settings; +#: e.g. you can disable a feature in the italic font but not in the +#: regular font. + +#: On Linux, font features are first read from the FontConfig database +#: and then this option is applied, so they can be configured in a +#: single, central place. + +#: To get the PostScript name for a font, use `kitty +list-fonts +#: --psnames`: + +#: .. code-block:: sh + +#: $ kitty +list-fonts --psnames | grep Fira +#: Fira Code +#: Fira Code Bold (FiraCode-Bold) +#: Fira Code Light (FiraCode-Light) +#: Fira Code Medium (FiraCode-Medium) +#: Fira Code Regular (FiraCode-Regular) +#: Fira Code Retina (FiraCode-Retina) + +#: The part in brackets is the PostScript name. + +#: Enable alternate zero and oldstyle numerals:: + +#: font_features FiraCode-Retina +zero +onum + +#: Enable only alternate zero in the bold font:: + +#: font_features FiraCode-Bold +zero + +#: Disable the normal ligatures, but keep the calt feature which (in +#: this font) breaks up monotony:: + +#: font_features TT2020StyleB-Regular -liga +calt + +#: In conjunction with force_ltr, you may want to disable Arabic +#: shaping entirely, and only look at their isolated forms if they +#: show up in a document. You can do this with e.g.:: + +#: font_features UnifontMedium +isol -medi -fina -init + +# modify_font + +#: Modify font characteristics such as the position or thickness of +#: the underline and strikethrough. The modifications can have the +#: suffix px for pixels or % for percentage of original value. No +#: suffix means use pts. For example:: + +#: modify_font underline_position -2 +#: modify_font underline_thickness 150% +#: modify_font strikethrough_position 2px + +#: Additionally, you can modify the size of the cell in which each +#: font glyph is rendered and the baseline at which the glyph is +#: placed in the cell. For example:: + +#: modify_font cell_width 80% +#: modify_font cell_height -2px +#: modify_font baseline 3 + +#: Note that modifying the baseline will automatically adjust the +#: underline and strikethrough positions by the same amount. +#: Increasing the baseline raises glyphs inside the cell and +#: decreasing it lowers them. Decreasing the cell size might cause +#: rendering artifacts, so use with care. + +# box_drawing_scale 0.001, 1, 1.5, 2 + +#: The sizes of the lines used for the box drawing Unicode characters. +#: These values are in pts. They will be scaled by the monitor DPI to +#: arrive at a pixel value. There must be four values corresponding to +#: thin, normal, thick, and very thick lines. + +# undercurl_style thin-sparse + +#: The style with which undercurls are rendered. This option takes the +#: form (thin|thick)-(sparse|dense). Thin and thick control the +#: thickness of the undercurl. Sparse and dense control how often the +#: curl oscillates. With sparse the curl will peak once per character, +#: with dense twice. + +# text_composition_strategy platform + +#: Control how kitty composites text glyphs onto the background color. +#: The default value of platform tries for text rendering as close to +#: "native" for the platform kitty is running on as possible. + +#: A value of legacy uses the old (pre kitty 0.28) strategy for how +#: glyphs are composited. This will make dark text on light +#: backgrounds look thicker and light text on dark backgrounds +#: thinner. It might also make some text appear like the strokes are +#: uneven. + +#: You can fine tune the actual contrast curve used for glyph +#: composition by specifying up to two space-separated numbers for +#: this setting. + +#: The first number is the gamma adjustment, which controls the +#: thickness of dark text on light backgrounds. Increasing the value +#: will make text appear thicker. The default value for this is 1.0 on +#: Linux and 1.7 on macOS. Valid values are 0.01 and above. The result +#: is scaled based on the luminance difference between the background +#: and the foreground. Dark text on light backgrounds receives the +#: full impact of the curve while light text on dark backgrounds is +#: affected very little. + +#: The second number is an additional multiplicative contrast. It is +#: percentage ranging from 0 to 100. The default value is 0 on Linux +#: and 30 on macOS. + +#: If you wish to achieve similar looking thickness in light and dark +#: themes, a good way to experiment is start by setting the value to +#: 1.0 0 and use a dark theme. Then adjust the second parameter until +#: it looks good. Then switch to a light theme and adjust the first +#: parameter until the perceived thickness matches the dark theme. + +# text_fg_override_threshold 0 + +#: The minimum accepted difference in luminance between the foreground +#: and background color, below which kitty will override the +#: foreground color. It is percentage ranging from 0 to 100. If the +#: difference in luminance of the foreground and background is below +#: this threshold, the foreground color will be set to white if the +#: background is dark or black if the background is light. The default +#: value is 0, which means no overriding is performed. Useful when +#: working with applications that use colors that do not contrast well +#: with your preferred color scheme. + +#: WARNING: Some programs use characters (such as block characters) +#: for graphics display and may expect to be able to set the +#: foreground and background to the same color (or similar colors). +#: If you see unexpected stripes, dots, lines, incorrect color, no +#: color where you expect color, or any kind of graphic display +#: problem try setting text_fg_override_threshold to 0 to see if this +#: is the cause of the problem. + +#: }}} + +#: Cursor customization {{{ + +# cursor #cccccc + +#: Default cursor color. If set to the special value none the cursor +#: will be rendered with a "reverse video" effect. It's color will be +#: the color of the text in the cell it is over and the text will be +#: rendered with the background color of the cell. Note that if the +#: program running in the terminal sets a cursor color, this takes +#: precedence. Also, the cursor colors are modified if the cell +#: background and foreground colors have very low contrast. + +# cursor_text_color #111111 + +#: The color of text under the cursor. If you want it rendered with +#: the background color of the cell underneath instead, use the +#: special keyword: background. Note that if cursor is set to none +#: then this option is ignored. + +# cursor_shape block + +#: The cursor shape can be one of block, beam, underline. Note that +#: when reloading the config this will be changed only if the cursor +#: shape has not been set by the program running in the terminal. This +#: sets the default cursor shape, applications running in the terminal +#: can override it. In particular, shell integration +#: in kitty sets +#: the cursor shape to beam at shell prompts. You can avoid this by +#: setting shell_integration to no-cursor. + +# cursor_beam_thickness 1.5 + +#: The thickness of the beam cursor (in pts). + +# cursor_underline_thickness 2.0 + +#: The thickness of the underline cursor (in pts). + +# cursor_blink_interval -1 + +#: The interval to blink the cursor (in seconds). Set to zero to +#: disable blinking. Negative values mean use system default. Note +#: that the minimum interval will be limited to repaint_delay. + +# cursor_stop_blinking_after 15.0 + +#: Stop blinking cursor after the specified number of seconds of +#: keyboard inactivity. Set to zero to never stop blinking. + +#: }}} + +#: Scrollback {{{ + +# scrollback_lines 2000 + +#: Number of lines of history to keep in memory for scrolling back. +#: Memory is allocated on demand. Negative numbers are (effectively) +#: infinite scrollback. Note that using very large scrollback is not +#: recommended as it can slow down performance of the terminal and +#: also use large amounts of RAM. Instead, consider using +#: scrollback_pager_history_size. Note that on config reload if this +#: is changed it will only affect newly created windows, not existing +#: ones. + +# scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER + +#: Program with which to view scrollback in a new window. The +#: scrollback buffer is passed as STDIN to this program. If you change +#: it, make sure the program you use can handle ANSI escape sequences +#: for colors and text formatting. INPUT_LINE_NUMBER in the command +#: line above will be replaced by an integer representing which line +#: should be at the top of the screen. Similarly CURSOR_LINE and +#: CURSOR_COLUMN will be replaced by the current cursor position or +#: set to 0 if there is no cursor, for example, when showing the last +#: command output. + +# scrollback_pager_history_size 0 + +#: Separate scrollback history size (in MB), used only for browsing +#: the scrollback buffer with pager. This separate buffer is not +#: available for interactive scrolling but will be piped to the pager +#: program when viewing scrollback buffer in a separate window. The +#: current implementation stores the data in UTF-8, so approximately +#: 10000 lines per megabyte at 100 chars per line, for pure ASCII, +#: unformatted text. A value of zero or less disables this feature. +#: The maximum allowed size is 4GB. Note that on config reload if this +#: is changed it will only affect newly created windows, not existing +#: ones. + +# scrollback_fill_enlarged_window no + +#: Fill new space with lines from the scrollback buffer after +#: enlarging a window. + +# wheel_scroll_multiplier 5.0 + +#: Multiplier for the number of lines scrolled by the mouse wheel. +#: Note that this is only used for low precision scrolling devices, +#: not for high precision scrolling devices on platforms such as macOS +#: and Wayland. Use negative numbers to change scroll direction. See +#: also wheel_scroll_min_lines. + +# wheel_scroll_min_lines 1 + +#: The minimum number of lines scrolled by the mouse wheel. The scroll +#: multiplier wheel_scroll_multiplier only takes effect after it +#: reaches this number. Note that this is only used for low precision +#: scrolling devices like wheel mice that scroll by very small amounts +#: when using the wheel. With a negative number, the minimum number of +#: lines will always be added. + +# touch_scroll_multiplier 1.0 + +#: Multiplier for the number of lines scrolled by a touchpad. Note +#: that this is only used for high precision scrolling devices on +#: platforms such as macOS and Wayland. Use negative numbers to change +#: scroll direction. + +#: }}} + +#: Mouse {{{ + +# mouse_hide_wait 3.0 + +#: Hide mouse cursor after the specified number of seconds of the +#: mouse not being used. Set to zero to disable mouse cursor hiding. +#: Set to a negative value to hide the mouse cursor immediately when +#: typing text. Disabled by default on macOS as getting it to work +#: robustly with the ever-changing sea of bugs that is Cocoa is too +#: much effort. + +# url_color #0087bd +# url_style curly + +#: The color and style for highlighting URLs on mouse-over. url_style +#: can be one of: none, straight, double, curly, dotted, dashed. + +# open_url_with default + +#: The program to open clicked URLs. The special value default with +#: first look for any URL handlers defined via the open_actions +#: facility and if non +#: are found, it will use the Operating System's default URL handler +#: (open on macOS and xdg-open on Linux). + +# url_prefixes file ftp ftps gemini git gopher http https irc ircs kitty mailto news sftp ssh + +#: The set of URL prefixes to look for when detecting a URL under the +#: mouse cursor. + +# detect_urls yes + +#: Detect URLs under the mouse. Detected URLs are highlighted with an +#: underline and the mouse cursor becomes a hand over them. Even if +#: this option is disabled, URLs are still clickable. See also the +#: underline_hyperlinks option to control how hyperlinks (as opposed +#: to plain text URLs) are displayed. + +# url_excluded_characters + +#: Additional characters to be disallowed from URLs, when detecting +#: URLs under the mouse cursor. By default, all characters that are +#: legal in URLs are allowed. Additionally, newlines are allowed (but +#: stripped). This is to accommodate programs such as mutt that add +#: hard line breaks even for continued lines. \n can be added to this +#: option to disable this behavior. Special characters can be +#: specified using backslash escapes, to specify a backslash use a +#: double backslash. + +# show_hyperlink_targets no + +#: When the mouse hovers over a terminal hyperlink, show the actual +#: URL that will be activated when the hyperlink is clicked. + +# underline_hyperlinks hover + +#: Control how hyperlinks are underlined. They can either be +#: underlined on mouse hover, always (i.e. permanently underlined) or +#: never which means that kitty will not apply any underline styling +#: to hyperlinks. Uses the url_style and url_color settings for the +#: underline style. Note that reloading the config and changing this +#: value to/from always will only affect text subsequently received by +#: kitty. + +# copy_on_select no + +#: Copy to clipboard or a private buffer on select. With this set to +#: clipboard, selecting text with the mouse will cause the text to be +#: copied to clipboard. Useful on platforms such as macOS that do not +#: have the concept of primary selection. You can instead specify a +#: name such as a1 to copy to a private kitty buffer. Map a shortcut +#: with the paste_from_buffer action to paste from this private +#: buffer. For example:: + +#: copy_on_select a1 +#: map shift+cmd+v paste_from_buffer a1 + +#: Note that copying to the clipboard is a security risk, as all +#: programs, including websites open in your browser can read the +#: contents of the system clipboard. + +# paste_actions quote-urls-at-prompt,confirm + +#: A comma separated list of actions to take when pasting text into +#: the terminal. The supported paste actions are: + +#: quote-urls-at-prompt: +#: If the text being pasted is a URL and the cursor is at a shell prompt, +#: automatically quote the URL (needs shell_integration). +#: replace-dangerous-control-codes +#: Replace dangerous control codes from pasted text, without confirmation. +#: replace-newline +#: Replace the newline character from pasted text, without confirmation. +#: confirm: +#: Confirm the paste if the text to be pasted contains any terminal control codes +#: as this can be dangerous, leading to code execution if the shell/program running +#: in the terminal does not properly handle these. +#: confirm-if-large +#: Confirm the paste if it is very large (larger than 16KB) as pasting +#: large amounts of text into shells can be very slow. +#: filter: +#: Run the filter_paste() function from the file paste-actions.py in +#: the kitty config directory on the pasted text. The text returned by the +#: function will be actually pasted. + +# strip_trailing_spaces never + +#: Remove spaces at the end of lines when copying to clipboard. A +#: value of smart will do it when using normal selections, but not +#: rectangle selections. A value of always will always do it. + +# select_by_word_characters @-./_~?&=%+# + +#: Characters considered part of a word when double clicking. In +#: addition to these characters any character that is marked as an +#: alphanumeric character in the Unicode database will be matched. + +# select_by_word_characters_forward + +#: Characters considered part of a word when extending the selection +#: forward on double clicking. In addition to these characters any +#: character that is marked as an alphanumeric character in the +#: Unicode database will be matched. + +#: If empty (default) select_by_word_characters will be used for both +#: directions. + +# click_interval -1.0 + +#: The interval between successive clicks to detect double/triple +#: clicks (in seconds). Negative numbers will use the system default +#: instead, if available, or fallback to 0.5. + +# focus_follows_mouse no + +#: Set the active window to the window under the mouse when moving the +#: mouse around. On macOS, this will also cause the OS Window under +#: the mouse to be focused automatically when the mouse enters it. + +# pointer_shape_when_grabbed arrow + +#: The shape of the mouse pointer when the program running in the +#: terminal grabs the mouse. + +# default_pointer_shape beam + +#: The default shape of the mouse pointer. + +# pointer_shape_when_dragging beam + +#: The default shape of the mouse pointer when dragging across text. + +#: Mouse actions {{{ + +#: Mouse buttons can be mapped to perform arbitrary actions. The +#: syntax is: + +#: .. code-block:: none + +#: mouse_map button-name event-type modes action + +#: Where button-name is one of left, middle, right, b1 ... b8 with +#: added keyboard modifiers. For example: ctrl+shift+left refers to +#: holding the Ctrl+Shift keys while clicking with the left mouse +#: button. The value b1 ... b8 can be used to refer to up to eight +#: buttons on a mouse. + +#: event-type is one of press, release, doublepress, triplepress, +#: click, doubleclick. modes indicates whether the action is performed +#: when the mouse is grabbed by the program running in the terminal, +#: or not. The values are grabbed or ungrabbed or a comma separated +#: combination of them. grabbed refers to when the program running in +#: the terminal has requested mouse events. Note that the click and +#: double click events have a delay of click_interval to disambiguate +#: from double and triple presses. + +#: You can run kitty with the kitty --debug-input command line option +#: to see mouse events. See the builtin actions below to get a sense +#: of what is possible. + +#: If you want to unmap an action, map it to no_op. For example, to +#: disable opening of URLs with a plain click:: + +#: mouse_map left click ungrabbed no_op + +#: See all the mappable actions including mouse actions here +#: . + +#: .. note:: +#: Once a selection is started, releasing the button that started it will +#: automatically end it and no release event will be dispatched. + +# clear_all_mouse_actions no + +#: Remove all mouse action definitions up to this point. Useful, for +#: instance, to remove the default mouse actions. + +#: Click the link under the mouse or move the cursor + +# mouse_map left click ungrabbed mouse_handle_click selection link prompt + +#:: First check for a selection and if one exists do nothing. Then +#:: check for a link under the mouse cursor and if one exists, click +#:: it. Finally check if the click happened at the current shell +#:: prompt and if so, move the cursor to the click location. Note +#:: that this requires shell integration +#:: to work. + +#: Click the link under the mouse or move the cursor even when grabbed + +# mouse_map shift+left click grabbed,ungrabbed mouse_handle_click selection link prompt + +#:: Same as above, except that the action is performed even when the +#:: mouse is grabbed by the program running in the terminal. + +#: Click the link under the mouse cursor + +# mouse_map ctrl+shift+left release grabbed,ungrabbed mouse_handle_click link + +#:: Variant with Ctrl+Shift is present because the simple click based +#:: version has an unavoidable delay of click_interval, to +#:: disambiguate clicks from double clicks. + +#: Discard press event for link click + +# mouse_map ctrl+shift+left press grabbed discard_event + +#:: Prevent this press event from being sent to the program that has +#:: grabbed the mouse, as the corresponding release event is used to +#:: open a URL. + +#: Paste from the primary selection + +# mouse_map middle release ungrabbed paste_from_selection + +#: Start selecting text + +# mouse_map left press ungrabbed mouse_selection normal + +#: Start selecting text in a rectangle + +# mouse_map ctrl+alt+left press ungrabbed mouse_selection rectangle + +#: Select a word + +# mouse_map left doublepress ungrabbed mouse_selection word + +#: Select a line + +# mouse_map left triplepress ungrabbed mouse_selection line + +#: Select line from point + +# mouse_map ctrl+alt+left triplepress ungrabbed mouse_selection line_from_point + +#:: Select from the clicked point to the end of the line. If you +#:: would like to select the word at the point and then extend to the +#:: rest of the line, change line_from_point to +#:: word_and_line_from_point. + +#: Extend the current selection + +# mouse_map right press ungrabbed mouse_selection extend + +#:: If you want only the end of the selection to be moved instead of +#:: the nearest boundary, use move-end instead of extend. + +#: Paste from the primary selection even when grabbed + +# mouse_map shift+middle release ungrabbed,grabbed paste_selection +# mouse_map shift+middle press grabbed discard_event + +#: Start selecting text even when grabbed + +# mouse_map shift+left press ungrabbed,grabbed mouse_selection normal + +#: Start selecting text in a rectangle even when grabbed + +# mouse_map ctrl+shift+alt+left press ungrabbed,grabbed mouse_selection rectangle + +#: Select a word even when grabbed + +# mouse_map shift+left doublepress ungrabbed,grabbed mouse_selection word + +#: Select a line even when grabbed + +# mouse_map shift+left triplepress ungrabbed,grabbed mouse_selection line + +#: Select line from point even when grabbed + +# mouse_map ctrl+shift+alt+left triplepress ungrabbed,grabbed mouse_selection line_from_point + +#:: Select from the clicked point to the end of the line even when +#:: grabbed. If you would like to select the word at the point and +#:: then extend to the rest of the line, change line_from_point to +#:: word_and_line_from_point. + +#: Extend the current selection even when grabbed + +# mouse_map shift+right press ungrabbed,grabbed mouse_selection extend + +#: Show clicked command output in pager + +# mouse_map ctrl+shift+right press ungrabbed mouse_show_command_output + +#:: Requires shell integration +#:: to work. + +#: }}} + +#: }}} + +#: Performance tuning {{{ + +# repaint_delay 10 + +#: Delay between screen updates (in milliseconds). Decreasing it, +#: increases frames-per-second (FPS) at the cost of more CPU usage. +#: The default value yields ~100 FPS which is more than sufficient for +#: most uses. Note that to actually achieve 100 FPS, you have to +#: either set sync_to_monitor to no or use a monitor with a high +#: refresh rate. Also, to minimize latency when there is pending input +#: to be processed, this option is ignored. + +# input_delay 3 + +#: Delay before input from the program running in the terminal is +#: processed (in milliseconds). Note that decreasing it will increase +#: responsiveness, but also increase CPU usage and might cause flicker +#: in full screen programs that redraw the entire screen on each loop, +#: because kitty is so fast that partial screen updates will be drawn. + +# sync_to_monitor yes + +#: Sync screen updates to the refresh rate of the monitor. This +#: prevents screen tearing +#: when scrolling. +#: However, it limits the rendering speed to the refresh rate of your +#: monitor. With a very high speed mouse/high keyboard repeat rate, +#: you may notice some slight input latency. If so, set this to no. + +#: }}} + +#: Terminal bell {{{ + +# enable_audio_bell yes + +#: The audio bell. Useful to disable it in environments that require +#: silence. + +# visual_bell_duration 0.0 + +#: The visual bell duration (in seconds). Flash the screen when a bell +#: occurs for the specified number of seconds. Set to zero to disable. + +# visual_bell_color none + +#: The color used by visual bell. Set to none will fall back to +#: selection background color. If you feel that the visual bell is too +#: bright, you can set it to a darker color. + +# window_alert_on_bell yes + +#: Request window attention on bell. Makes the dock icon bounce on +#: macOS or the taskbar flash on linux. + +bell_on_tab " " + +#: Some text or a Unicode symbol to show on the tab if a window in the +#: tab that does not have focus has a bell. If you want to use leading +#: or trailing spaces, surround the text with quotes. See +#: tab_title_template for how this is rendered. + +#: For backwards compatibility, values of yes, y and true are +#: converted to the default bell symbol and no, n, false and none are +#: converted to the empty string. + +# command_on_bell none + +#: Program to run when a bell occurs. The environment variable +#: KITTY_CHILD_CMDLINE can be used to get the program running in the +#: window in which the bell occurred. + +# bell_path none + +#: Path to a sound file to play as the bell sound. If set to none, the +#: system default bell sound is used. Must be in a format supported by +#: the operating systems sound API, such as WAV or OGA on Linux +#: (libcanberra) or AIFF, MP3 or WAV on macOS (NSSound) + +# linux_bell_theme __custom + +#: The XDG Sound Theme kitty will use to play the bell sound. Defaults +#: to the custom theme name used by GNOME and Budgie, falling back to +#: the default freedesktop theme if it does not exist. This option may +#: be removed if Linux ever provides desktop-agnostic support for +#: setting system sound themes. + +#: }}} + +#: Window layout {{{ + +remember_window_size yes +# initial_window_width 640 +# initial_window_height 400 + +#: If enabled, the OS Window size will be remembered so that new +#: instances of kitty will have the same size as the previous +#: instance. If disabled, the OS Window will initially have size +#: configured by initial_window_width/height, in pixels. You can use a +#: suffix of "c" on the width/height values to have them interpreted +#: as number of cells instead of pixels. + +enabled_layouts fat:bias=70,tall:bias=55,stack + +#: The enabled window layouts. A comma separated list of layout names. +#: The special value all means all layouts. The first listed layout +#: will be used as the startup layout. Default configuration is all +#: layouts in alphabetical order. For a list of available layouts, see +#: the layouts . + +# window_resize_step_cells 2 +# window_resize_step_lines 2 + +#: The step size (in units of cell width/cell height) to use when +#: resizing kitty windows in a layout with the shortcut +#: start_resizing_window. The cells value is used for horizontal +#: resizing, and the lines value is used for vertical resizing. + +# window_border_width 0.5pt + +#: The width of window borders. Can be either in pixels (px) or pts +#: (pt). Values in pts will be rounded to the nearest number of pixels +#: based on screen resolution. If not specified, the unit is assumed +#: to be pts. Note that borders are displayed only when more than one +#: window is visible. They are meant to separate multiple windows. + +# draw_minimal_borders yes + +#: Draw only the minimum borders needed. This means that only the +#: borders that separate the window from a neighbor are drawn. Note +#: that setting a non-zero window_margin_width overrides this and +#: causes all borders to be drawn. + +# window_margin_width 0 + +#: The window margin (in pts) (blank area outside the border). A +#: single value sets all four sides. Two values set the vertical and +#: horizontal sides. Three values set top, horizontal and bottom. Four +#: values set top, right, bottom and left. + +# single_window_margin_width -1 + +#: The window margin to use when only a single window is visible (in +#: pts). Negative values will cause the value of window_margin_width +#: to be used instead. A single value sets all four sides. Two values +#: set the vertical and horizontal sides. Three values set top, +#: horizontal and bottom. Four values set top, right, bottom and left. + +# window_padding_width 0 + +#: The window padding (in pts) (blank area between the text and the +#: window border). A single value sets all four sides. Two values set +#: the vertical and horizontal sides. Three values set top, horizontal +#: and bottom. Four values set top, right, bottom and left. + +# single_window_padding_width -1 + +#: The window padding to use when only a single window is visible (in +#: pts). Negative values will cause the value of window_padding_width +#: to be used instead. A single value sets all four sides. Two values +#: set the vertical and horizontal sides. Three values set top, +#: horizontal and bottom. Four values set top, right, bottom and left. + +# placement_strategy center + +#: When the window size is not an exact multiple of the cell size, the +#: cell area of the terminal window will have some extra padding on +#: the sides. You can control how that padding is distributed with +#: this option. Using a value of center means the cell area will be +#: placed centrally. A value of top-left means the padding will be +#: only at the bottom and right edges. + +# active_border_color #00ff00 + +#: The color for the border of the active window. Set this to none to +#: not draw borders around the active window. + +# inactive_border_color #cccccc + +#: The color for the border of inactive windows. + +# bell_border_color #ff5a00 + +#: The color for the border of inactive windows in which a bell has +#: occurred. + +# inactive_text_alpha 1.0 + +#: Fade the text in inactive windows by the specified amount (a number +#: between zero and one, with zero being fully faded). + +hide_window_decorations yes + +#: Hide the window decorations (title-bar and window borders) with +#: yes. On macOS, titlebar-only and titlebar-and-corners can be used +#: to only hide the titlebar and the rounded corners. Whether this +#: works and exactly what effect it has depends on the window +#: manager/operating system. Note that the effects of changing this +#: option when reloading config are undefined. When using titlebar- +#: only, it is useful to also set window_margin_width and +#: placement_strategy to prevent the rounded corners from clipping +#: text. Or use titlebar-and-corners. + +# window_logo_path none + +#: Path to a logo image. Must be in PNG format. Relative paths are +#: interpreted relative to the kitty config directory. The logo is +#: displayed in a corner of every kitty window. The position is +#: controlled by window_logo_position. Individual windows can be +#: configured to have different logos either using the launch action +#: or the remote control facility. + +# window_logo_position bottom-right + +#: Where to position the window logo in the window. The value can be +#: one of: top-left, top, top-right, left, center, right, bottom-left, +#: bottom, bottom-right. + +# window_logo_alpha 0.5 + +#: The amount the logo should be faded into the background. With zero +#: being fully faded and one being fully opaque. + +# resize_debounce_time 0.1 0.5 + +#: The time to wait before redrawing the screen during a live resize +#: of the OS window, when no new resize events have been received, +#: i.e. when resizing is either paused or finished. On platforms such +#: as macOS, where the operating system sends events corresponding to +#: the start and end of a live resize, the second number is used for +#: redraw-after-pause since kitty can distinguish between a pause and +#: end of resizing. On such systems the first number is ignored and +#: redraw is immediate after end of resize. On other systems the +#: first number is used so that kitty is "ready" quickly after the end +#: of resizing, while not also continuously redrawing, to save energy. + +# resize_in_steps no + +#: Resize the OS window in steps as large as the cells, instead of +#: with the usual pixel accuracy. Combined with initial_window_width +#: and initial_window_height in number of cells, this option can be +#: used to keep the margins as small as possible when resizing the OS +#: window. Note that this does not currently work on Wayland. + +# visual_window_select_characters 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ + +#: The list of characters for visual window selection. For example, +#: for selecting a window to focus on with focus_visible_window. The +#: value should be a series of unique numbers or alphabets, case +#: insensitive, from the set 0-9A-Z\-=[];',./\\`. Specify your +#: preference as a string of characters. + +confirm_os_window_close 0 + +#: Ask for confirmation when closing an OS window or a tab with at +#: least this number of kitty windows in it by window manager (e.g. +#: clicking the window close button or pressing the operating system +#: shortcut to close windows) or by the close_tab action. A value of +#: zero disables confirmation. This confirmation also applies to +#: requests to quit the entire application (all OS windows, via the +#: quit action). Negative values are converted to positive ones, +#: however, with shell_integration enabled, using negative values +#: means windows sitting at a shell prompt are not counted, only +#: windows where some command is currently running. Note that if you +#: want confirmation when closing individual windows, you can map the +#: close_window_with_confirmation action. + +#: }}} + +#: Tab bar {{{ + +tab_bar_edge top + +#: The edge to show the tab bar on, top or bottom. + +# tab_bar_margin_width 0.0 + +#: The margin to the left and right of the tab bar (in pts). + +# tab_bar_margin_height 0.0 0.0 + +#: The margin above and below the tab bar (in pts). The first number +#: is the margin between the edge of the OS Window and the tab bar. +#: The second number is the margin between the tab bar and the +#: contents of the current tab. + +tab_bar_style separator + +#: The tab bar style, can be one of: + +#: fade +#: Each tab's edges fade into the background color. (See also tab_fade) +#: slant +#: Tabs look like the tabs in a physical file. +#: separator +#: Tabs are separated by a configurable separator. (See also +#: tab_separator) +#: powerline +#: Tabs are shown as a continuous line with "fancy" separators. +#: (See also tab_powerline_style) +#: custom +#: A user-supplied Python function called draw_tab is loaded from the file +#: tab_bar.py in the kitty config directory. For examples of how to +#: write such a function, see the functions named draw_tab_with_* in +#: kitty's source code: kitty/tab_bar.py. See also +#: this discussion +#: for examples from kitty users. +#: hidden +#: The tab bar is hidden. If you use this, you might want to create +#: a mapping for the select_tab action which presents you with a list of +#: tabs and allows for easy switching to a tab. + +tab_bar_align center + +#: The horizontal alignment of the tab bar, can be one of: left, +#: center, right. + +tab_bar_min_tabs 1 + +#: The minimum number of tabs that must exist before the tab bar is +#: shown. + +# tab_switch_strategy previous + +#: The algorithm to use when switching to a tab when the current tab +#: is closed. The default of previous will switch to the last used +#: tab. A value of left will switch to the tab to the left of the +#: closed tab. A value of right will switch to the tab to the right of +#: the closed tab. A value of last will switch to the right-most tab. + +# tab_fade 0.25 0.5 0.75 1 + +#: Control how each tab fades into the background when using fade for +#: the tab_bar_style. Each number is an alpha (between zero and one) +#: that controls how much the corresponding cell fades into the +#: background, with zero being no fade and one being full fade. You +#: can change the number of cells used by adding/removing entries to +#: this list. + +tab_separator " │ " + +#: The separator between tabs in the tab bar when using separator as +#: the tab_bar_style. + +# tab_powerline_style angled + +#: The powerline separator style between tabs in the tab bar when +#: using powerline as the tab_bar_style, can be one of: angled, +#: slanted, round. + +tab_activity_symbol " " + +#: Some text or a Unicode symbol to show on the tab if a window in the +#: tab that does not have focus has some activity. If you want to use +#: leading or trailing spaces, surround the text with quotes. See +#: tab_title_template for how this is rendered. + +# tab_title_max_length 0 + +#: The maximum number of cells that can be used to render the text in +#: a tab. A value of zero means that no limit is applied. + +tab_title_template "{fmt.fg.orange}{bell_symbol}{activity_symbol}{fmt.fg.tab}{'' if layout_name == 'stack' else '' if layout_name == 'fat' else '' if layout_name == 'tall' else ' '} {index}:{title}" + +#: A template to render the tab title. The default just renders the +#: title with optional symbols for bell and activity. If you wish to +#: include the tab-index as well, use something like: {index}:{title}. +#: Useful if you have shortcuts mapped for goto_tab N. If you prefer +#: to see the index as a superscript, use {sup.index}. All data +#: available is: + +#: title +#: The current tab title. +#: index +#: The tab index usable with goto_tab N goto_tab shortcuts. +#: layout_name +#: The current layout name. +#: num_windows +#: The number of windows in the tab. +#: num_window_groups +#: The number of window groups (a window group is a window and all of its overlay windows) in the tab. +#: tab.active_wd +#: The working directory of the currently active window in the tab +#: (expensive, requires syscall). Use active_oldest_wd to get +#: the directory of the oldest foreground process rather than the newest. +#: tab.active_exe +#: The name of the executable running in the foreground of the currently +#: active window in the tab (expensive, requires syscall). Use +#: active_oldest_exe for the oldest foreground process. +#: max_title_length +#: The maximum title length available. + +#: Note that formatting is done by Python's string formatting +#: machinery, so you can use, for instance, {layout_name[:2].upper()} +#: to show only the first two letters of the layout name, upper-cased. +#: If you want to style the text, you can use styling directives, for +#: example: +#: `{fmt.fg.red}red{fmt.fg.tab}normal{fmt.bg._00FF00}greenbg{fmt.bg.tab}`. +#: Similarly, for bold and italic: +#: `{fmt.bold}bold{fmt.nobold}normal{fmt.italic}italic{fmt.noitalic}`. +#: Note that for backward compatibility, if {bell_symbol} or +#: {activity_symbol} are not present in the template, they are +#: prepended to it. + +# active_tab_title_template none + +#: Template to use for active tabs. If not specified falls back to +#: tab_title_template. + +# active_tab_foreground #000 +# active_tab_background #eee +# active_tab_font_style bold-italic +# inactive_tab_foreground #444 +# inactive_tab_background #999 +# inactive_tab_font_style normal + +#: Tab bar colors and styles. + +# tab_bar_background none + +#: Background color for the tab bar. Defaults to using the terminal +#: background color. + +# tab_bar_margin_color none + +#: Color for the tab bar margin area. Defaults to using the terminal +#: background color for margins above and below the tab bar. For side +#: margins the default color is chosen to match the background color +#: of the neighboring tab. + +#: }}} + +#: Color scheme {{{ + +# foreground #dddddd +# background #000000 + +#: The foreground and background colors. + +# background_opacity 0.8 + +#: The opacity of the background. A number between zero and one, where +#: one is opaque and zero is fully transparent. This will only work if +#: supported by the OS (for instance, when using a compositor under +#: X11). Note that it only sets the background color's opacity in +#: cells that have the same background color as the default terminal +#: background, so that things like the status bar in vim, powerline +#: prompts, etc. still look good. But it means that if you use a color +#: theme with a background color in your editor, it will not be +#: rendered as transparent. Instead you should change the default +#: background color in your kitty config and not use a background +#: color in the editor color scheme. Or use the escape codes to set +#: the terminals default colors in a shell script to launch your +#: editor. Be aware that using a value less than 1.0 is a (possibly +#: significant) performance hit. When using a low value for this +#: setting, it is desirable that you set the background color to a +#: color the matches the general color of the desktop background, for +#: best text rendering. If you want to dynamically change +#: transparency of windows, set dynamic_background_opacity to yes +#: (this is off by default as it has a performance cost). Changing +#: this option when reloading the config will only work if +#: dynamic_background_opacity was enabled in the original config. + +# background_blur 0 + +#: Set to a positive value to enable background blur (blurring of the +#: visuals behind a transparent window) on platforms that support it. +#: Only takes effect when background_opacity is less than one. On +#: macOS, this will also control the blur radius (amount of blurring). +#: Setting it to too high a value will cause severe performance issues +#: and/or rendering artifacts. Usually, values up to 64 work well. +#: Note that this might cause performance issues, depending on how the +#: platform implements it, so use with care. Currently supported on +#: macOS and KDE under X11. + +# background_image none + +#: Path to a background image. Must be in PNG format. + +# background_image_layout tiled + +#: Whether to tile, scale or clamp the background image. The value can +#: be one of tiled, mirror-tiled, scaled, clamped, centered or +#: cscaled. The scaled and cscaled values scale the image to the +#: window size, with cscaled preserving the image aspect ratio. + +# background_image_linear no + +#: When background image is scaled, whether linear interpolation +#: should be used. + +# dynamic_background_opacity no + +#: Allow changing of the background_opacity dynamically, using either +#: keyboard shortcuts (increase_background_opacity and +#: decrease_background_opacity) or the remote control facility. +#: Changing this option by reloading the config is not supported. + +# background_tint 0.0 + +#: How much to tint the background image by the background color. This +#: option makes it easier to read the text. Tinting is done using the +#: current background color for each window. This option applies only +#: if background_opacity is set and transparent windows are supported +#: or background_image is set. + +# background_tint_gaps 1.0 + +#: How much to tint the background image at the window gaps by the +#: background color, after applying background_tint. Since this is +#: multiplicative with background_tint, it can be used to lighten the +#: tint over the window gaps for a *separated* look. + +# dim_opacity 0.4 + +#: How much to dim text that has the DIM/FAINT attribute set. One +#: means no dimming and zero means fully dimmed (i.e. invisible). + +# selection_foreground #000000 +# selection_background #fffacd + +#: The foreground and background colors for text selected with the +#: mouse. Setting both of these to none will cause a "reverse video" +#: effect for selections, where the selection will be the cell text +#: color and the text will become the cell background color. Setting +#: only selection_foreground to none will cause the foreground color +#: to be used unchanged. Note that these colors can be overridden by +#: the program running in the terminal. + +#: The color table {{{ + +#: The 256 terminal colors. There are 8 basic colors, each color has a +#: dull and bright version, for the first 16 colors. You can set the +#: remaining 240 colors as color16 to color255. + +# color0 #000000 +# color8 #767676 + +#: black + +# color1 #cc0403 +# color9 #f2201f + +#: red + +# color2 #19cb00 +# color10 #23fd00 + +#: green + +# color3 #cecb00 +# color11 #fffd00 + +#: yellow + +# color4 #0d73cc +# color12 #1a8fff + +#: blue + +# color5 #cb1ed1 +# color13 #fd28ff + +#: magenta + +# color6 #0dcdcd +# color14 #14ffff + +#: cyan + +# color7 #dddddd +# color15 #ffffff + +#: white + +# mark1_foreground black + +#: Color for marks of type 1 + +# mark1_background #98d3cb + +#: Color for marks of type 1 (light steel blue) + +# mark2_foreground black + +#: Color for marks of type 2 + +# mark2_background #f2dcd3 + +#: Color for marks of type 1 (beige) + +# mark3_foreground black + +#: Color for marks of type 3 + +# mark3_background #f274bc + +#: Color for marks of type 3 (violet) + +#: }}} + +#: }}} + +#: Advanced {{{ + +# shell . + +#: The shell program to execute. The default value of . means to use +#: whatever shell is set as the default shell for the current user. +#: Note that on macOS if you change this, you might need to add +#: --login and --interactive to ensure that the shell starts in +#: interactive mode and reads its startup rc files. Environment +#: variables are expanded in this setting. + +# editor . + +#: The terminal based text editor (such as vim or nano) to use when +#: editing the kitty config file or similar tasks. + +#: The default value of . means to use the environment variables +#: VISUAL and EDITOR in that order. If these variables aren't set, +#: kitty will run your shell ($SHELL -l -i -c env) to see if your +#: shell startup rc files set VISUAL or EDITOR. If that doesn't work, +#: kitty will cycle through various known editors (vim, emacs, etc.) +#: and take the first one that exists on your system. + +# close_on_child_death no + +#: Close the window when the child process (shell) exits. With the +#: default value no, the terminal will remain open when the child +#: exits as long as there are still processes outputting to the +#: terminal (for example disowned or backgrounded processes). When +#: enabled with yes, the window will close as soon as the child +#: process exits. Note that setting it to yes means that any +#: background processes still using the terminal can fail silently +#: because their stdout/stderr/stdin no longer work. + +# remote_control_password + +#: Allow other programs to control kitty using passwords. This option +#: can be specified multiple times to add multiple passwords. If no +#: passwords are present kitty will ask the user for permission if a +#: program tries to use remote control with a password. A password can +#: also *optionally* be associated with a set of allowed remote +#: control actions. For example:: + +#: remote_control_password "my passphrase" get-colors set-colors focus-window focus-tab + +#: Only the specified actions will be allowed when using this +#: password. Glob patterns can be used too, for example:: + +#: remote_control_password "my passphrase" set-tab-* resize-* + +#: To get a list of available actions, run:: + +#: kitten @ --help + +#: A set of actions to be allowed when no password is sent can be +#: specified by using an empty password. For example:: + +#: remote_control_password "" *-colors + +#: Finally, the path to a python module can be specified that provides +#: a function is_cmd_allowed that is used to check every remote +#: control command. For example:: + +#: remote_control_password "my passphrase" my_rc_command_checker.py + +#: Relative paths are resolved from the kitty configuration directory. +#: See rc_custom_auth for details. + +allow_remote_control yes + +#: Allow other programs to control kitty. If you turn this on, other +#: programs can control all aspects of kitty, including sending text +#: to kitty windows, opening new windows, closing windows, reading the +#: content of windows, etc. Note that this even works over SSH +#: connections. The default setting of no prevents any form of remote +#: control. The meaning of the various values are: + +#: password +#: Remote control requests received over both the TTY device and the socket +#: are confirmed based on passwords, see remote_control_password. + +#: socket-only +#: Remote control requests received over a socket are accepted +#: unconditionally. Requests received over the TTY are denied. +#: See listen_on. + +#: socket +#: Remote control requests received over a socket are accepted +#: unconditionally. Requests received over the TTY are confirmed based on +#: password. + +#: no +#: Remote control is completely disabled. + +#: yes +#: Remote control requests are always accepted. + +listen_on unix:@mykitty + +#: Listen to the specified socket for remote control connections. Note +#: that this will apply to all kitty instances. It can be overridden +#: by the kitty --listen-on command line option. For UNIX sockets, +#: such as unix:${TEMP}/mykitty or unix:@mykitty (on Linux). +#: Environment variables are expanded and relative paths are resolved +#: with respect to the temporary directory. If {kitty_pid} is present, +#: then it is replaced by the PID of the kitty process, otherwise the +#: PID of the kitty process is appended to the value, with a hyphen. +#: For TCP sockets such as tcp:localhost:0 a random port is always +#: used even if a non-zero port number is specified. See the help for +#: kitty --listen-on for more details. Note that this will be ignored +#: unless allow_remote_control is set to either: yes, socket or +#: socket-only. Changing this option by reloading the config is not +#: supported. + +# env + +#: Specify the environment variables to be set in all child processes. +#: Using the name with an equal sign (e.g. env VAR=) will set it to +#: the empty string. Specifying only the name (e.g. env VAR) will +#: remove the variable from the child process' environment. Note that +#: environment variables are expanded recursively, for example:: + +#: env VAR1=a +#: env VAR2=${HOME}/${VAR1}/b + +#: The value of VAR2 will be /a/b. + +# watcher + +#: Path to python file which will be loaded for watchers +#: . Can be +#: specified more than once to load multiple watchers. The watchers +#: will be added to every kitty window. Relative paths are resolved +#: relative to the kitty config directory. Note that reloading the +#: config will only affect windows created after the reload. + +# exe_search_path + +#: Control where kitty finds the programs to run. The default search +#: order is: First search the system wide PATH, then ~/.local/bin and +#: ~/bin. If still not found, the PATH defined in the login shell +#: after sourcing all its startup files is tried. Finally, if present, +#: the PATH specified by the env option is tried. + +#: This option allows you to prepend, append, or remove paths from +#: this search order. It can be specified multiple times for multiple +#: paths. A simple path will be prepended to the search order. A path +#: that starts with the + sign will be append to the search order, +#: after ~/bin above. A path that starts with the - sign will be +#: removed from the entire search order. For example:: + +#: exe_search_path /some/prepended/path +#: exe_search_path +/some/appended/path +#: exe_search_path -/some/excluded/path + +# update_check_interval 24 + +#: The interval to periodically check if an update to kitty is +#: available (in hours). If an update is found, a system notification +#: is displayed informing you of the available update. The default is +#: to check every 24 hours, set to zero to disable. Update checking is +#: only done by the official binary builds. Distro packages or source +#: builds do not do update checking. Changing this option by reloading +#: the config is not supported. + +# startup_session none + +#: Path to a session file to use for all kitty instances. Can be +#: overridden by using the kitty --session =none command line option +#: for individual instances. See sessions +#: in the kitty +#: documentation for details. Note that relative paths are interpreted +#: with respect to the kitty config directory. Environment variables +#: in the path are expanded. Changing this option by reloading the +#: config is not supported. + +# clipboard_control write-clipboard write-primary read-clipboard-ask read-primary-ask + +#: Allow programs running in kitty to read and write from the +#: clipboard. You can control exactly which actions are allowed. The +#: possible actions are: write-clipboard, read-clipboard, write- +#: primary, read-primary, read-clipboard-ask, read-primary-ask. The +#: default is to allow writing to the clipboard and primary selection +#: and to ask for permission when a program tries to read from the +#: clipboard. Note that disabling the read confirmation is a security +#: risk as it means that any program, even the ones running on a +#: remote server via SSH can read your clipboard. See also +#: clipboard_max_size. + +# clipboard_max_size 512 + +#: The maximum size (in MB) of data from programs running in kitty +#: that will be stored for writing to the system clipboard. A value of +#: zero means no size limit is applied. See also clipboard_control. + +# file_transfer_confirmation_bypass + +#: The password that can be supplied to the file transfer kitten +#: to skip the +#: transfer confirmation prompt. This should only be used when +#: initiating transfers from trusted computers, over trusted networks +#: or encrypted transports, as it allows any programs running on the +#: remote machine to read/write to the local filesystem, without +#: permission. + +# allow_hyperlinks yes + +#: Process hyperlink escape sequences (OSC 8). If disabled OSC 8 +#: escape sequences are ignored. Otherwise they become clickable +#: links, that you can click with the mouse or by using the hints +#: kitten . The +#: special value of ask means that kitty will ask before opening the +#: link when clicked. + +# shell_integration enabled + +#: Enable shell integration on supported shells. This enables features +#: such as jumping to previous prompts, browsing the output of the +#: previous command in a pager, etc. on supported shells. Set to +#: disabled to turn off shell integration, completely. It is also +#: possible to disable individual features, set to a space separated +#: list of these values: no-rc, no-cursor, no-title, no-cwd, no- +#: prompt-mark, no-complete, no-sudo. See Shell integration +#: for details. + +# allow_cloning ask + +#: Control whether programs running in the terminal can request new +#: windows to be created. The canonical example is clone-in-kitty +#: . +#: By default, kitty will ask for permission for each clone request. +#: Allowing cloning unconditionally gives programs running in the +#: terminal (including over SSH) permission to execute arbitrary code, +#: as the user who is running the terminal, on the computer that the +#: terminal is running on. + +# clone_source_strategies venv,conda,env_var,path + +#: Control what shell code is sourced when running clone-in-kitty in +#: the newly cloned window. The supported strategies are: + +#: venv +#: Source the file $VIRTUAL_ENV/bin/activate. This is used by the +#: Python stdlib venv module and allows cloning venvs automatically. +#: conda +#: Run conda activate $CONDA_DEFAULT_ENV. This supports the virtual +#: environments created by conda. +#: env_var +#: Execute the contents of the environment variable +#: KITTY_CLONE_SOURCE_CODE with eval. +#: path +#: Source the file pointed to by the environment variable +#: KITTY_CLONE_SOURCE_PATH. + +#: This option must be a comma separated list of the above values. +#: Only the first valid match, in the order specified, is sourced. + +# term xterm-kitty + +#: The value of the TERM environment variable to set. Changing this +#: can break many terminal programs, only change it if you know what +#: you are doing, not because you read some advice on "Stack Overflow" +#: to change it. The TERM variable is used by various programs to get +#: information about the capabilities and behavior of the terminal. If +#: you change it, depending on what programs you run, and how +#: different the terminal you are changing it to is, various things +#: from key-presses, to colors, to various advanced features may not +#: work. Changing this option by reloading the config will only affect +#: newly created windows. + +# forward_stdio no + +#: Forward STDOUT and STDERR of the kitty process to child processes +#: as file descriptors 3 and 4. This is useful for debugging as it +#: allows child processes to print to kitty's STDOUT directly. For +#: example, echo hello world >&3 in a shell will print to the parent +#: kitty's STDOUT. When enabled, this also sets the +#: KITTY_STDIO_FORWARDED=3 environment variable so child processes +#: know about the forwarding. + +# menu_map + +#: Specify entries for various menus in kitty. Currently only the +#: global menubar on macOS is supported. For example:: + +#: menu_map global "Actions::Launch something special" launch --hold --type=os-window sh -c "echo hello world" + +#: This will create a menu entry named "Launch something special" in +#: an "Actions" menu in the macOS global menubar. Sub-menus can be +#: created by adding more levels separated by ::. + +#: }}} + +#: OS specific tweaks {{{ +wayland_titlebar_color background + +#: The color of the kitty window's titlebar on Wayland systems with +#: client side window decorations such as GNOME. A value of system +#: means to use the default system color, a value of background means +#: to use the background color of the currently active window and +#: finally you can use an arbitrary color, such as #12af59 or red. + +# macos_titlebar_color system + +#: The color of the kitty window's titlebar on macOS. A value of +#: system means to use the default system color, light or dark can +#: also be used to set it explicitly. A value of background means to +#: use the background color of the currently active window and finally +#: you can use an arbitrary color, such as #12af59 or red. WARNING: +#: This option works by using a hack when arbitrary color (or +#: background) is configured, as there is no proper Cocoa API for it. +#: It sets the background color of the entire window and makes the +#: titlebar transparent. As such it is incompatible with +#: background_opacity. If you want to use both, you are probably +#: better off just hiding the titlebar with hide_window_decorations. + +# macos_option_as_alt no + +#: Use the Option key as an Alt key on macOS. With this set to no, +#: kitty will use the macOS native Option+Key to enter Unicode +#: character behavior. This will break any Alt+Key keyboard shortcuts +#: in your terminal programs, but you can use the macOS Unicode input +#: technique. You can use the values: left, right or both to use only +#: the left, right or both Option keys as Alt, instead. Note that +#: kitty itself always treats Option the same as Alt. This means you +#: cannot use this option to configure different kitty shortcuts for +#: Option+Key vs. Alt+Key. Also, any kitty shortcuts using +#: Option/Alt+Key will take priority, so that any such key presses +#: will not be passed to terminal programs running inside kitty. +#: Changing this option by reloading the config is not supported. + +# macos_hide_from_tasks no + +#: Hide the kitty window from running tasks on macOS (⌘+Tab and the +#: Dock). Changing this option by reloading the config is not +#: supported. + +# macos_quit_when_last_window_closed no + +#: Have kitty quit when all the top-level windows are closed on macOS. +#: By default, kitty will stay running, even with no open windows, as +#: is the expected behavior on macOS. + +# macos_window_resizable yes + +#: Disable this if you want kitty top-level OS windows to not be +#: resizable on macOS. + +# macos_thicken_font 0 + +#: Draw an extra border around the font with the given width, to +#: increase legibility at small font sizes on macOS. For example, a +#: value of 0.75 will result in rendering that looks similar to sub- +#: pixel antialiasing at common font sizes. Note that in modern kitty, +#: this option is obsolete (although still supported). Consider using +#: text_composition_strategy instead. + +# macos_traditional_fullscreen no + +#: Use the macOS traditional full-screen transition, that is faster, +#: but less pretty. + +# macos_show_window_title_in all + +#: Control where the window title is displayed on macOS. A value of +#: window will show the title of the currently active window at the +#: top of the macOS window. A value of menubar will show the title of +#: the currently active window in the macOS global menu bar, making +#: use of otherwise wasted space. A value of all will show the title +#: in both places, and none hides the title. See +#: macos_menubar_title_max_length for how to control the length of the +#: title in the menu bar. + +# macos_menubar_title_max_length 0 + +#: The maximum number of characters from the window title to show in +#: the macOS global menu bar. Values less than one means that there is +#: no maximum limit. + +# macos_custom_beam_cursor no + +#: Use a custom mouse cursor for macOS that is easier to see on both +#: light and dark backgrounds. Nowadays, the default macOS cursor +#: already comes with a white border. WARNING: this might make your +#: mouse cursor invisible on dual GPU machines. Changing this option +#: by reloading the config is not supported. + +# macos_colorspace srgb + +#: The colorspace in which to interpret terminal colors. The default +#: of srgb will cause colors to match those seen in web browsers. The +#: value of default will use whatever the native colorspace of the +#: display is. The value of displayp3 will use Apple's special +#: snowflake display P3 color space, which will result in over +#: saturated (brighter) colors with some color shift. Reloading +#: configuration will change this value only for newly created OS +#: windows. + +# linux_display_server auto + +#: Choose between Wayland and X11 backends. By default, an appropriate +#: backend based on the system state is chosen automatically. Set it +#: to x11 or wayland to force the choice. Changing this option by +#: reloading the config is not supported. + +#: }}} + +#: Keyboard shortcuts {{{ + +#: Keys are identified simply by their lowercase Unicode characters. +#: For example: a for the A key, [ for the left square bracket key, +#: etc. For functional keys, such as Enter or Escape, the names are +#: present at Functional key definitions +#: . +#: For modifier keys, the names are ctrl (control, ⌃), shift (⇧), alt +#: (opt, option, ⌥), super (cmd, command, ⌘). See also: GLFW mods +#: + +#: On Linux you can also use XKB key names to bind keys that are not +#: supported by GLFW. See XKB keys +#: for a list of key names. The name to use is the part +#: after the XKB_KEY_ prefix. Note that you can only use an XKB key +#: name for keys that are not known as GLFW keys. + +#: Finally, you can use raw system key codes to map keys, again only +#: for keys that are not known as GLFW keys. To see the system key +#: code for a key, start kitty with the kitty --debug-input option, +#: kitty will output some debug text for every key event. In that text +#: look for native_code, the value of that becomes the key name in the +#: shortcut. For example: + +#: .. code-block:: none + +#: on_key_input: glfw key: 0x61 native_code: 0x61 action: PRESS mods: none text: 'a' + +#: Here, the key name for the A key is 0x61 and you can use it with:: + +#: map ctrl+0x61 something + +#: to map Ctrl+A to something. + +#: You can use the special action no_op to unmap a keyboard shortcut +#: that is assigned in the default configuration:: + +#: map kitty_mod+space no_op + +#: If you would like kitty to completely ignore a key event, not even +#: sending it to the program running in the terminal, map it to +#: discard_event:: + +#: map kitty_mod+f1 discard_event + +#: You can combine multiple actions to be triggered by a single +#: shortcut with combine action, using the syntax below:: + +#: map key combine action1 action2 action3 ... + +#: For example:: + +#: map kitty_mod+e combine : new_window : next_layout + +#: This will create a new window and switch to the next available +#: layout. + +#: You can use multi-key shortcuts with the syntax shown below:: + +#: map key1>key2>key3 action + +#: For example:: + +#: map ctrl+f>2 set_font_size 20 + +#: The full list of actions that can be mapped to key presses is +#: available here . + +# kitty_mod ctrl+shift + +#: Special modifier key alias for default shortcuts. You can change +#: the value of this option to alter all default shortcuts that use +#: kitty_mod. + +# clear_all_shortcuts no + +#: Remove all shortcut definitions up to this point. Useful, for +#: instance, to remove the default shortcuts. + +# action_alias + +#: E.g. action_alias launch_tab launch --type=tab --cwd=current + +action_alias zoom combine : toggle_layout stack : scroll_prompt_to_bottom + +#: Define action aliases to avoid repeating the same options in +#: multiple mappings. Aliases can be defined for any action and will +#: be expanded recursively. For example, the above alias allows you to +#: create mappings to launch a new tab in the current working +#: directory without duplication:: + +#: map f1 launch_tab vim +#: map f2 launch_tab emacs + +#: Similarly, to alias kitten invocation:: + +#: action_alias hints kitten hints --hints-offset=0 + +# kitten_alias + +#: E.g. kitten_alias hints hints --hints-offset=0 + +#: Like action_alias above, but specifically for kittens. Generally, +#: prefer to use action_alias. This option is a legacy version, +#: present for backwards compatibility. It causes all invocations of +#: the aliased kitten to be substituted. So the example above will +#: cause all invocations of the hints kitten to have the --hints- +#: offset=0 option applied. + +#: Clipboard {{{ + +#: Copy to clipboard + +# map kitty_mod+c copy_to_clipboard +# map cmd+c copy_to_clipboard + +#:: There is also a copy_or_interrupt action that can be optionally +#:: mapped to Ctrl+C. It will copy only if there is a selection and +#:: send an interrupt otherwise. Similarly, +#:: copy_and_clear_or_interrupt will copy and clear the selection or +#:: send an interrupt if there is no selection. + +#: Paste from clipboard + +# map kitty_mod+v paste_from_clipboard +# map cmd+v paste_from_clipboard + +#: Paste from selection + +# map kitty_mod+s paste_from_selection +# map shift+insert paste_from_selection + +#: Pass selection to program + +# map kitty_mod+o pass_selection_to_program + +#:: You can also pass the contents of the current selection to any +#:: program with pass_selection_to_program. By default, the system's +#:: open program is used, but you can specify your own, the selection +#:: will be passed as a command line argument to the program. For +#:: example:: + +#:: map kitty_mod+o pass_selection_to_program firefox + +#:: You can pass the current selection to a terminal program running +#:: in a new kitty window, by using the @selection placeholder:: + +#:: map kitty_mod+y new_window less @selection + +#: }}} + +#: Scrolling {{{ + +#: Scroll line up + +# map kitty_mod+up scroll_line_up +# map kitty_mod+k scroll_line_up +# map opt+cmd+page_up scroll_line_up +# map cmd+up scroll_line_up + +#: Scroll line down + +# map kitty_mod+down scroll_line_down +# map kitty_mod+j scroll_line_down +# map opt+cmd+page_down scroll_line_down +# map cmd+down scroll_line_down + +#: Scroll page up + +# map kitty_mod+page_up scroll_page_up +# map cmd+page_up scroll_page_up + +#: Scroll page down + +# map kitty_mod+page_down scroll_page_down +# map cmd+page_down scroll_page_down + +#: Scroll to top + +# map kitty_mod+home scroll_home +# map cmd+home scroll_home + +#: Scroll to bottom + +# map kitty_mod+end scroll_end +# map cmd+end scroll_end + +#: Scroll to previous shell prompt + +# map kitty_mod+z scroll_to_prompt -1 + +#:: Use a parameter of 0 for scroll_to_prompt to scroll to the last +#:: jumped to or the last clicked position. Requires shell +#:: integration +#:: to work. + +#: Scroll to next shell prompt + +# map kitty_mod+x scroll_to_prompt 1 + +#: Browse scrollback buffer in pager + +# map kitty_mod+h show_scrollback + +#:: You can pipe the contents of the current screen and history +#:: buffer as STDIN to an arbitrary program using launch --stdin- +#:: source. For example, the following opens the scrollback buffer in +#:: less in an overlay window:: + +#:: map f1 launch --stdin-source=@screen_scrollback --stdin-add-formatting --type=overlay less +G -R + +#:: For more details on piping screen and buffer contents to external +#:: programs, see launch . + +#: Browse output of the last shell command in pager + +# map kitty_mod+g show_last_command_output + +#:: You can also define additional shortcuts to get the command +#:: output. For example, to get the first command output on screen:: + +#:: map f1 show_first_command_output_on_screen + +#:: To get the command output that was last accessed by a keyboard +#:: action or mouse action:: + +#:: map f1 show_last_visited_command_output + +#:: You can pipe the output of the last command run in the shell +#:: using the launch action. For example, the following opens the +#:: output in less in an overlay window:: + +#:: map f1 launch --stdin-source=@last_cmd_output --stdin-add-formatting --type=overlay less +G -R + +#:: To get the output of the first command on the screen, use +#:: @first_cmd_output_on_screen. To get the output of the last jumped +#:: to command, use @last_visited_cmd_output. + +#:: Requires shell integration +#:: to work. + +#: }}} + +#: Window management {{{ + +#: New window +# +# + +map ctrl+j neighboring_window down +map ctrl+k neighboring_window up +map ctrl+h neighboring_window left +map ctrl+l neighboring_window right + +# Unset the mapping to pass the keys to neovim +map --when-focus-on var:IS_NVIM ctrl+j +map --when-focus-on var:IS_NVIM ctrl+k +map --when-focus-on var:IS_NVIM ctrl+h +map --when-focus-on var:IS_NVIM ctrl+l + +# the 3 here is the resize amount, adjust as needed +map alt+j kitten relative_resize.py down 3 +map alt+k kitten relative_resize.py up 3 +map alt+h kitten relative_resize.py left 3 +map alt+l kitten relative_resize.py right 3 + +map --when-focus-on var:IS_NVIM alt+j +map --when-focus-on var:IS_NVIM alt+k +map --when-focus-on var:IS_NVIM alt+h +map --when-focus-on var:IS_NVIM alt+l + + +# map kitty_mod+enter new_window +# map cmd+enter new_window +map ctrl+space>enter new_window +map ctrl+space>s launch --location=vsplit --cwd=root +map ctrl+space>v launch --location=split --cwd=root +map ctrl+space>ctrl+s launch --location=vsplit +map ctrl+space>ctrl+v launch --location=split + + +#:: You can open a new kitty window running an arbitrary program, for +#:: example:: + +#:: map kitty_mod+y launch mutt + +#:: You can open a new window with the current working directory set +#:: to the working directory of the current window using:: + +#:: map ctrl+alt+enter launch --cwd=current + +#:: You can open a new window that is allowed to control kitty via +#:: the kitty remote control facility with launch --allow-remote- +#:: control. Any programs running in that window will be allowed to +#:: control kitty. For example:: + +#:: map ctrl+enter launch --allow-remote-control some_program + +#:: You can open a new window next to the currently active window or +#:: as the first window, with:: + +#:: map ctrl+n launch --location=neighbor +#:: map ctrl+f launch --location=first + +#:: For more details, see launch +#:: . + +map ctrl+space>g launch --cwd=current --type=overlay --var lazy_float=true lazygit +map ctrl+p>ctrl+p launch --cwd=current --type=background fish -c 'split_run --restart' +map ctrl+space>p launch --cwd=current --type=overlay fish -c 'split_run --mask' + +#: New OS window + +# map kitty_mod+n new_os_window +# map cmd+n new_os_window + +#:: Works like new_window above, except that it opens a top-level OS +#:: window. In particular you can use new_os_window_with_cwd to open +#:: a window with the current working directory. + +#: Close window + +# map kitty_mod+w close_window +# map shift+cmd+d close_window + +#: Next window + +# map kitty_mod+] next_window + +#: Previous window + +# map kitty_mod+[ previous_window + +#: Move window forward + +# map kitty_mod+f move_window_forward + +#: Move window backward + +# map kitty_mod+b move_window_backward + +#: Move window to top + +# map kitty_mod+` move_window_to_top + +#: Start resizing window + +# map kitty_mod+r start_resizing_window +# map cmd+r start_resizing_window + +#: First window + +# map kitty_mod+1 first_window +# map cmd+1 first_window + +#: Second window + +# map kitty_mod+2 second_window +# map cmd+2 second_window + +#: Third window + +# map kitty_mod+3 third_window +# map cmd+3 third_window + +#: Fourth window + +# map kitty_mod+4 fourth_window +# map cmd+4 fourth_window + +#: Fifth window + +# map kitty_mod+5 fifth_window +# map cmd+5 fifth_window + +#: Sixth window + +# map kitty_mod+6 sixth_window +# map cmd+6 sixth_window + +#: Seventh window + +# map kitty_mod+7 seventh_window +# map cmd+7 seventh_window + +#: Eighth window + +# map kitty_mod+8 eighth_window +# map cmd+8 eighth_window + +#: Ninth window + +# map kitty_mod+9 ninth_window +# map cmd+9 ninth_window + +#: Tenth window + +# map kitty_mod+0 tenth_window + +#: Visually select and focus window + +# map kitty_mod+f7 focus_visible_window +map ctrl+space>tab focus_visible_window + +#:: Display overlay numbers and alphabets on the window, and switch +#:: the focus to the window when you press the key. When there are +#:: only two windows, the focus will be switched directly without +#:: displaying the overlay. You can change the overlay characters and +#:: their order with option visual_window_select_characters. + +#: Visually swap window with another + +# map kitty_mod+f8 swap_with_window +map ctrl+space>ctrl+tab swap_with_window + +#:: Works like focus_visible_window above, but swaps the window. + +map ctrl+space>ctrl+shift+tab detach_window ask + +#: }}} + +#: Tab management {{{ + +#: Next tab + +# map kitty_mod+right next_tab +# map shift+cmd+] next_tab +# map ctrl+tab next_tab + +#: Previous tab + +# map kitty_mod+left previous_tab +# map shift+cmd+[ previous_tab +# map ctrl+shift+tab previous_tab + +#: New tab + +# map kitty_mod+t new_tab +# map cmd+t new_tab +map ctrl+space>t new_tab_with_cwd +map ctrl+space>n new_tab_with_cwd +map ctrl+space>shift+t new_tab +map ctrl+space>shift+n new_tab + +#: Close tab + +# map kitty_mod+q close_tab +# map cmd+w close_tab + +#: Close OS window + +# map shift+cmd+w close_os_window + +#: Move tab forward + +# map kitty_mod+. move_tab_forward + +#: Move tab backward + +# map kitty_mod+, move_tab_backward + +#: Set tab title + +# map kitty_mod+alt+t set_tab_title +# map shift+cmd+i set_tab_title +map ctrl+space>shift+r set_tab_title + + +#: You can also create shortcuts to go to specific tabs, with 1 being +#: the first tab, 2 the second tab and -1 being the previously active +#: tab, and any number larger than the last tab being the last tab:: + +map ctrl+space>1 goto_tab 1 +map ctrl+space>2 goto_tab 2 +map ctrl+space>3 goto_tab 3 +map ctrl+space>4 goto_tab 4 +map ctrl+space>5 goto_tab 5 +map ctrl+space>6 goto_tab 6 +map ctrl+space>7 goto_tab 7 +map ctrl+space>8 goto_tab 8 +map ctrl+space>9 goto_tab 9 +map ctrl+space>0 goto_tab 10 + +#: Just as with new_window above, you can also pass the name of +#: arbitrary commands to run when using new_tab and new_tab_with_cwd. +#: Finally, if you want the new tab to open next to the current tab +#: rather than at the end of the tabs list, use:: + +#: map ctrl+t new_tab !neighbor [optional cmd to run] +#: }}} + +#: Layout management {{{ + +#: Next layout + +# map kitty_mod+l next_layout +map ctrl+space>ctrl+l next_layout + + +#: You can also create shortcuts to switch to specific layouts:: + +#: map ctrl+alt+t goto_layout tall +#: map ctrl+alt+s goto_layout stack + +#: Similarly, to switch back to the previous layout:: + +#: map ctrl+alt+p last_used_layout + +#: There is also a toggle_layout action that switches to the named +#: layout or back to the previous layout if in the named layout. +#: Useful to temporarily "zoom" the active window by switching to the +#: stack layout:: + +#: map ctrl+alt+z toggle_layout stack +map ctrl+space>m zoom + +#: }}} + +#: Font sizes {{{ + +#: You can change the font size for all top-level kitty OS windows at +#: a time or only the current one. + +#: Increase font size + +# map kitty_mod+equal change_font_size all +2.0 +# map kitty_mod+plus change_font_size all +2.0 +# map kitty_mod+kp_add change_font_size all +2.0 +# map cmd+plus change_font_size all +2.0 +# map cmd+equal change_font_size all +2.0 +# map shift+cmd+equal change_font_size all +2.0 + +#: Decrease font size + +# map kitty_mod+minus change_font_size all -2.0 +# map kitty_mod+kp_subtract change_font_size all -2.0 +# map cmd+minus change_font_size all -2.0 +# map shift+cmd+minus change_font_size all -2.0 + +#: Reset font size + +# map kitty_mod+backspace change_font_size all 0 +# map cmd+0 change_font_size all 0 + + +#: To setup shortcuts for specific font sizes:: + +#: map kitty_mod+f6 change_font_size all 10.0 + +#: To setup shortcuts to change only the current OS window's font +#: size:: + +#: map kitty_mod+f6 change_font_size current 10.0 +#: }}} + +#: Select and act on visible text {{{ + +#: Use the hints kitten to select text and either pass it to an +#: external program or insert it into the terminal or copy it to the +#: clipboard. + +#: Open URL + +# map kitty_mod+e open_url_with_hints + +#:: Open a currently visible URL using the keyboard. The program used +#:: to open the URL is specified in open_url_with. + +#: Insert selected path + +# map kitty_mod+p>f kitten hints --type path --program - + +#:: Select a path/filename and insert it into the terminal. Useful, +#:: for instance to run git commands on a filename output from a +#:: previous git command. + +#: Open selected path + +# map kitty_mod+p>shift+f kitten hints --type path + +#:: Select a path/filename and open it with the default open program. + +#: Insert selected line + +# map kitty_mod+p>l kitten hints --type line --program - + +#:: Select a line of text and insert it into the terminal. Useful for +#:: the output of things like: `ls -1`. + +#: Insert selected word + +# map kitty_mod+p>w kitten hints --type word --program - + +#:: Select words and insert into terminal. + +#: Insert selected hash + +# map kitty_mod+p>h kitten hints --type hash --program - + +#:: Select something that looks like a hash and insert it into the +#:: terminal. Useful with git, which uses SHA1 hashes to identify +#:: commits. + +#: Open the selected file at the selected line + +# map kitty_mod+p>n kitten hints --type linenum + +#:: Select something that looks like filename:linenum and open it in +#:: vim at the specified line number. + +#: Open the selected hyperlink + +# map kitty_mod+p>y kitten hints --type hyperlink + +#:: Select a hyperlink (i.e. a URL that has been marked as such by +#:: the terminal program, for example, by `ls --hyperlink=auto`). + + +#: The hints kitten has many more modes of operation that you can map +#: to different shortcuts. For a full description see hints kitten +#: . +#: }}} + +#: Miscellaneous {{{ + +#: Show documentation + +# map kitty_mod+f1 show_kitty_doc overview + +#: Toggle fullscreen + +# map kitty_mod+f11 toggle_fullscreen +# map ctrl+cmd+f toggle_fullscreen + +#: Toggle maximized + +# map kitty_mod+f10 toggle_maximized + +#: Toggle macOS secure keyboard entry + +# map opt+cmd+s toggle_macos_secure_keyboard_entry + +#: Unicode input + +# map kitty_mod+u kitten unicode_input +# map ctrl+cmd+space kitten unicode_input + +#: Edit config file + +# map kitty_mod+f2 edit_config_file +# map cmd+, edit_config_file + +#: Open the kitty command shell + +# map kitty_mod+escape kitty_shell window + +#:: Open the kitty shell in a new window / tab / overlay / os_window +#:: to control kitty using commands. + +#: Increase background opacity + +# map kitty_mod+a>m set_background_opacity +0.1 + +#: Decrease background opacity + +# map kitty_mod+a>l set_background_opacity -0.1 + +#: Make background fully opaque + +# map kitty_mod+a>1 set_background_opacity 1 + +#: Reset background opacity + +# map kitty_mod+a>d set_background_opacity default + +#: Reset the terminal + +# map kitty_mod+delete clear_terminal reset active +# map opt+cmd+r clear_terminal reset active + +#:: You can create shortcuts to clear/reset the terminal. For +#:: example:: + +#:: # Reset the terminal +#:: map f1 clear_terminal reset active +#:: # Clear the terminal screen by erasing all contents +#:: map f1 clear_terminal clear active +#:: # Clear the terminal scrollback by erasing it +#:: map f1 clear_terminal scrollback active +#:: # Scroll the contents of the screen into the scrollback +#:: map f1 clear_terminal scroll active +#:: # Clear everything up to the line with the cursor +#:: map f1 clear_terminal to_cursor active + +#:: If you want to operate on all kitty windows instead of just the +#:: current one, use all instead of active. + +#:: Some useful functions that can be defined in the shell rc files +#:: to perform various kinds of clearing of the current window: + +#:: .. code-block:: sh + +#:: clear-only-screen() { +#:: printf "\e[H\e[2J" +#:: } + +#:: clear-screen-and-scrollback() { +#:: printf "\e[H\e[3J" +#:: } + +#:: clear-screen-saving-contents-in-scrollback() { +#:: printf "\e[H\e[22J" +#:: } + +#:: For instance, using these escape codes, it is possible to remap +#:: Ctrl+L to both scroll the current screen contents into the +#:: scrollback buffer and clear the screen, instead of just clearing +#:: the screen. For ZSH, in ~/.zshrc, add: + +#:: .. code-block:: zsh + +#:: ctrl_l() { +#:: builtin print -rn -- $'\r\e[0J\e[H\e[22J' >"$TTY" +#:: builtin zle .reset-prompt +#:: builtin zle -R +#:: } +#:: zle -N ctrl_l +#:: bindkey '^l' ctrl_l + +#: Clear up to cursor line + +# map cmd+k clear_terminal to_cursor active + +#: Reload kitty.conf + +# map kitty_mod+f5 load_config_file +# map ctrl+cmd+, load_config_file +map ctrl+space>ctrl+r load_config_file + +#:: Reload kitty.conf, applying any changes since the last time it +#:: was loaded. Note that a handful of options cannot be dynamically +#:: changed and require a full restart of kitty. Particularly, when +#:: changing shortcuts for actions located on the macOS global menu +#:: bar, a full restart is needed. You can also map a keybinding to +#:: load a different config file, for example:: + +#:: map f5 load_config /path/to/alternative/kitty.conf + +#:: Note that all options from the original kitty.conf are discarded, +#:: in other words the new configuration *replace* the old ones. + +#: Debug kitty configuration + +# map kitty_mod+f6 debug_config +# map opt+cmd+, debug_config + +#:: Show details about exactly what configuration kitty is running +#:: with and its host environment. Useful for debugging issues. + +#: Send arbitrary text on key presses + +#:: E.g. map ctrl+shift+alt+h send_text all Hello World + +#:: You can tell kitty to send arbitrary (UTF-8) encoded text to the +#:: client program when pressing specified shortcut keys. For +#:: example:: + +#:: map ctrl+alt+a send_text all Special text + +#:: This will send "Special text" when you press the Ctrl+Alt+A key +#:: combination. The text to be sent decodes ANSI C escapes +#:: so you can use escapes like \e to send control +#:: codes or \u21fb to send Unicode characters (or you can just input +#:: the Unicode characters directly as UTF-8 text). You can use +#:: `kitten show_key` to get the key escape codes you want to +#:: emulate. + +#:: The first argument to send_text is the keyboard modes in which to +#:: activate the shortcut. The possible values are normal, +#:: application, kitty or a comma separated combination of them. The +#:: modes normal and application refer to the DECCKM cursor key mode +#:: for terminals, and kitty refers to the kitty extended keyboard +#:: protocol. The special value all means all of them. + +#:: Some more examples:: + +#:: # Output a word and move the cursor to the start of the line (like typing and pressing Home) +#:: map ctrl+alt+a send_text normal Word\e[H +#:: map ctrl+alt+a send_text application Word\eOH +#:: # Run a command at a shell prompt (like typing the command and pressing Enter) +#:: map ctrl+alt+a send_text normal,application some command with arguments\r + +#: Open kitty Website + +# map shift+cmd+/ open_url https://sw.kovidgoyal.net/kitty/ + +#: Hide macOS kitty application + +# map cmd+h hide_macos_app + +#: Hide macOS other applications + +# map opt+cmd+h hide_macos_other_apps + +#: Minimize macOS window + +# map cmd+m minimize_macos_window + +#: Quit kitty + +# map cmd+q quit + +#: }}} + +#: }}} diff --git a/configs/kitty/private_kitty.conf.bak b/Configs/kitty/.config/kitty/private_kitty.conf.bak similarity index 100% rename from configs/kitty/private_kitty.conf.bak rename to Configs/kitty/.config/kitty/private_kitty.conf.bak diff --git a/configs/lazygit/config.yml b/Configs/lazygit/.config/lazygit/config.yml similarity index 100% rename from configs/lazygit/config.yml rename to Configs/lazygit/.config/lazygit/config.yml diff --git a/configs/mako/config b/Configs/mako/.config/mako/config similarity index 90% rename from configs/mako/config rename to Configs/mako/.config/mako/config index 7a78949..1b7531f 100644 --- a/configs/mako/config +++ b/Configs/mako/.config/mako/config @@ -1,5 +1,4 @@ default-timeout=5000 -anchor=top-center # Colors diff --git a/configs/mise/config.toml b/Configs/mise/.config/mise/config.toml similarity index 93% rename from configs/mise/config.toml rename to Configs/mise/.config/mise/config.toml index 0c6b009..b129270 100644 --- a/configs/mise/config.toml +++ b/Configs/mise/.config/mise/config.toml @@ -44,10 +44,6 @@ usage = "latest" yazi = "latest" zoxide = "latest" watchexec = "latest" -"npm:@hoppscotch/cli" = "latest" -kotlin = "latest" -gradle = "latest" -"npm:@immich/cli" = "latest" [settings] lockfile = true diff --git a/configs/mise/mise.lock b/Configs/mise/.config/mise/mise.lock similarity index 100% rename from configs/mise/mise.lock rename to Configs/mise/.config/mise/mise.lock diff --git a/configs/mpv/encoding.rst b/Configs/mpv/.config/mpv/encoding.rst similarity index 100% rename from configs/mpv/encoding.rst rename to Configs/mpv/.config/mpv/encoding.rst diff --git a/configs/mpv/input.conf b/Configs/mpv/.config/mpv/input.conf similarity index 100% rename from configs/mpv/input.conf rename to Configs/mpv/.config/mpv/input.conf diff --git a/configs/mpv/mplayer-input.conf b/Configs/mpv/.config/mpv/mplayer-input.conf similarity index 100% rename from configs/mpv/mplayer-input.conf rename to Configs/mpv/.config/mpv/mplayer-input.conf diff --git a/configs/mpv/mpv.conf b/Configs/mpv/.config/mpv/mpv.conf similarity index 100% rename from configs/mpv/mpv.conf rename to Configs/mpv/.config/mpv/mpv.conf diff --git a/configs/mpv/restore-old-bindings.conf b/Configs/mpv/.config/mpv/restore-old-bindings.conf similarity index 100% rename from configs/mpv/restore-old-bindings.conf rename to Configs/mpv/.config/mpv/restore-old-bindings.conf diff --git a/configs/mpv/script-opts/mpv_thumbnail_script.conf b/Configs/mpv/.config/mpv/script-opts/mpv_thumbnail_script.conf similarity index 100% rename from configs/mpv/script-opts/mpv_thumbnail_script.conf rename to Configs/mpv/.config/mpv/script-opts/mpv_thumbnail_script.conf diff --git a/configs/mpv/scripts/mpv-i3-floating-centered.lua b/Configs/mpv/.config/mpv/scripts/mpv-i3-floating-centered.lua similarity index 100% rename from configs/mpv/scripts/mpv-i3-floating-centered.lua rename to Configs/mpv/.config/mpv/scripts/mpv-i3-floating-centered.lua diff --git a/configs/mpv/scripts/mpv_thumbnail_script_client_osc.lua b/Configs/mpv/.config/mpv/scripts/mpv_thumbnail_script_client_osc.lua similarity index 100% rename from configs/mpv/scripts/mpv_thumbnail_script_client_osc.lua rename to Configs/mpv/.config/mpv/scripts/mpv_thumbnail_script_client_osc.lua diff --git a/configs/mpv/scripts/mpv_thumbnail_script_server-1.lua b/Configs/mpv/.config/mpv/scripts/mpv_thumbnail_script_server-1.lua similarity index 100% rename from configs/mpv/scripts/mpv_thumbnail_script_server-1.lua rename to Configs/mpv/.config/mpv/scripts/mpv_thumbnail_script_server-1.lua diff --git a/configs/mpv/scripts/mpv_thumbnail_script_server-2.lua b/Configs/mpv/.config/mpv/scripts/mpv_thumbnail_script_server-2.lua similarity index 100% rename from configs/mpv/scripts/mpv_thumbnail_script_server-2.lua rename to Configs/mpv/.config/mpv/scripts/mpv_thumbnail_script_server-2.lua diff --git a/configs/mpv/scripts/mpv_thumbnail_script_server.lua b/Configs/mpv/.config/mpv/scripts/mpv_thumbnail_script_server.lua similarity index 100% rename from configs/mpv/scripts/mpv_thumbnail_script_server.lua rename to Configs/mpv/.config/mpv/scripts/mpv_thumbnail_script_server.lua diff --git a/configs/mpv/scripts/pause-indicator.lua b/Configs/mpv/.config/mpv/scripts/pause-indicator.lua similarity index 100% rename from configs/mpv/scripts/pause-indicator.lua rename to Configs/mpv/.config/mpv/scripts/pause-indicator.lua diff --git a/configs/mpv/tech-overview.txt b/Configs/mpv/.config/mpv/tech-overview.txt similarity index 100% rename from configs/mpv/tech-overview.txt rename to Configs/mpv/.config/mpv/tech-overview.txt diff --git a/configs/nvim/after/ftplugin/rust.lua b/Configs/nvim/.config/nvim/after/ftplugin/rust.lua similarity index 100% rename from configs/nvim/after/ftplugin/rust.lua rename to Configs/nvim/.config/nvim/after/ftplugin/rust.lua diff --git a/configs/nvim/init.lua b/Configs/nvim/.config/nvim/init.lua similarity index 100% rename from configs/nvim/init.lua rename to Configs/nvim/.config/nvim/init.lua diff --git a/configs/nvim/lazy-lock.json b/Configs/nvim/.config/nvim/lazy-lock.json similarity index 89% rename from configs/nvim/lazy-lock.json rename to Configs/nvim/.config/nvim/lazy-lock.json index 35fbf0e..b6b7a5a 100644 --- a/configs/nvim/lazy-lock.json +++ b/Configs/nvim/.config/nvim/lazy-lock.json @@ -20,10 +20,10 @@ "nvim-dap-virtual-text": { "branch": "master", "commit": "fbdb48c2ed45f4a8293d0d483f7730d24467ccb6" }, "nvim-lint": { "branch": "master", "commit": "6b46370d02cd001509a765591a3ffc481b538794" }, "nvim-lspconfig": { "branch": "master", "commit": "f47cd681d7cb6048876a2e908b6d8ba1e530d152" }, - "nvim-treesitter": { "branch": "main", "commit": "802195d8f1980db25a7a39a55f9a25df21756c73" }, - "nvim-treesitter-context": { "branch": "master", "commit": "66a9b5fa9e806918b5fe3dba00c6cce7e230abd2" }, - "nvim-treesitter-textobjects": { "branch": "main", "commit": "1b2d85d3de6114c4bcea89ffb2cd1ce9e3a19931" }, - "nvim-ts-context-commentstring": { "branch": "main", "commit": "1b212c2eee76d787bbea6aa5e92a2b534e7b4f8f" }, + "nvim-treesitter": { "branch": "master", "commit": "8d4fdc5e47e2a4e00179e43f56221250ce365973" }, + "nvim-treesitter-context": { "branch": "master", "commit": "6b081ea63a3711243d11540ce28ccdb6f35ecd33" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "71385f191ec06ffc60e80e6b0c9a9d5daed4824c" }, + "nvim-ts-context-commentstring": { "branch": "main", "commit": "9c74db656c3d0b1c4392fc89a016b1910539e7c0" }, "nvim-web-devicons": { "branch": "master", "commit": "edbe0a65cfacbbfff6a4a1e98ddd60c28c560509" }, "plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" }, "render-markdown": { "branch": "main", "commit": "6096cf3608b576a38fd1396227dbc0473091714d" }, diff --git a/configs/nvim/lua/aleidk/autocmds.lua b/Configs/nvim/.config/nvim/lua/aleidk/autocmds.lua similarity index 100% rename from configs/nvim/lua/aleidk/autocmds.lua rename to Configs/nvim/.config/nvim/lua/aleidk/autocmds.lua diff --git a/configs/nvim/lua/aleidk/constants.lua b/Configs/nvim/.config/nvim/lua/aleidk/constants.lua similarity index 100% rename from configs/nvim/lua/aleidk/constants.lua rename to Configs/nvim/.config/nvim/lua/aleidk/constants.lua diff --git a/configs/nvim/lua/aleidk/keymaps.lua b/Configs/nvim/.config/nvim/lua/aleidk/keymaps.lua similarity index 95% rename from configs/nvim/lua/aleidk/keymaps.lua rename to Configs/nvim/.config/nvim/lua/aleidk/keymaps.lua index 148c5f6..5be823b 100644 --- a/configs/nvim/lua/aleidk/keymaps.lua +++ b/Configs/nvim/.config/nvim/lua/aleidk/keymaps.lua @@ -33,7 +33,6 @@ vim.keymap.set("n", "", "l", { desc = "Move to right window", silent = -- LSP -vim.keymap.set("n", "lr", function() vim.lsp.buf.rename() end, { desc = "Rename symbol", silent = true }) vim.keymap.set("n", "lf", vim.lsp.buf.format, { desc = "Format document with LSP", silent = true }) vim.keymap.set("n", "lj", function() vim.diagnostic.jump({ count = 1 }) end, { desc = "Go to next diagnostic", silent = true }) diff --git a/configs/nvim/lua/aleidk/options.lua b/Configs/nvim/.config/nvim/lua/aleidk/options.lua similarity index 97% rename from configs/nvim/lua/aleidk/options.lua rename to Configs/nvim/.config/nvim/lua/aleidk/options.lua index da04eeb..816ac44 100644 --- a/configs/nvim/lua/aleidk/options.lua +++ b/Configs/nvim/.config/nvim/lua/aleidk/options.lua @@ -31,12 +31,11 @@ opt.ignorecase = true -- Ignore case opt.inccommand = 'split' -- Preview substitutions live, as you type! opt.mouse = "a" -- Enable mouse mode opt.nrformats = 'blank,bin,hex' -opt.number = true -- Print line number +opt.number = true -- Print line number opt.pumblend = 10 -- Popup blend opt.pumheight = 10 -- Maximum number of entries in a popup -- opt.relativenumber = true -- Relative line numbers opt.scrolloff = 15 -- Lines of context -opt.sidescrolloff = 25 -- Columns of context opt.sessionoptions = { "buffers", "curdir", "tabpages", "winsize" } opt.shiftround = true -- Round indent opt.shiftwidth = 2 -- Size of an indent @@ -164,12 +163,9 @@ vim.lsp.enable({ "bashls", "biome", "fish_lsp", - "gleam", - "gopls", "hyprls", "intelephense", "jsonls", - "kotlin_lsp", "lua_ls", "nushell", "pyright", diff --git a/configs/nvim/lua/aleidk/plugins/bookmarks.lua b/Configs/nvim/.config/nvim/lua/aleidk/plugins/bookmarks.lua similarity index 100% rename from configs/nvim/lua/aleidk/plugins/bookmarks.lua rename to Configs/nvim/.config/nvim/lua/aleidk/plugins/bookmarks.lua diff --git a/configs/nvim/lua/aleidk/plugins/colorscheme.lua b/Configs/nvim/.config/nvim/lua/aleidk/plugins/colorscheme.lua similarity index 100% rename from configs/nvim/lua/aleidk/plugins/colorscheme.lua rename to Configs/nvim/.config/nvim/lua/aleidk/plugins/colorscheme.lua diff --git a/configs/nvim/lua/aleidk/plugins/comments.lua b/Configs/nvim/.config/nvim/lua/aleidk/plugins/comments.lua similarity index 100% rename from configs/nvim/lua/aleidk/plugins/comments.lua rename to Configs/nvim/.config/nvim/lua/aleidk/plugins/comments.lua diff --git a/configs/nvim/lua/aleidk/plugins/completion.lua b/Configs/nvim/.config/nvim/lua/aleidk/plugins/completion.lua similarity index 100% rename from configs/nvim/lua/aleidk/plugins/completion.lua rename to Configs/nvim/.config/nvim/lua/aleidk/plugins/completion.lua diff --git a/configs/nvim/lua/aleidk/plugins/debug.lua b/Configs/nvim/.config/nvim/lua/aleidk/plugins/debug.lua similarity index 100% rename from configs/nvim/lua/aleidk/plugins/debug.lua rename to Configs/nvim/.config/nvim/lua/aleidk/plugins/debug.lua diff --git a/configs/nvim/lua/aleidk/plugins/file-explorer.lua b/Configs/nvim/.config/nvim/lua/aleidk/plugins/file-explorer.lua similarity index 100% rename from configs/nvim/lua/aleidk/plugins/file-explorer.lua rename to Configs/nvim/.config/nvim/lua/aleidk/plugins/file-explorer.lua diff --git a/Configs/nvim/.config/nvim/lua/aleidk/plugins/formatter.lua b/Configs/nvim/.config/nvim/lua/aleidk/plugins/formatter.lua new file mode 100644 index 0000000..58deae9 --- /dev/null +++ b/Configs/nvim/.config/nvim/lua/aleidk/plugins/formatter.lua @@ -0,0 +1,122 @@ +return { + "stevearc/conform.nvim", + event = { "BufWritePre" }, + cmd = { "ConformInfo" }, + opts = { + -- See available formatters in: https://github.com/stevearc/conform.nvim#formatters + -- Formatters can be installed by mason + formatters_by_ft = { + -- Conform will run multiple formatters sequentially + -- Use a stop_after_first = true to run only the first available formatters + -- Use the "_" filetype to run formatters on filetypes that don't + -- have other formatters configured. + ["_"] = { "trim_whitespace" }, + blade = { "blade-formatter" }, + css = { "biome" }, + go = { "gofumpt", "goimports_reviser", "golines" }, + html = { "djlint", "prettierd", stop_after_first = true }, + htmldjango = { "djlint", stop_after_first = true }, + javascript = { "biome" }, + javascriptreact = { "biome" }, + json = { "biome" }, + jsonc = { "biome" }, + lua = { "stylua" }, + markdown = { "markdownlint" }, + php = { "pint" }, + python = { "ruff_format", "ruff_organize_imports" }, + rust = { "rustfmt" }, + scss = { "biome", "prettierd", "prettier", stop_after_first = true }, + sh = { "shfmt" }, + sql = { "sleek" }, + toml = { "taplo" }, + typescript = { "biome" }, + typescriptreact = { "biome" }, + xml = { "lemminx" }, + zsh = { "shfmt" }, + }, + formatters = { + djlint = { + prepend_args = { + "--format-css", + "--indent-css", + "2", + "--format-js", + "--indent-js", + "2", + "--indent", + "2", + "--preserve-blank-lines", + "--quiet" + } + } + }, + format_on_save = function(bufnr) + -- Disable with a global or buffer-local variable + if vim.g.disable_autoformat or vim.b[bufnr].disable_autoformat then + return + end + + return { timeout_ms = 2000, lsp_fallback = true } + end, + }, + config = function(_, opts) + require("conform").setup(opts) + + local function toggleAutoFormat() + -- to make this global, change b to g + if vim.b.disable_autoformat == nil then + vim.b.disable_autoformat = true + print("Autoformat set to: " .. tostring(not vim.b.disable_autoformat)) + return + end + + vim.b.disable_autoformat = not vim.b.disable_autoformat + print("Autoformat set to: " .. tostring(not vim.b.disable_autoformat)) + end + + vim.keymap.set("n", "uf", toggleAutoFormat, { desc = "Toggle auto format", silent = true }) + + vim.api.nvim_create_user_command("Fmt", function(args) + local range = nil + if args.count ~= -1 then + local end_line = vim.api.nvim_buf_get_lines(0, args.line2 - 1, args.line2, true)[1] + range = { + start = { args.line1, 0 }, + ["end"] = { args.line2, end_line:len() }, + } + end + + local function callback(err, did_edit) + if not did_edit then + vim.notify("The file was not formatted:\n" .. tostring(err), vim.log.levels.ERROR) + return + end + + if args.bang then + vim.cmd("w") + end + end + + require("conform").format( + { + async = true, + lsp_format = "fallback", + range = range, + formatters = args.fargs + }, + callback + ) + end, { + range = true, + bang = true, + force = true, + desc = "Format the document", + nargs = '*', + -- complete = function() + -- local formatters = require('conform').formatters_by_ft + -- + -- return vim.tbl_keys(formatters) + -- end + }) + end, +} diff --git a/configs/nvim/lua/aleidk/plugins/fzf.lua b/Configs/nvim/.config/nvim/lua/aleidk/plugins/fzf.lua similarity index 100% rename from configs/nvim/lua/aleidk/plugins/fzf.lua rename to Configs/nvim/.config/nvim/lua/aleidk/plugins/fzf.lua diff --git a/configs/nvim/lua/aleidk/plugins/init.lua b/Configs/nvim/.config/nvim/lua/aleidk/plugins/init.lua similarity index 100% rename from configs/nvim/lua/aleidk/plugins/init.lua rename to Configs/nvim/.config/nvim/lua/aleidk/plugins/init.lua diff --git a/configs/nvim/lua/aleidk/plugins/language-support.lua b/Configs/nvim/.config/nvim/lua/aleidk/plugins/language-support.lua similarity index 100% rename from configs/nvim/lua/aleidk/plugins/language-support.lua rename to Configs/nvim/.config/nvim/lua/aleidk/plugins/language-support.lua diff --git a/configs/nvim/lua/aleidk/plugins/linters.lua b/Configs/nvim/.config/nvim/lua/aleidk/plugins/linters.lua similarity index 96% rename from configs/nvim/lua/aleidk/plugins/linters.lua rename to Configs/nvim/.config/nvim/lua/aleidk/plugins/linters.lua index f73dc84..4e13ecd 100644 --- a/configs/nvim/lua/aleidk/plugins/linters.lua +++ b/Configs/nvim/.config/nvim/lua/aleidk/plugins/linters.lua @@ -9,7 +9,6 @@ return { lint.linters_by_ft = { -- astro = { "eslint_d" }, - kotlin = { "ktlint" }, python = { "ruff" }, sh = { "shellcheck" }, NeogitCommitMessage = { "gitlint" }, diff --git a/configs/nvim/lua/aleidk/plugins/markdown.lua b/Configs/nvim/.config/nvim/lua/aleidk/plugins/markdown.lua similarity index 100% rename from configs/nvim/lua/aleidk/plugins/markdown.lua rename to Configs/nvim/.config/nvim/lua/aleidk/plugins/markdown.lua diff --git a/configs/nvim/lua/aleidk/plugins/mini.lua b/Configs/nvim/.config/nvim/lua/aleidk/plugins/mini.lua similarity index 100% rename from configs/nvim/lua/aleidk/plugins/mini.lua rename to Configs/nvim/.config/nvim/lua/aleidk/plugins/mini.lua diff --git a/configs/nvim/lua/aleidk/plugins/remote-dev.lua b/Configs/nvim/.config/nvim/lua/aleidk/plugins/remote-dev.lua similarity index 100% rename from configs/nvim/lua/aleidk/plugins/remote-dev.lua rename to Configs/nvim/.config/nvim/lua/aleidk/plugins/remote-dev.lua diff --git a/configs/nvim/lua/aleidk/plugins/smart-splits.lua b/Configs/nvim/.config/nvim/lua/aleidk/plugins/smart-splits.lua similarity index 100% rename from configs/nvim/lua/aleidk/plugins/smart-splits.lua rename to Configs/nvim/.config/nvim/lua/aleidk/plugins/smart-splits.lua diff --git a/configs/nvim/lua/aleidk/plugins/training.lua b/Configs/nvim/.config/nvim/lua/aleidk/plugins/training.lua similarity index 100% rename from configs/nvim/lua/aleidk/plugins/training.lua rename to Configs/nvim/.config/nvim/lua/aleidk/plugins/training.lua diff --git a/Configs/nvim/.config/nvim/lua/aleidk/plugins/treesitter.lua b/Configs/nvim/.config/nvim/lua/aleidk/plugins/treesitter.lua new file mode 100644 index 0000000..65a0450 --- /dev/null +++ b/Configs/nvim/.config/nvim/lua/aleidk/plugins/treesitter.lua @@ -0,0 +1,50 @@ +return { + { + "nvim-treesitter/nvim-treesitter", + lazy = false, + branch = "master", + dependencies = { + { + "JoosepAlviste/nvim-ts-context-commentstring", + opts = { + enable_autocmd = false, + }, + }, + { "nvim-treesitter/nvim-treesitter-context" }, + }, + build = ":TSUpdate", + opts = { + auto_install = true, + highlight = { enable = true }, + indent = { enable = true }, + }, + }, + { + "nvim-treesitter/nvim-treesitter-textobjects", + dependencies = { "nvim-treesitter", }, + config = function() + require 'nvim-treesitter.configs'.setup({ + textobjects = { + move = { + enable = true, + set_jumps = true, -- whether to set jumps in the jumplist + goto_next = { + ["]]"] = { query = { "@block.outer", "@function.outer", "@class.outer", } }, + }, + goto_previous = { + ["[["] = { query = { "@block.outer", "@function.outer", "@class.outer", } }, + } + }, + }, + }) + + local ts_repeat_move = require "nvim-treesitter.textobjects.repeatable_move" + + -- Repeat movement with ; and , + -- ensure ; goes forward and , goes backward regardless of the last direction + vim.keymap.set({ "n", "x", "o" }, ";", ts_repeat_move.repeat_last_move_previous) + vim.keymap.set({ "n", "x", "o" }, ",", ts_repeat_move.repeat_last_move_next) + end + } + +} diff --git a/configs/nvim/lua/aleidk/plugins/trouble.lua b/Configs/nvim/.config/nvim/lua/aleidk/plugins/trouble.lua similarity index 100% rename from configs/nvim/lua/aleidk/plugins/trouble.lua rename to Configs/nvim/.config/nvim/lua/aleidk/plugins/trouble.lua diff --git a/configs/nvim/snippets/global.json b/Configs/nvim/.config/nvim/snippets/global.json similarity index 100% rename from configs/nvim/snippets/global.json rename to Configs/nvim/.config/nvim/snippets/global.json diff --git a/Configs/nvim_old/.config/nvim_old/after/queries/blade/highlights.scm b/Configs/nvim_old/.config/nvim_old/after/queries/blade/highlights.scm new file mode 100644 index 0000000..29bec30 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/after/queries/blade/highlights.scm @@ -0,0 +1,9 @@ +(directive) @function +(directive_start) @function +(directive_end) @function +(comment) @comment +((parameter) @include (#set! "priority" 110)) +((php_only) @include (#set! "priority" 110)) +((bracket_start) @function (#set! "priority" 120)) +((bracket_end) @function (#set! "priority" 120)) +(keyword) @function diff --git a/Configs/nvim_old/.config/nvim_old/after/queries/blade/injections.scm b/Configs/nvim_old/.config/nvim_old/after/queries/blade/injections.scm new file mode 100644 index 0000000..0fde1fd --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/after/queries/blade/injections.scm @@ -0,0 +1,3 @@ +((php) @injection.content + (#set! injection.combined) + (#set! injection.language php)) diff --git a/Configs/nvim_old/.config/nvim_old/init.lua b/Configs/nvim_old/.config/nvim_old/init.lua new file mode 100644 index 0000000..2925f22 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/init.lua @@ -0,0 +1,7 @@ +-- Loadnoptions before anything +require("aleidk.options") + +require("aleidk.lazy") + +require("aleidk.keymaps") +require("aleidk.autocmds") diff --git a/Configs/nvim_old/.config/nvim_old/lazy-lock.json b/Configs/nvim_old/.config/nvim_old/lazy-lock.json new file mode 100644 index 0000000..507d965 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lazy-lock.json @@ -0,0 +1,57 @@ +{ + "LuaSnip": { "branch": "master", "commit": "0f7bbce41ea152a94d12aea286f2ce98e63c0f58" }, + "blink.cmp": { "branch": "main", "commit": "81069e3955a8b4d5063287a2a6a47a844e9ca2cb" }, + "blink.compat": { "branch": "main", "commit": "08943fdf2eb00432d6205db6d0239434135416bd" }, + "catppuccin": { "branch": "main", "commit": "faf15ab0201b564b6368ffa47b56feefc92ce3f4" }, + "ccc.nvim": { "branch": "main", "commit": "7c639042583c7bdc7ce2e37e5a0e0aa6d0659c6a" }, + "comment-box.nvim": { "branch": "main", "commit": "06bb771690bc9df0763d14769b779062d8f12bc5" }, + "conform.nvim": { "branch": "master", "commit": "a203480a350b03092e473bf3001733d547160a73" }, + "copilot-lualine": { "branch": "main", "commit": "f40450c3e138766026327e7807877ea860618258" }, + "dressing.nvim": { "branch": "master", "commit": "fc78a3ca96f4db9f8893bb7e2fd9823e0780451b" }, + "friendly-snippets": { "branch": "main", "commit": "de8fce94985873666bd9712ea3e49ee17aadb1ed" }, + "gitsigns.nvim": { "branch": "main", "commit": "5f808b5e4fef30bd8aca1b803b4e555da07fc412" }, + "grapple.nvim": { "branch": "main", "commit": "b41ddfc1c39f87f3d1799b99c2f0f1daa524c5f7" }, + "indent-blankline.nvim": { "branch": "master", "commit": "7871a88056f7144defca9c931e311a3134c5d509" }, + "lazy.nvim": { "branch": "main", "commit": "56ead98e05bb37a4ec28930a54d836d033cf00f2" }, + "lazydev.nvim": { "branch": "main", "commit": "f59bd14a852ca43db38e3662395354cb2a9b13e0" }, + "lualine.nvim": { "branch": "master", "commit": "2a5bae925481f999263d6f5ed8361baef8df4f83" }, + "luvit-meta": { "branch": "main", "commit": "57d464c4acb5c2e66bd4145060f5dc9e96a7bbb7" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "43894adcf10bb1190c2184bd7c1750e8ea2b3dce" }, + "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" }, + "mini.clue": { "branch": "main", "commit": "8e329f586a7cfd06085859066a4b60965fc4ecce" }, + "mini.comment": { "branch": "main", "commit": "03c13e37318bdb18481311c0ac1adc9ed731caf1" }, + "mini.surround": { "branch": "main", "commit": "0e67c4bc147f2a15cee94e7c94dcc0e115b9f55e" }, + "neogen": { "branch": "main", "commit": "dc50715c009f89b8111197fd2f282f6042daa7ea" }, + "noice.nvim": { "branch": "main", "commit": "c6f6fb178ebe9b4fd90383de743c3399f8c3a37c" }, + "nui.nvim": { "branch": "main", "commit": "b58e2bfda5cea347c9d58b7f11cf3012c7b3953f" }, + "nvim-autopairs": { "branch": "master", "commit": "b464658e9b880f463b9f7e6ccddd93fb0013f559" }, + "nvim-lint": { "branch": "master", "commit": "6b46370d02cd001509a765591a3ffc481b538794" }, + "nvim-lspconfig": { "branch": "master", "commit": "4ae9796c4e95ca84ec77946a9f9089b8f1a3eec9" }, + "nvim-notify": { "branch": "master", "commit": "fbef5d32be8466dd76544a257d3f3dce20082a07" }, + "nvim-treesitter": { "branch": "master", "commit": "8d4fdc5e47e2a4e00179e43f56221250ce365973" }, + "nvim-treesitter-context": { "branch": "master", "commit": "6b081ea63a3711243d11540ce28ccdb6f35ecd33" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "ad8f0a472148c3e0ae9851e26a722ee4e29b1595" }, + "nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" }, + "nvim-ts-context-commentstring": { "branch": "main", "commit": "9c74db656c3d0b1c4392fc89a016b1910539e7c0" }, + "nvim-web-devicons": { "branch": "master", "commit": "edbe0a65cfacbbfff6a4a1e98ddd60c28c560509" }, + "overseer.nvim": { "branch": "master", "commit": "10ee48ff96c8d1049efb278ea4c8cf9f3b0e4326" }, + "plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" }, + "remote-nvim.nvim": { "branch": "main", "commit": "66fc20fd259401c7bb6ac5189ecb6283c2eb65d2" }, + "remote-sshfs.nvim": { "branch": "main", "commit": "03f6c40c4032eeb1ab91368e06db9c3f3a97a75d" }, + "render-markdown": { "branch": "main", "commit": "6096cf3608b576a38fd1396227dbc0473091714d" }, + "smart-splits.nvim": { "branch": "master", "commit": "fc7bb00fe67ab504356bed4310d23c2e4cb4b06b" }, + "telescope-fzf-native.nvim": { "branch": "main", "commit": "cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" }, + "telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" }, + "todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" }, + "treesj": { "branch": "main", "commit": "03415ac60791d48e120a80d37e080744faf3ac15" }, + "trouble.nvim": { "branch": "main", "commit": "46cf952fc115f4c2b98d4e208ed1e2dce08c9bf6" }, + "ts-node-action": { "branch": "master", "commit": "6d3b60754fd87963d70eadaa2f77873b447eac26" }, + "typescript-tools.nvim": { "branch": "master", "commit": "346062e8cd06e82776b60785a040dfbbdcb6de77" }, + "undotree": { "branch": "master", "commit": "78b5241191852ffa9bb5da5ff2ee033160798c3b" }, + "vim-dadbod": { "branch": "master", "commit": "fe5a55e92b2dded7c404006147ef97fb073d8b1b" }, + "vim-dadbod-completion": { "branch": "master", "commit": "da0e75c09c27a82aad078d993bb1b2f4afd43427" }, + "vim-dadbod-ui": { "branch": "master", "commit": "28a16902cb2134c934b85da5250033ee43b0dee5" }, + "vim-illuminate": { "branch": "master", "commit": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa" }, + "vim-sleuth": { "branch": "master", "commit": "be69bff86754b1aa5adcbb527d7fcd1635a84080" }, + "yazi.nvim": { "branch": "main", "commit": "053867916a9be3cb46f84b6f095ee731bbddd213" } +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/autocmds.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/autocmds.lua new file mode 100644 index 0000000..22c9fbd --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/autocmds.lua @@ -0,0 +1,10 @@ +-- Highlight on yank +-- See `:help vim.highlight.on_yank()` +local highlight_group = vim.api.nvim_create_augroup("YankHighlight", { clear = true }) +vim.api.nvim_create_autocmd("TextYankPost", { + callback = function() + vim.highlight.on_yank() + end, + group = highlight_group, + pattern = "*", +}) diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/constants.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/constants.lua new file mode 100644 index 0000000..52cdd9f --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/constants.lua @@ -0,0 +1,63 @@ +return { + icons = { + misc = { + pint = " ", + }, + dap = { + Stopped = { "󰁕 ", "DiagnosticWarn", "DapStoppedLine" }, + Breakpoint = " ", + BreakpointCondition = " ", + BreakpointRejected = { " ", "DiagnosticError" }, + LogPoint = ".>", + }, + diagnostics = { + Error = " ", + Warn = " ", + Hint = " ", + Info = " ", + }, + git = { + added = " ", + modified = " ", + removed = " ", + branch = "", + }, + kinds = { + Array = " ", + Boolean = " ", + Class = " ", + Color = " ", + Constant = " ", + Constructor = " ", + Copilot = " ", + Enum = " ", + EnumMember = " ", + Event = " ", + Field = " ", + File = " ", + Folder = " ", + Function = " ", + Interface = " ", + Key = " ", + Keyword = " ", + Method = " ", + Module = " ", + Namespace = " ", + Null = " ", + Number = " ", + Object = " ", + Operator = " ", + Package = " ", + Property = " ", + Reference = " ", + Snippet = " ", + String = " ", + Struct = " ", + Text = " ", + TypeParameter = " ", + Unit = " ", + Value = " ", + Variable = " ", + }, + }, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/keymaps.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/keymaps.lua new file mode 100644 index 0000000..fde7c73 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/keymaps.lua @@ -0,0 +1,77 @@ +-- [[ Basic Keymaps ]] + +function MAP(mode, l, r, desc) + vim.keymap.set(mode, l, r, { desc = desc, silent = true }) +end + +function ReloadModule(module) + package.loaded[module] = nil + require(module) +end + +local function default(desc) + return { + silent = true, + desc = desc, + } +end + +local function fixIndentation() + local indent = 2 + vim.opt.tabstop = indent + vim.opt.shiftwidth = indent + vim.opt.softtabstop = indent + + vim.cmd("retab") +end + +-- Keymaps for better default experience +-- See `:help vim.keymap.set()` +vim.keymap.set({ "n", "v" }, "", "", { silent = true }) + +-- vim.keymap.set("n", "", "w", default("Keep cursor centered while junping")) + +-- Remap for dealing with word wrap +vim.keymap.set("n", "k", "v:count == 0 ? 'gk' : 'k'", { expr = true, silent = true }) +vim.keymap.set("n", "j", "v:count == 0 ? 'gj' : 'j'", { expr = true, silent = true }) + +vim.keymap.set("n", "J", "mzJ`z", default("Keep cursor in column while joining lines")) + +vim.keymap.set("n", "|", ":vs", default("Open vsplit")) +vim.keymap.set("n", "°", ":sp", default("Open split")) + +vim.keymap.set("n", "", "zz", default("Keep cursor centered while junping")) +vim.keymap.set("n", "", "zz", default("Keep cursor centered while junping")) + +vim.keymap.set("n", "n", "nzzzv", default("Keep cursor centered while searching")) +vim.keymap.set("n", "N", "Nzzzv", default("Keep cursor centered while searching")) + +vim.keymap.set("n", "Q", "", {}) + +vim.keymap.set( + "n", + "rw", + [[:%s/\<\>//gI]], + default("Search and replace current word") +) + +-- vim.keymap.set("n", "rR", ":s/", default("Search and replace inline")) +-- vim.keymap.set("n", "rr", ":%s/", default("Search and replace globally")) +-- vim.keymap.set("v", "r", ":s/", default("Search and replace in selection")) + +vim.keymap.set("v", "p", [["_dP]], default("Paste without lossing yanked text")) + +vim.keymap.set("v", "J", ":m '>+1gv=gv", default("Move selection down")) +vim.keymap.set("v", "K", ":m '<-2gv=gv", default("Move selection up")) +vim.keymap.set("n", "uI", fixIndentation, default("Fix indentation")) +vim.keymap.set("n", "uO", function() ReloadModule('aleidk.options') end, + default("Reload the options configuration")) + +vim.keymap.set("n", "uh", ":nohl", default("Remove search highlight")) + +vim.keymap.set("t", "", "", default("Exit insert mode on terminal")) + +vim.keymap.set("n", "bc", "bd", default("Close buffer")) +vim.keymap.set("n", "bh", "bp", default("Prev buffer")) +vim.keymap.set("n", "bl", "bn", default("Next buffer")) +vim.keymap.set("n", "bA", "bufdo bd", default("Close all buffers")) diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/lazy.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/lazy.lua new file mode 100644 index 0000000..5557918 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/lazy.lua @@ -0,0 +1,35 @@ +-- Bootstrap lazy.nvim +-- Load this file after options has been set + +local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" +if not (vim.uv or vim.loop).fs_stat(lazypath) then + local lazyrepo = "https://github.com/folke/lazy.nvim.git" + local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath }) + if vim.v.shell_error ~= 0 then + vim.api.nvim_echo({ + { "Failed to clone lazy.nvim:\n", "ErrorMsg" }, + { out, "WarningMsg" }, + { "\nPress any key to exit..." }, + }, true, {}) + vim.fn.getchar() + os.exit(1) + end +end +vim.opt.rtp:prepend(lazypath) + +-- enabled_plugins is injected as a local variable in the top of the file by the dotfile manager +-- See: .dotter/global.toml inside [nvim.files] & [nvim.variables] table +require("lazy").setup({ + spec = { + { import = "aleidk.plugins-core" }, + { import = "aleidk.plugins-base" }, + { import = "aleidk.plugins-ide" }, + }, + + install = { colorscheme = { "catppuccin" } }, + -- checker = { enabled = true }, +}) + +return { + enabled_plugins +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/options.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/options.lua new file mode 100644 index 0000000..6378dc5 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/options.lua @@ -0,0 +1,144 @@ +-- [[ Setting options ]] +-- See `:help vim.o` + +-- Set as the leader key +vim.g.mapleader = " " +vim.g.maplocalleader = " " + +vim.o.diffopt = "vertical,closeoff,filler" + +local opt = vim.opt + +-- stylua: ignore +opt.autowrite = true -- Enable auto write +opt.clipboard = "unnamedplus" -- Sync with system clipboard +opt.completeopt = "menu,menuone,noselect" +opt.conceallevel = 2 -- Hide * markup for bold and italic +opt.confirm = true -- Confirm to save changes before exiting modified buffer +opt.cursorline = true -- Enable highlighting of the current line +opt.expandtab = true -- Use spaces instead of tabs +opt.formatoptions = "jcroqlnt" -- tcqj +opt.grepformat = "%f:%l:%c:%m" +opt.grepprg = "rg --vimgrep" +opt.ignorecase = true -- Ignore case +opt.inccommand = "nosplit" -- preview incremental substitute +opt.laststatus = 0 +opt.list = true -- Show some invisible characters (tabs... +opt.mouse = "a" -- Enable mouse mode +opt.number = true -- Print line number +opt.pumblend = 10 -- Popup blend +opt.pumheight = 10 -- Maximum number of entries in a popup +opt.relativenumber = true -- Relative line numbers +opt.scrolloff = 15 -- Lines of context +opt.sessionoptions = { "buffers", "curdir", "tabpages", "winsize" } +opt.shiftround = true -- Round indent +opt.shiftwidth = 2 -- Size of an indent +-- opt.shortmess:append({ W = true, I = true, c = true }) -- INFO: this control the format of some messages +opt.showmode = false -- Dont show mode since we have a statusline +opt.sidescrolloff = 8 -- Columns of context +opt.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shift the text each time +opt.smartcase = true -- Don't ignore case with capitals +opt.smartindent = true -- Insert indents automatically +opt.spelllang = { "en" } +opt.splitbelow = true -- Put new windows below current +opt.splitright = true -- Put new windows right of current +opt.tabstop = 2 -- Number of spaces tabs count for +opt.termguicolors = true -- True color support +opt.timeoutlen = 300 +opt.undofile = true +opt.undolevels = 10000 +opt.updatetime = 200 -- Save swap file and trigger CursorHold +opt.wildmode = "longest,list:full" -- Command-line completion mode +opt.winminwidth = 5 -- Minimum window width +opt.wrap = false -- Disable line wrap + +vim.o.sessionoptions = "blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions" + +local fn = vim.fn + +-- Quickfix customization +function _G.qftf(info) + local items + local ret = {} + -- The name of item in list is based on the directory of quickfix window. + -- Change the directory for quickfix window make the name of item shorter. + -- It's a good opportunity to change current directory in quickfixtextfunc :) + -- + -- local alterBufnr = fn.bufname('#') -- alternative buffer is the buffer before enter qf window + -- local root = getRootByAlterBufnr(alterBufnr) + -- vim.cmd(('noa lcd %s'):format(fn.fnameescape(root))) + -- + if info.quickfix == 1 then + items = fn.getqflist({ id = info.id, items = 0 }).items + else + items = fn.getloclist(info.winid, { id = info.id, items = 0 }).items + end + local limit = 31 + local fnameFmt1, fnameFmt2 = "%-" .. limit .. "s", "…%." .. (limit - 1) .. "s" + local validFmt = "%s │%5d:%-3d│%s %s" + for i = info.start_idx, info.end_idx do + local e = items[i] + local fname = "" + local str + if e.valid == 1 then + if e.bufnr > 0 then + fname = fn.bufname(e.bufnr) + if fname == "" then + fname = "[No Name]" + else + fname = fname:gsub("^" .. vim.env.HOME, "~") + end + -- char in fname may occur more than 1 width, ignore this issue in order to keep performance + if #fname <= limit then + fname = fnameFmt1:format(fname) + else + fname = fnameFmt2:format(fname:sub(1 - limit)) + end + end + local lnum = e.lnum > 99999 and -1 or e.lnum + local col = e.col > 999 and -1 or e.col + local qtype = e.type == "" and "" or " " .. e.type:sub(1, 1):upper() + str = validFmt:format(fname, lnum, col, qtype, e.text) + else + str = e.text + end + table.insert(ret, str) + end + return ret +end + +-- TODO: how to customize? +vim.o.qftf = "{info -> v:lua._G.qftf(info)}" + +vim.filetype.add({ + -- Detect and assign filetype based on the extension of the filename + extension = { + mdx = "mdx", + log = "log", + conf = "conf", + env = "dotenv" + }, + -- Detect and apply filetypes based on the entire filename + filename = { + [".env"] = "dotenv", + ["env"] = "dotenv", + ["tsconfig.json"] = "jsonc", + }, + -- Detect and apply filetypes based on certain patterns of the filenames + pattern = { + -- INFO: Match filenames like - ".env.example", ".env.local" and so on + ["%.env%.[%w_.-]+"] = "dotenv", + [".*%.blade%.php"] = "blade", + [".*%.hurl.*"] = "hurl", + [".*/hypr/.*%.conf"] = "hyprlang", + ['.*/systemd/.*%.(%a+)'] = function(path, bufnr, ext) + vim.print(ext) + local allowed = { "container", "volume", "network", "build", "pod", "kube" } + for _, v in ipairs(allowed) do + if v == ext then + return "ini" + end + end + end, + }, +}) diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/auto-pairs.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/auto-pairs.lua new file mode 100644 index 0000000..883891d --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/auto-pairs.lua @@ -0,0 +1,6 @@ +return { + "windwp/nvim-autopairs", + event = "InsertEnter", + config = true, + opts = {}, -- this is equalent to setup({}) function +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/bookmarks.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/bookmarks.lua new file mode 100644 index 0000000..a68f973 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/bookmarks.lua @@ -0,0 +1,38 @@ +local function select_or_create(search) + local grapple = require("grapple") + + if grapple.exists(search) then + grapple.select(search) + else + grapple.tag() + end +end + +return { + "cbochs/grapple.nvim", + dependencies = { + { "nvim-tree/nvim-web-devicons", lazy = true }, + }, + lazy = false, + cmd = "Grapple", + config = function() + local telescope = require("telescope") + telescope.load_extension("grapple") + end, + keys = { + { "a", "Grapple toggle", desc = "Toggle bookmark for current file" }, + { "D", "Grapple reset", desc = "Delete all bookmarks" }, + { "t", "Grapple toggle_tags", desc = "Toggle bookmarks window" }, + { "T", "Grapple toggle_scopes", desc = "Toggle scopes window" }, + { "n", "Grapple cycle forward", desc = "Next bookmark" }, + { "N", "Grapple cycle backward", desc = "Prev bookmark" }, + { "j", function() select_or_create({ index = 1 }) end, desc = "Go or create bookmark 1" }, + { "k", function() select_or_create({ index = 2 }) end, desc = "Go or create bookmark 2" }, + { "l", function() select_or_create({ index = 3 }) end, desc = "Go or create bookmark 3" }, + { "ñ", function() select_or_create({ index = 4 }) end, desc = "Go or create bookmark 4" }, + { "J", "Grapple tag index=1", desc = "Override bookmark 1" }, + { "K", "Grapple tag index=2", desc = "Override bookmark 2" }, + { "L", "Grapple tag index=3", desc = "Override bookmark 3" }, + { "Ñ", "Grapple tag index=4", desc = "Override bookmark 4" }, + }, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/comments.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/comments.lua new file mode 100644 index 0000000..edd3413 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/comments.lua @@ -0,0 +1,28 @@ +return { + { + "echasnovski/mini.comment", + version = "*", + event = "VeryLazy", + dependencies = { + { "nvim-treesitter/nvim-treesitter-context" }, + }, + opts = { + options = { + custom_commentstring = function() + return require("ts_context_commentstring.internal").calculate_commentstring() + or vim.bo.commentstring + end, + }, + }, + }, + { + "LudoPinelli/comment-box.nvim", + opts = { + outer_blank_lines = true, + }, + keys = { + { "gcb", function() require("comment-box").lcbox() end, { desc = "Create a comment box", mode = { "n", "v" }, } }, + { "gcl", function() require("comment-box").llline() end, { desc = "Create a comment line", mode = { "n", "v" }, } }, + }, + }, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/file-explorer.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/file-explorer.lua new file mode 100644 index 0000000..2f76b72 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/file-explorer.lua @@ -0,0 +1,33 @@ +return { + "mikavilpas/yazi.nvim", + keys = { + { + "e", + "Yazi", + desc = "Open yazi at the current file", + }, + { + -- Open in the current working directory + "E", + "Yazi cwd", + desc = "Open the file manager in nvim's working directory", + }, + }, + opts = { + -- if you want to open yazi instead of netrw, see below for more info + open_for_directories = true, + open_multiple_tabs = true, + floating_window_scaling_factor = 1, + keymaps = { + show_help = '', + open_file_in_vertical_split = '', + open_file_in_horizontal_split = '', + open_file_in_tab = '', + grep_in_directory = '', + cycle_open_buffers = '', + copy_relative_path_to_selected_files = '', + send_to_quickfix_list = '', + change_working_directory = "", + }, + }, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/indent-blankline.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/indent-blankline.lua new file mode 100644 index 0000000..f529305 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/indent-blankline.lua @@ -0,0 +1,30 @@ +return { + -- Add indentation guides even on blank lines + "lukas-reineke/indent-blankline.nvim", + dependencies = { "nvim-treesitter/nvim-treesitter" }, + main = "ibl", + opts = { + -- char = "▏", + indent = { + char = "│", + tab_char = "│", + }, + scope = { + enabled = true, + }, + exclude = { + filetypes = { + "help", + "alpha", + "dashboard", + "neo-tree", + "Trouble", + "lazy", + "mason", + "notify", + "toggleterm", + "lazyterm", + }, + }, + }, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/treesitter.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/treesitter.lua new file mode 100644 index 0000000..c0077f4 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/treesitter.lua @@ -0,0 +1,90 @@ +return { + -- Highlight, edit, and navigate code + "nvim-treesitter/nvim-treesitter", + event = { "BufReadPost", "BufNewFile", "BufWritePre", "VeryLazy" }, + dependencies = { + "nvim-treesitter/nvim-treesitter-textobjects", + "JoosepAlviste/nvim-ts-context-commentstring", + "nvim-treesitter/nvim-treesitter-context", + { "windwp/nvim-ts-autotag", opts = {} }, + }, + build = ":TSUpdate", + config = function() + ---@diagnostic disable-next-line: missing-fields + require("nvim-treesitter.configs").setup({ + -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!) + auto_install = true, + highlight = { enable = true }, + indent = { enable = true }, + incremental_selection = { + enable = true, + }, + textobjects = { + select = { + enable = true, + lookahead = true, -- Automatically jump forward to textobj, similar to targets.vim + keymaps = { + -- You can use the capture groups defined in textobjects.scm + ["aa"] = "@parameter.outer", + ["ia"] = "@parameter.inner", + ["af"] = "@function.outer", + ["if"] = "@function.inner", + ["ac"] = "@class.outer", + ["ic"] = "@class.inner", + }, + }, + move = { + enable = true, + set_jumps = true, -- whether to set jumps in the jumplist + goto_previous = { -- current or last start of object + ["[["] = { query = "@local.scope", query_group = "locals", desc = "Next scope" }, + ["[f"] = "@function.outer", + ["[c"] = "@class.outer", + }, + goto_next = { -- next object end + ["]]"] = { query = "@local.scope", query_group = "locals", desc = "Next scope" }, + ["]f"] = "@function.outer", -- current function end + ["]c"] = "@class.outer", + }, + }, + swap = { + enable = true, + swap_next = { + ["ln"] = "@parameter.inner", + }, + swap_previous = { + ["lN"] = "@parameter.inner", + }, + }, + }, + -- autotag = { enable = true }, + }) + + require('ts_context_commentstring').setup { + enable_autocmd = false, + } + + local ts_repeat_move = require "nvim-treesitter.textobjects.repeatable_move" + + -- Repeat movement with ; and , + -- ensure , goes forward and ; goes backward regardless of the last direction + vim.keymap.set({ "n", "x", "o" }, ",", ts_repeat_move.repeat_last_move_next) + vim.keymap.set({ "n", "x", "o" }, ";", ts_repeat_move.repeat_last_move_previous) + + -- Optionally, make builtin f, F, t, T also repeatable with ; and , + vim.keymap.set({ "n", "x", "o" }, "f", ts_repeat_move.builtin_f_expr, { expr = true }) + vim.keymap.set({ "n", "x", "o" }, "F", ts_repeat_move.builtin_F_expr, { expr = true }) + vim.keymap.set({ "n", "x", "o" }, "t", ts_repeat_move.builtin_t_expr, { expr = true }) + vim.keymap.set({ "n", "x", "o" }, "T", ts_repeat_move.builtin_T_expr, { expr = true }) + + vim.keymap.set("n", "[u", function() + require("treesitter-context").go_to_context() + end, { silent = true, noremap = true, desc = "Go up when context is out of view" }) + + vim.opt.foldmethod = "expr" + vim.opt.foldexpr = "nvim_treesitter#foldexpr()" + + -- Uncoment this line to disable auto folding on file open + vim.cmd("set nofoldenable") + end, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/ui.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/ui.lua new file mode 100644 index 0000000..b587ebb --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/ui.lua @@ -0,0 +1,217 @@ +local icons = require("aleidk.constants").icons + +return { + { + "rcarriga/nvim-notify", + opts = { + render = "compact", + fps = "60", + timeout = 2000, + stages = "slide", + icons = { + DEBUG = "", + TRACE = "✎", + ERROR = icons.diagnostics.Error, + INFO = icons.diagnostics.Info, + WARN = icons.diagnostics.Warn, + } + } + }, + { + -- better imputs + "stevearc/dressing.nvim", + opts = { + input = { + -- handle by noice + enabled = false, + }, + }, + }, + { + "folke/noice.nvim", + event = "VeryLazy", + dependencies = { + "MunifTanjim/nui.nvim", + "rcarriga/nvim-notify", + }, + ---@type NoiceConfig + opts = { + presets = { + bottom_search = true, + long_message_to_split = true, + inc_rename = true, + lsp_doc_border = true, + }, + lsp = { + override = { + -- override the default lsp markdown formatter with Noice + ["vim.lsp.util.convert_input_to_markdown_lines"] = true, + -- override the lsp markdown formatter with Noice + ["vim.lsp.util.stylize_markdown"] = true, + -- override cmp documentation with Noice (needs the other options to work) + ["cmp.entry.get_documentation"] = true, + }, + message = { + view = "mini", + view_search = false, + }, + progress = { + view = "mini_left" + } + }, + ---@type NoiceRouteConfig[] + routes = { + { + -- Don't show these messages + opts = { skip = true }, + filter = { + any = { + { + event = "msg_show", + kind = "search_count", + }, + { + event = "msg_show", + kind = "", + find = "written", -- file saved msg + }, + { + event = "msg_show", + kind = "", + find = "yazi.nvim", + }, + { + event = "msg_show", + kind = "", + find = "%d+ (more|fewer) lines", -- undo/redo msg + }, + } + }, + }, + { + filter = { + event = "notify", + min_height = 15 + }, + view = 'popup', + }, + { + filter = { + event = "notify", + kind = "info" + }, + view = 'mini' + }, + }, + ---@type NoiceConfigViews + views = { + notify = { + merge = true + }, + cmdline_popup = { + position = { + row = 5, + col = "50%", + }, + size = { + width = 60, + height = "auto", + }, + }, + popupmenu = { + relative = "editor", + position = { + row = 8, + col = "50%", + }, + size = { + width = 60, + height = 10, + }, + border = { + style = "rounded", + padding = { 0, 1 }, + }, + win_options = { + winhighlight = { Normal = "Normal", FloatBorder = "DiagnosticInfo" }, + }, + }, + mini_left = { + backend = "mini", + relative = "editor", + align = "left", + timeout = 2000, + reverse = true, + focusable = false, + position = { + row = -1, + col = 0, + }, + size = { + width = "auto", + height = "auto", + max_height = 10, + }, + border = { + style = "none", + }, + zindex = 60, + win_options = { + winbar = "", + foldenable = false, + winblend = 30, + winhighlight = { + Normal = "NoiceMini", + IncSearch = "", + CurSearch = "", + Search = "", + }, + }, + }, + }, + }, + -- stylua: ignore + keys = { + { + "", + function() require("noice").redirect(vim.fn.getcmdline()) end, + mode = "c", + desc = + "Redirect Cmdline" + }, + { + "um", + function() require("noice").cmd("last") end, + desc = + "Messages last" + }, + { + "uM", + function() require("noice").cmd("history") end, + desc = + "Messages all" + }, + { "uX", function() require("noice").cmd("dismiss") end, desc = "Message dismiss all" }, + { + "", + function() if not require("noice.lsp").scroll(4) then return "" end end, + silent = true, + expr = true, + desc = + "Scroll forward", + mode = { + "i", "n", "s" } + }, + { + "", + function() if not require("noice.lsp").scroll(-4) then return "" end end, + silent = true, + expr = true, + desc = + "Scroll backward", + mode = { + "i", "n", "s" } + }, + }, + } +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/undo-tree.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/undo-tree.lua new file mode 100644 index 0000000..ba5adb4 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-base/undo-tree.lua @@ -0,0 +1,13 @@ +return { + { + "mbbill/undotree", + config = function() + vim.g.undotree_WindowLayout = 2 + vim.g.undotree_ShortIndicators = 1 + vim.g.undotree_SetFocusWhenToggle = 1 + end, + keys = { + { "fu", vim.cmd.UndotreeToggle, desc = "Undo tree" }, + }, + }, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/colorscheme.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/colorscheme.lua new file mode 100644 index 0000000..af5c7fc --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/colorscheme.lua @@ -0,0 +1,57 @@ +return { -- Change colors.none if not using a transparent background + "catppuccin/nvim", + name = "catppuccin", + priority = 1000, + config = function() + local utils = require("catppuccin.utils.colors") + + local opts = { + flavour = "macchiato", + transparent_background = true, + integrations = { + aerial = true, + blink_cmp = true, + cmp = true, + gitsigns = true, + indent_blankline = { enabled = true, scope_color = "text", }, + lsp_trouble = true, + mason = true, + noice = true, + notify = true, + }, + custom_highlights = function(colors) + return { + -- Fix colors for cmp + Pmenu = { bg = colors.none, blend = 0 }, + FloatBorder = { bg = colors.none }, + CmpItemMenu = { fg = colors.text, bg = colors.none }, + -- dadbod-ui + NotificationInfo = { bg = colors.none, fg = colors.text }, + NotificationWarning = { bg = colors.none, fg = colors.yellow }, + NotificationError = { bg = colors.none, fg = colors.red }, + + -- for word diff in previews + GitSignsAddInline = { + fg = colors.teal, + bg = utils.darken(colors.teal, 0.4), + style = { "bold" }, + }, + GitSignsDeleteInline = { + fg = colors.red, + bg = utils.darken(colors.red, 0.4), + style = { "bold" }, + }, + GitSignsChangeInline = { + fg = colors.mauve, + bg = utils.darken(colors.mauve, 0.4), + style = { "bold" }, + }, + GitSignsDeleteVirtLn = { bg = colors.none, fg = colors.red }, + } + end, + } + + require("catppuccin").setup(opts) + vim.cmd.colorscheme("catppuccin-macchiato") + end, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/init.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/init.lua new file mode 100644 index 0000000..3501757 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/init.lua @@ -0,0 +1,22 @@ +return { + -- Detect tabstop and shiftwidth automatically + "tpope/vim-sleuth", + { "nvim-tree/nvim-web-devicons", lazy = true }, + { + -- Highlight word under cursor + "RRethy/vim-illuminate", + event = { "BufReadPost", "BufNewFile" }, + opts = { + delay = 200, + filetypes_denylist = { + 'dirbuf', + 'dirvish', + 'fugitive', + 'aerial', + }, + }, + config = function(_, opts) + require("illuminate").configure(opts) + end, + }, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/key-help.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/key-help.lua new file mode 100644 index 0000000..b9c705f --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/key-help.lua @@ -0,0 +1,85 @@ +return { + "echasnovski/mini.clue", + version = "*", + event = "VeryLazy", + config = function() + local miniclue = require("mini.clue") + miniclue.setup({ + triggers = { + -- Leader triggers + { mode = "n", keys = "" }, + { mode = "v", keys = "" }, + { mode = "x", keys = "" }, + + -- Built-in completion + { mode = "i", keys = "" }, + + -- `g` key + { mode = "n", keys = "g" }, + { mode = "x", keys = "g" }, + + -- Marks + { mode = "n", keys = "'" }, + { mode = "n", keys = "`" }, + { mode = "x", keys = "'" }, + { mode = "x", keys = "`" }, + + -- Registers + { mode = "n", keys = '"' }, + { mode = "x", keys = '"' }, + { mode = "i", keys = "" }, + { mode = "c", keys = "" }, + + -- Window commands + { mode = "n", keys = "" }, + + -- `z` key + { mode = "n", keys = "z" }, + { mode = "x", keys = "z" }, + }, + + -- Add a "postkeys" value to activate those keys after others + clues = { + miniclue.gen_clues.builtin_completion(), + miniclue.gen_clues.g(), + miniclue.gen_clues.marks(), + miniclue.gen_clues.registers(), + miniclue.gen_clues.windows(), + miniclue.gen_clues.z(), + + { mode = "n", keys = "", desc = "+Bookmarks" }, + { mode = "n", keys = "n", postkeys = "" }, + { mode = "n", keys = "N", postkeys = "" }, + { mode = "n", keys = "b", desc = "+Buffers" }, + { mode = "n", keys = "bh", postkeys = "b" }, + { mode = "n", keys = "bl", postkeys = "b" }, + { mode = "n", keys = "f", desc = "+Find" }, + { mode = "n", keys = "g", desc = "+Git" }, + { mode = "n", keys = "l", desc = "+LSP" }, + { mode = "n", keys = "r", desc = "+Replace" }, + { mode = "n", keys = "u", desc = "+UI & Config" }, + { mode = "n", keys = "un", desc = "+Noice" }, + { mode = "n", keys = "w", desc = "+Workspace" }, + { mode = "n", keys = "p", desc = "+Run stuff" }, + { mode = "n", keys = "z", desc = "+ZK" }, + { mode = "v", keys = "z", desc = "+ZK" }, + { mode = "v", keys = "a", desc = "+AI" }, + { mode = "n", keys = "a", desc = "+AI" }, + { mode = "n", keys = "g?", desc = "+Print Debug" }, + }, + + -- Clue window settings + window = { + -- Floating window config + config = { + width = "auto", + }, + -- Delay before showing clue window + delay = 200, + -- Keys to scroll inside the clue window + scroll_down = "", + scroll_up = "", + }, + }) + end, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/lualine.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/lualine.lua new file mode 100644 index 0000000..34e872e --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/lualine.lua @@ -0,0 +1,189 @@ +return { + "nvim-lualine/lualine.nvim", + lazy = false, + dependencies = { + "nvim-tree/nvim-web-devicons", + "cbochs/grapple.nvim", + { 'AndreM222/copilot-lualine' } + }, + opts = function() + local icons = require("aleidk.constants").icons + local palete = require("catppuccin.palettes").get_palette "macchiato" + + local function diff_source() + local gitsigns = vim.b.gitsigns_status_dict + if gitsigns then + return { + added = gitsigns.added, + modified = gitsigns.changed, + removed = gitsigns.removed, + } + end + end + + local function position_scrollbar(str) + local sbar = { "▁▁", "▂▂", "▃▃", "▄▄", "▅▅", "▆▆", "▇▇", "██" } + + local curr_line = vim.api.nvim_win_get_cursor(0)[1] + local lines = vim.api.nvim_buf_line_count(0) + local i = math.floor((curr_line - 1) / lines * #sbar) + 1 + return str .. " " .. sbar[i] + end + + local codecompanion_status = require("lualine.component"):extend() + + codecompanion_status.processing = false + codecompanion_status.spinner_index = 1 + + local spinner_symbols = require("copilot-lualine.spinners").bouncing_bar + + -- Initializer + function codecompanion_status:init(options) + codecompanion_status.super.init(self, options) + + local group = vim.api.nvim_create_augroup("CodeCompanionHooks", {}) + + vim.api.nvim_create_autocmd({ "User" }, { + pattern = "CodeCompanionRequest*", + group = group, + callback = function(request) + if request.match == "CodeCompanionRequestStarted" then + self.processing = true + elseif request.match == "CodeCompanionRequestFinished" then + self.processing = false + end + end, + }) + end + + -- Function that runs every time statusline is updated + function codecompanion_status:update_status() + if self.processing then + self.spinner_index = (self.spinner_index % #spinner_symbols) + 1 + return spinner_symbols[self.spinner_index] + else + return nil + end + end + + return { + options = { + theme = "catppuccin", + globalstatus = true, + disabled_filetypes = { statusline = { "dashboard", "alpha" } }, + component_separators = "", + section_separators = "", + }, + sections = { + lualine_a = { + { + "mode", + padding = 0, + fmt = function() + return " " + end, + }, + }, + lualine_b = {}, + lualine_c = { + { "branch", icon = icons.git.branch }, + { + "diff", + symbols = { + added = icons.git.added, + modified = icons.git.modified, + removed = icons.git.removed, + }, + source = diff_source, + }, + { codecompanion_status }, + { + "diagnostics", + symbols = { + error = icons.diagnostics.Error, + warn = icons.diagnostics.Warn, + info = icons.diagnostics.Info, + hint = icons.diagnostics.Hint, + }, + }, + "filetype", + { + "filename", + path = 1, + symbols = { + modified = "●", -- Text to show when the buffer is modified + alternate_file = "#", -- Text to show to identify the alternate file + directory = "", -- Text to show when the buffer is a directory + }, + }, + }, + lualine_x = { + { + "overseer", + }, + { + function() + return require("grapple").statusline() + end, + }, + { + "copilot", + cond = function() + return vim.bo.filetype ~= "codecompanion" + end, + show_colors = true, + symbols = { + status = { + icons = { + enabled = " ", + sleep = " ", -- auto-trigger disabled + disabled = " ", + warning = " ", + unknown = " " + }, + hl = { + enabled = palete.teal, + sleep = palete.lavender, + disabled = palete.subtext0, + warning = palete.peach, + unknown = palete.red + } + }, + spinners = spinner_symbols, + spinner_color = palete.mauve + }, + }, + }, + lualine_y = { + { + -- Macro recording status + function() + return require("noice").api.status.mode.get() + end, + cond = function() + return package.loaded["noice"] and require("noice").api.status.mode.has() + end, + }, + { "searchcount" }, + { "location" }, + { + "progress", + fmt = position_scrollbar, + separator = " ", + padding = 0, + }, + }, + lualine_z = {}, + }, + extensions = { + "lazy", + "fzf", + "man", + "mason", + "quickfix", + "trouble", + "toggleterm", + }, + } + end, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/markdown.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/markdown.lua new file mode 100644 index 0000000..19e36a2 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/markdown.lua @@ -0,0 +1,15 @@ +return { + { + "MeanderingProgrammer/markdown.nvim", + name = "render-markdown", -- Only needed if you have another plugin named markdown.nvim + -- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.nvim' }, -- if you use the mini.nvim suite + -- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.icons' }, -- if you use standalone mini plugins + dependencies = { "nvim-treesitter/nvim-treesitter", "nvim-tree/nvim-web-devicons" }, -- if you prefer nvim-web-devicons + opts = { + file_types = { 'markdown', 'copilot-chat' }, + sign = { + enabled = false, + }, + }, + }, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/smart-splits.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/smart-splits.lua new file mode 100644 index 0000000..a11d29e --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/smart-splits.lua @@ -0,0 +1,67 @@ +-- Move to windows with Ctrl and hjkl +-- Resize to windows with Alt and hjkl +-- Tmux aware +return { + "mrjones2014/smart-splits.nvim", + lazy = false, + build = './kitty/install-kittens.bash', + opts = { ignored_filetypes = { "nofile", "quickfix", "qf", "prompt" }, ignored_buftypes = { "nofile" } }, + keys = { + { + "", + function() + require("smart-splits").move_cursor_left() + end, + desc = "Move to left window", + }, + { + "", + function() + require("smart-splits").move_cursor_down() + end, + desc = "Move to bottom window", + }, + { + "", + function() + require("smart-splits").move_cursor_up() + end, + desc = "Move to upper window", + }, + { + "", + function() + require("smart-splits").move_cursor_right() + end, + desc = "Move to right window", + }, + { + "", + function() + require("smart-splits").resize_left() + end, + desc = "Move to left window", + }, + { + "", + function() + require("smart-splits").resize_down() + end, + desc = "Move to bottom window", + }, + { + "", + function() + require("smart-splits").resize_up() + end, + desc = "Move to upper window", + }, + { + "", + function() + require("smart-splits").resize_right() + end, + desc = "Move to right window", + }, + }, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/surround.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/surround.lua new file mode 100644 index 0000000..2cbb1d3 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/surround.lua @@ -0,0 +1,6 @@ +return { + "echasnovski/mini.surround", + disabled = true, + version = "*", + opts = {}, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/telescope.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/telescope.lua new file mode 100644 index 0000000..5b2a218 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/telescope.lua @@ -0,0 +1,83 @@ +-- Fuzzy Finder (files, lsp, etc) +return { + "nvim-telescope/telescope.nvim", + branch = "0.1.x", + dependencies = { + { "nvim-lua/plenary.nvim" }, + { + -- Blazingly Fast Fuzzy Finder Algorithm for Telescope + "nvim-telescope/telescope-fzf-native.nvim", + build = "make", + cond = function() + return vim.fn.executable("make") == 1 + end, + }, + }, + config = function() + local actions = require("telescope.actions") + local telescope = require("telescope") + local builtin = require("telescope.builtin") + + local opts = { + defaults = { + prompt_prefix = " ", + selection_caret = " ", + layout_strategy = "flex", + mappings = { + i = { + [""] = actions.preview_scrolling_up, + [""] = actions.preview_scrolling_down, + [""] = actions.move_selection_next, + [""] = actions.move_selection_previous, + [""] = actions.file_vsplit, + [""] = actions.file_split, + [""] = actions.close, + [""] = actions.send_to_qflist + actions.open_qflist, + [""] = actions.send_selected_to_qflist + actions.open_qflist, + [""] = require("trouble.sources.telescope").open, + [""] = require("trouble.sources.telescope").open, + [""] = actions.which_key, + }, + }, + }, + pickers = { + find_files = { + hidden = true, + }, + }, + } + telescope.setup(opts) + + -- Enable telescope fzf native, if installed + pcall(telescope.load_extension, "fzf") + + vim.keymap.set("n", "fb", builtin.buffers, { desc = "Find buffers" }) + vim.keymap.set("n", "ff", builtin.find_files, { desc = "Find files" }) + vim.keymap.set("n", "fF", function() + builtin.find_files({ hidden = true, no_ignore = true }) + end, { desc = "Find all files" }) + + -- Search inside files + vim.keymap.set("n", "fw", builtin.grep_string, { desc = "Find word under cursor" }) + vim.keymap.set("n", "fW", builtin.live_grep, { desc = "Find word (live grep)" }) + + -- Help + vim.keymap.set("n", "fc", builtin.command_history, { desc = "Find in commands history" }) + vim.keymap.set("n", "fC", builtin.commands, { desc = "Find a command" }) + vim.keymap.set("n", "fh", builtin.help_tags, { desc = "Find Help" }) + vim.keymap.set("n", "fk", builtin.keymaps, { desc = "Find Keymaps" }) + + -- Git + vim.keymap.set("n", "gb", builtin.git_branches, { desc = "Change branch" }) + + -- Diagnosticos + -- Disabled, handle by trouble + -- vim.keymap.set("n", "fD", function() + -- builtin.diagnostics({ bufnr = 0 }) + -- end, { desc = "Find diagnostics (Telescope)" }) + -- vim.keymap.set("n", "fD", function() + -- builtin.diagnostics({ bufnr = nil }) + -- end, { desc = "Find diagnostics in workspace (Telescope)" }) + -- vim.keymap.set("n", "fz", builtin.spell_suggest, { desc = "Find spell suggestion" }) + end, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/todo-comments.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/todo-comments.lua new file mode 100644 index 0000000..d9044cd --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-core/todo-comments.lua @@ -0,0 +1,12 @@ +return { + "folke/todo-comments.nvim", + cmd = { "TodoTrouble", "TodoTelescope" }, + event = { "BufReadPost", "BufNewFile" }, + config = true, + keys = { + { "]t", function() require("todo-comments").jump_next() end, desc = "Next todo comment" }, + { "[t", function() require("todo-comments").jump_prev() end, desc = "Previous todo comment" }, + { "ft", "TodoTrouble", desc = "Find todos (Trouble)" }, + { "fT", "TodoTelescope", desc = "Find todos (Telescope)" }, + }, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/color-picker.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/color-picker.lua new file mode 100644 index 0000000..626f66f --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/color-picker.lua @@ -0,0 +1,14 @@ +return { + { + -- Color Picker + "uga-rosa/ccc.nvim", + opts = { + auto_enable = true, + lsp = true, + }, + keys = { + { "uc", "CccPick", desc = "Open Color picker" }, + { "uC", "CccHighlighterToggle", desc = "Toggle Color highlight" }, + }, + }, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/completion.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/completion.lua new file mode 100644 index 0000000..4153d4d --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/completion.lua @@ -0,0 +1,92 @@ +return { + "saghen/blink.cmp", + lazy = false, + version = "*", + dependencies = { + "rafamadriz/friendly-snippets", + "folke/lazydev.nvim", + { "saghen/blink.compat", version = "*", }, + }, + opts = function() + local window_options = { + border = "rounded", + winblend = vim.o.pumblend, + } + + ---@module 'blink.cmp' + ---@type blink.cmp.Config + return { + sources = { + providers = { + dadbod = { name = "Dadbod", module = "vim_dadbod_completion.blink" }, + lazydev = { name = "LazyDev", module = "lazydev.integrations.blink" }, + luasnip = { + name = 'luasnip', + module = 'blink.compat.source', + score_offset = -3, + opts = { + use_show_condition = false, + show_autosnippets = true, + }, + }, + }, + -- nvim-cmp sources + compat = {}, + completion = { + enabled_providers = { + "lsp", + "path", + "snippets", + "buffer", + "dadbod", + "lazydev", + }, + }, + }, + accept = { + auto_brackets = { enabled = true }, + expand_snippet = function(snippet) require('luasnip').lsp_expand(snippet) end, + }, + -- trigger = { signature_help = { enabled = true } }, + keymap = { + preset = "enter", + [""] = { 'select_next', 'fallback' }, + [""] = { 'select_prev', 'fallback' }, + [""] = { 'scroll_documentation_up', 'fallback' }, + [""] = { 'scroll_documentation_down', 'fallback' }, + }, + highlight = { + -- sets the fallback highlight groups to nvim-cmp's highlight groups + -- useful for when your theme doesn't support blink.cmp + -- will be removed in a future release, assuming themes add support + use_nvim_cmp_as_default = false, + }, + -- set to 'mono' for 'Nerd Font Mono' or 'normal' for 'Nerd Font' + -- adjusts spacing to ensure icons are aligned + nerd_font_variant = "mono", + windows = { + autocomplete = vim.tbl_extend("force", window_options, { + selection = "manual", + ---@type blink.cmp.Draw + draw = { + components = { + kind_icon = { + text = function(ctx) + return ctx.kind_icon .. ctx.icon_gap + end, + } + } + } + }), + documentation = vim.tbl_extend("force", window_options, { + auto_show = true, + winblend = 0, + }), + ghost_text = { + enabled = true, + }, + }, + kind_icons = require("aleidk.constants").icons.kinds, + } + end +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/database.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/database.lua new file mode 100644 index 0000000..175697b --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/database.lua @@ -0,0 +1,44 @@ +return { + "kristijanhusak/vim-dadbod-ui", + dependencies = { + { "tpope/vim-dadbod", lazy = true }, + { "kristijanhusak/vim-dadbod-completion", ft = { "sql", "mysql", "plsql" }, lazy = true }, + }, + cmd = { + "DBUI", + "DBUIToggle", + "DBUIAddConnection", + "DBUIFindBuffer", + }, + keys = { + { "ud", "DBUIToggle", desc = "Toggle DB UI" }, + }, + init = function() + -- Your DBUI configuration + vim.g.db_ui_use_nerd_fonts = 1 + vim.g.db_ui_force_echo_notifications = 1 + + vim.api.nvim_create_autocmd("FileType", { + pattern = { + "sql", + "mysql", + "plsql", + }, + command = [[setlocal omnifunc=vim_dadbod_completion#omni]], + }) + + vim.api.nvim_create_autocmd("FileType", { + pattern = { + "sql", + "mysql", + "plsql", + }, + callback = function() + ---@diagnostic disable-next-line: missing-fields + require("cmp").setup.buffer({ + sources = { { name = "vim-dadbod-completion" }, { name = "buffer" } }, + }) + end, + }) + end, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/doc-gen.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/doc-gen.lua new file mode 100644 index 0000000..199ce62 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/doc-gen.lua @@ -0,0 +1,15 @@ +return { + "danymat/neogen", + opts = { snippet_engine = "luasnip" }, + dependencies = { "nvim-treesitter/nvim-treesitter" }, + version = "*", -- stable releases + keys = { + { + "gcd", + function() + require("neogen").generate() + end, + desc = "Generate comment docstring", + }, + }, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/formatter.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/formatter.lua new file mode 100644 index 0000000..2406d75 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/formatter.lua @@ -0,0 +1,124 @@ +return { + "stevearc/conform.nvim", + event = { "BufWritePre" }, + cmd = { "ConformInfo" }, + opts = { + -- log_level = vim.log.levels.DEBUG, + + -- See aviable formatters in: https://github.com/stevearc/conform.nvim#formatters + -- Formatters can be installed by mason + formatters_by_ft = { + -- Conform will run multiple formatters sequentially + -- Use a stop_after_first = true to run only the first available formatter + -- Use the "_" filetype to run formatters on filetypes that don't + -- have other formatters configured. + ["_"] = { "trim_whitespace" }, + blade = { "blade-formatter" }, + css = { "biome" }, + go = { "gofumpt", "goimports_reviser", "golines" }, + html = { "djlint", "prettierd", stop_after_first = true }, + htmldjango = { "djlint", stop_after_first = true }, + javascript = { "biome" }, + javascriptreact = { "biome" }, + json = { "biome" }, + jsonc = { "biome" }, + lua = { "stylua" }, + markdown = { "markdownlint" }, + nim = { "nimpretty" }, + php = { "pint" }, + python = { "ruff_format", "ruff_organize_imports" }, + scss = { "prettierd", "prettier", stop_after_first = true }, + sh = { "shfmt" }, + toml = { "taplo" }, + typescript = { "biome" }, + typescriptreact = { "biome" }, + xml = { "lemminx" }, + zsh = { "shfmt" }, + sql = { "sleek" } + }, + formatters = { + djlint = { + prepend_args = { + "--format-css", + "--indent-css", + "2", + "--format-js", + "--indent-js", + "2", + "--indent", + "2", + "--preserve-blank-lines", + "--quiet" + } + } + }, + format_on_save = function(bufnr) + -- Disable with a global or buffer-local variable + if vim.g.disable_autoformat or vim.b[bufnr].disable_autoformat then + return + end + + return { timeout_ms = 2000, lsp_fallback = true } + end, + }, + config = function(_, opts) + require("conform").setup(opts) + + local function toggleAutoFormat() + -- to make this global, change b to g + if vim.b.disable_autoformat == nil then + vim.b.disable_autoformat = true + print("Autoformat set to: " .. tostring(not vim.b.disable_autoformat)) + return + end + + vim.b.disable_autoformat = not vim.b.disable_autoformat + print("Autoformat set to: " .. tostring(not vim.b.disable_autoformat)) + end + + MAP("n", "uf", toggleAutoFormat, "Toggle auto format") + + vim.api.nvim_create_user_command("Fmt", function(args) + local range = nil + if args.count ~= -1 then + local end_line = vim.api.nvim_buf_get_lines(0, args.line2 - 1, args.line2, true)[1] + range = { + start = { args.line1, 0 }, + ["end"] = { args.line2, end_line:len() }, + } + end + + local function callback(err, did_edit) + if not did_edit then + vim.notify("The file was not formatted:\n" .. tostring(err), vim.log.levels.ERROR) + return + end + + if args.bang then + vim.cmd("w") + end + end + + require("conform").format( + { + async = true, + lsp_format = "fallback", + range = range, + formatters = args.fargs + }, + callback + ) + end, { + range = true, + bang = true, + force = true, + desc = "Format the document", + nargs = '*', + -- complete = function() + -- local formatters = require('conform').formatters_by_ft + -- + -- return vim.tbl_keys(formatters) + -- end + }) + end, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/git.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/git.lua new file mode 100644 index 0000000..f34672f --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/git.lua @@ -0,0 +1,52 @@ +local const = require("aleidk.constants") + +return { + { + "lewis6991/gitsigns.nvim", + event = { "BufReadPre", "BufNewFile" }, + opts = { + -- See `:help gitsigns.txt` + signcolumn = true, -- Toggle with `:Gitsigns toggle_signs` + numhl = true, -- Toggle with `:Gitsigns toggle_numhl` + linehl = false, -- Toggle with `:Gitsigns toggle_linehl` + word_diff = false, -- Toggle with `:Gitsigns toggle_word_diff` + signs = { + add = { text = const.icons.git.added }, + change = { text = const.icons.git.modified }, + delete = { text = const.icons.git.removed }, + topdelete = { text = const.icons.git.removed }, + changedelete = { text = const.icons.git.removed }, + untracked = { text = "▎" }, + }, + signs_staged = { + add = { text = const.icons.git.added }, + change = { text = const.icons.git.modified }, + delete = { text = const.icons.git.removed }, + topdelete = { text = const.icons.git.removed }, + changedelete = { text = const.icons.git.removed }, + untracked = { text = "▎" }, + }, + on_attach = function(buffer) + local gs = package.loaded.gitsigns + + local function map(mode, l, r, desc) + vim.keymap.set(mode, "g" .. l, r, { buffer = buffer, desc = desc }) + end + + -- stylua: ignore start + map("n", "j", gs.next_hunk, "Next Hunk") + map("n", "k", gs.prev_hunk, "Prev Hunk") + map({ "n", "v" }, "s", ":Gitsigns stage_hunk", "Stage Hunk") + map({ "n", "v" }, "r", ":Gitsigns reset_hunk", "Reset Hunk") + map("n", "u", gs.undo_stage_hunk, "Undo Stage Hunk") + map("n", "R", gs.reset_buffer, "Reset Buffer") + map("n", "", gs.preview_hunk, "Preview Hunk") + map("n", "l", function() gs.blame_line({ full = true }) end, "Blame Line") + map("n", "L", gs.toggle_current_line_blame, "Toggle current line blame") + map("n", "d", gs.toggle_word_diff, "Toggle word diff") + map("n", "h", "diffget", "Diff This with last commit") + map("n", "l", "diffput", "Diff This with last commit") + end, + }, + }, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/init.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/init.lua new file mode 100644 index 0000000..286bfc6 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/init.lua @@ -0,0 +1,21 @@ +return { + { + "ckolkey/ts-node-action", + dependencies = { "nvim-treesitter" }, + opts = {}, + keys = { + { "ls", function() require("ts-node-action").node_action() end, desc = "Node Action" } + } + }, + { + "Wansmer/treesj", + cmd = { "TSJToggle" }, + keys = { + { "lm", "TSJToggle", desc = "Toggle treesitter join" }, + }, + dependencies = { "nvim-treesitter/nvim-treesitter" }, + opts = { + use_default_keymaps = true, + }, + }, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/linters.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/linters.lua new file mode 100644 index 0000000..06aec9f --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/linters.lua @@ -0,0 +1,25 @@ +return { + "mfussenegger/nvim-lint", + event = "VeryLazy", + config = function() + local lint = require("lint") + + lint.linters.gitlint.stdin = true + lint.linters.gitlint.args = { "--contrib", "contrib-title-conventional-commits", "--msg-filename", "-" } + + lint.linters_by_ft = { + -- astro = { "eslint_d" }, + python = { "ruff" }, + sh = { "shellcheck" }, + NeogitCommitMessage = { "gitlint" }, + gitcommit = { "gitlint" }, + markdown = { "markdownlint" }, + } + + vim.api.nvim_create_autocmd({ "BufWritePost" }, { + callback = function() + require("lint").try_lint() + end, + }) + end, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/lsp.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/lsp.lua new file mode 100644 index 0000000..9f3e308 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/lsp.lua @@ -0,0 +1,229 @@ +return { + -- LSP Plugins + { + -- `lazydev` configures Lua LSP for your Neovim config, runtime and plugins + -- used for completion, annotations and signatures of Neovim apis + 'folke/lazydev.nvim', + ft = 'lua', + opts = { + library = { + -- Load luvit types when the `vim.uv` word is found + { path = 'luvit-meta/library', words = { 'vim%.uv' } }, + }, + }, + }, + { "Bilal2453/luvit-meta", lazy = true }, -- optional `vim.uv` typings + { + -- LSP Configuration & Plugins + "neovim/nvim-lspconfig", + event = { "BufReadPost", "BufNewFile", "BufWritePre" }, + dependencies = { + -- Automatically install LSPs to stdpath for neovim + { "williamboman/mason.nvim", config = true }, + "williamboman/mason-lspconfig.nvim", + { 'saghen/blink.cmp' } -- autocompletion + }, + + config = function() + -- LSP settings. + local on_attach = function(_, bufnr) + local nmap = function(keys, func, desc) + if desc then + desc = "LSP: " .. desc + end + + vim.keymap.set("n", keys, func, { buffer = bufnr, desc = desc }) + end + + nmap("lr", vim.lsp.buf.rename, "Rename") + -- stylua: ignore + vim.keymap.set({ "n", "x", "v" }, "la", vim.lsp.buf.code_action, { buffer = bufnr, desc = "Code Action" }) + nmap("ld", vim.lsp.buf.type_definition, "Go to type definition") + nmap("lf", function() + vim.lsp.buf.format() + end, "Format") + + nmap("gd", vim.lsp.buf.definition, "Go to definition") + nmap("gr", require("telescope.builtin").lsp_references, "Goto References") + nmap("gI", vim.lsp.buf.implementation, "Go to Implementation") + + -- See `:help K` for why this keymap + nmap("K", vim.lsp.buf.hover, "Hover Documentation") + -- nmap("", vim.lsp.buf.signature_help, "Signature Documentation") + + -- Lesser used LSP functionality + nmap("gD", vim.lsp.buf.declaration, "Goto Declaration") + + nmap("lj", vim.diagnostic.goto_next, "Go to next diagnostic") + nmap("lk", vim.diagnostic.goto_prev, "Go to prev diagnostic") + nmap("lK", function() + -- execute twice to enter the float inmediatly + vim.diagnostic.open_float() + vim.diagnostic.open_float() + end, "Hover current diagnostic") + + -- Create a command `:Format` local to the LSP buffer + vim.api.nvim_buf_create_user_command(bufnr, "Format", function(_) + vim.lsp.buf.format() + end, { desc = "Format current buffer with LSP" }) + end + + -- Enable the following language servers + -- To see options and cofigurations `:help lspconfig-all` + local servers = { + astro = {}, + bashls = {}, + biome = { + single_file_support = true, + }, + cssls = {}, + dockerls = {}, + emmet_ls = { + filetypes = { + "astro", + "css", + "eruby", + "html", + "htmldjango", + "javascriptreact", + "less", + "pug", + "sass", + "scss", + "svelte", + "typescriptreact", + "vue", + "htmlangular", + "php", + "blade" + }, + }, + harper_ls = {}, + html = {}, + hyprls = {}, + marksman = {}, + phpactor = {}, + gopls = { + settings = { + gopls = { + completeUnimported = true, + usePlaceholders = true, + analyses = { + unusedparams = true, + }, + }, + }, + }, + ruff = {}, + rust_analyzer = { + settings = { + ["rust-analyzer"] = { + imports = { + granularity = { + group = "module", + }, + prefix = "self", + }, + cargo = { + buildScripts = { + enable = true, + }, + }, + procMacro = { + enable = true, + }, + }, + }, + }, + sqlls = {}, + taplo = {}, + yamlls = { + settings = { + yaml = { + schemas = {}, + customTags = { + "!vault" -- ansible encrypted vars support + } + } + }, + }, + lua_ls = { + settings = { + Lua = { + completion = { + callSnippet = 'Replace', + }, + diagnostics = { disable = { 'missing-fields' } }, + }, + }, + }, + } + + -- nvim-cmp supports additional completion capabilities, so broadcast that to servers + local capabilities = vim.lsp.protocol.make_client_capabilities() + capabilities = require("blink.cmp").get_lsp_capabilities(capabilities) + + -- Ensure the servers above are installed + local mason_lspconfig = require("mason-lspconfig") + + mason_lspconfig.setup({ + ensure_installed = vim.tbl_keys(servers), + automatic_installation = false, + }) + + mason_lspconfig.setup_handlers({ + function(server_name) + local _border = "single" + + local default_config = { + capabilities = capabilities, + on_attach = on_attach, + handlers = { + ["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, { + border = _border, + }), + ["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, { + border = _border, + max_width = 200, + max_height = 200, + focus = true, + }), + }, + } + + require("lspconfig")[server_name].setup( + vim.tbl_deep_extend("force", default_config, servers[server_name] or {}) + ) + end, + }) + + vim.diagnostic.config({ + update_in_insert = false, + underline = true, + float = { + source = true + }, + virtual_text = { + severity = vim.diagnostic.severity.ERROR, + source = true, + spacing = -1, + prefix = nil, + format = function(diagnostic) + -- show small error code instead of whole error that probably won't fit in the screen + -- to see the whole error use other keybindings + return tostring(diagnostic.code) + end, + virt_text_hide = true + }, + severity_sort = true, + }) + + -- Customize gutter icons + local signs = require("aleidk.constants").icons.diagnostics + for type, icon in pairs(signs) do + local hl = "DiagnosticSign" .. type + vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl }) + end + end, + }, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/luasnip.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/luasnip.lua new file mode 100644 index 0000000..5f4e132 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/luasnip.lua @@ -0,0 +1,27 @@ +return { + "L3MON4D3/LuaSnip", + dependencies = { + "rafamadriz/friendly-snippets", + config = function() + require("luasnip.loaders.from_vscode").lazy_load() + end, + }, + opts = { + history = true, + delete_check_events = "TextChanged", + }, + -- stylua: ignore + keys = { + { + "", + function() + return require("luasnip").jumpable(1) and "luasnip-jump-next" or "" + end, + expr = true, + silent = true, + mode = "i", + }, + { "", function() require("luasnip").jump(1) end, mode = "s" }, + { "", function() require("luasnip").jump(-1) end, mode = { "i", "s" } }, + }, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/remote-sshfs.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/remote-sshfs.lua new file mode 100644 index 0000000..30f9134 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/remote-sshfs.lua @@ -0,0 +1,59 @@ +return { + { + "nosduco/remote-sshfs.nvim", + dependencies = { "nvim-telescope/telescope.nvim" }, + cmd = { "RemoteSSHFSConnect" }, + config = function() + require("remote-sshfs").setup({}) + require("telescope").load_extension("remote-sshfs") + end, + }, + { + "amitds1997/remote-nvim.nvim", + version = "*", -- Pin to GitHub releases + dependencies = { + "nvim-lua/plenary.nvim", -- For standard functions + "MunifTanjim/nui.nvim", -- To build the plugin UI + "nvim-telescope/telescope.nvim", -- For picking b/w different remote methods + }, + opts = { + remote = { + copy_dirs = { + data = { + base = vim.fn.stdpath("data"), -- Path from where data has to be copied. You can choose to copy entire path or subdirectories inside using `dirs` + dirs = { "lazy" }, -- Directories inside `base` to copy over. If this is set to string "*"; it means entire `base` should be copied over + compression = { + enabled = true, -- Should data be compressed before uploading + additional_opts = { "--exclude-vcs" }, -- Any arguments that can be passed to `tar` for compression can be specified here to improve your compression + }, + }, + -- cache = { + -- base = vim.fn.stdpath("cache"), + -- dirs = {}, + -- compression = { + -- enabled = true, + -- }, + -- }, + state = { + base = vim.fn.stdpath("state"), + dirs = {}, + compression = { + enabled = true, + }, + }, + }, + }, + client_callback = function(port, workspace_config) + local cmd = ("tmux new-window 'nvim --server localhost:%s --remote-ui' && tmux select-window -t:$"):format(port) + vim.fn.jobstart(cmd, { + detach = true, + on_exit = function(job_id, exit_code, event_type) + -- This function will be called when the job exits + print("Client", job_id, "exited with code", exit_code, "Event type:", event_type) + end, + }) + end, + }, + config = true, + } +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/task-runner.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/task-runner.lua new file mode 100644 index 0000000..d91d74e --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/task-runner.lua @@ -0,0 +1,171 @@ +local function term_get_effective_line_count(bufnr) + local linecount = vim.api.nvim_buf_line_count(bufnr) + + local non_blank_lines = linecount + for i = linecount, 1, -1 do + local line = vim.api.nvim_buf_get_lines(bufnr, i - 1, i, true)[1] + non_blank_lines = i + if line ~= "" then + break + end + end + return non_blank_lines +end + +-- This is a copy of the original util function of overseer with the change that +-- vim.api.nvim_win_set_cursor(winid, { lnum, 0 }) column is set to 0 so the output is visible +-- the rest is the same +local scroll_to_end = function(winid) + winid = winid or 0 + local bufnr = vim.api.nvim_win_get_buf(winid) + local lnum = vim.api.nvim_buf_line_count(bufnr) + -- Hack: terminal buffers add a bunch of empty lines at the end. We need to ignore them so that + -- we don't end up scrolling off the end of the useful output. + local not_much_output = lnum < vim.o.lines + 6 + if vim.bo[bufnr].buftype == "terminal" and not_much_output then + lnum = term_get_effective_line_count(bufnr) + end + local scrolloff = vim.api.nvim_get_option_value("scrolloff", { scope = "local", win = winid }) + vim.api.nvim_set_option_value("scrolloff", 0, { scope = "local", win = winid }) + vim.api.nvim_win_set_cursor(winid, { lnum, 0 }) + vim.api.nvim_set_option_value("scrolloff", scrolloff, { scope = "local", win = winid }) +end + +local open_split = function(task, horizontal) + local original_window = vim.api.nvim_get_current_win() + if horizontal then + -- horizontal split across all vertical splits + vim.cmd([[botright split]]) + else + -- vertical split across all horizontal splits + vim.cmd([[vert botright split]]) + end + + -- Update tasks buffer options + vim.api.nvim_win_set_buf(0, task:get_bufnr()) + vim.api.nvim_set_option_value("number", false, { scope = "local", win = 0 }) + vim.api.nvim_set_option_value("relativenumber", false, { scope = "local", win = 0 }) + vim.api.nvim_set_option_value("signcolumn", "no", { scope = "local", win = 0 }) + scroll_to_end(0) + + -- Go back to the original window + vim.api.nvim_set_current_win(original_window) +end + +return { + "stevearc/overseer.nvim", + keys = { + { "pO", "OverseerQuickAction hsplit", desc = "Open task in a hsplit" }, + { + "pQ", + "OverseerQuickAction close winOverseerQuickAction dispose", + desc = "Close and dispose task's windows", + }, + { "pW", "OverseerQuickAction unwatch", desc = "Unwatch task" }, + { "pf", "OverseerQuickAction open float", desc = "Open task in a float window" }, + { "pl", "OverseerLoadBundle", desc = "Load tasks" }, + { "pm", "OverseerTaskAction", desc = "Manage task" }, + { "po", "OverseerQuickAction vsplit", desc = "Open task in a vsplit" }, + { "pp", "OverseerRun", desc = "Run task" }, + { + "pP", + function() + local overseer = require('overseer') + overseer.run_template({}, function(task) + if task then + task:add_components({ "restart_on_save" }) + overseer.run_action(task, "hsplit") + end + end) + end, + desc = "Run task and watch it" + }, + { "pq", "OverseerQuickAction close win", desc = "Close task's windows" }, + { "ps", "OverseerSaveBundle", desc = "Save tasks" }, + { "pt", "OverseerToggle", desc = "Toggle tasks list" }, + { "pw", "OverseerQuickAction watch", desc = "Watch task" }, + }, + opts = { + templates = { + "cargo", + "cargo-make", + "composer", + "deno", + "just", + "mage", + "make", + "mix", + "npm", + "rake", + "task", + "tox", + "vscode", + }, + actions = { + ["hsplit"] = { + desc = "open terminal in a horizontal split", + condition = function(task) + local bufnr = task:get_bufnr() + return bufnr and vim.api.nvim_buf_is_valid(bufnr) + end, + run = function(task) + open_split(task, true) + end, + }, + ["vsplit"] = { + desc = "open terminal in a vertical split", + condition = function(task) + local bufnr = task:get_bufnr() + return bufnr and vim.api.nvim_buf_is_valid(bufnr) + end, + run = function(task) + open_split(task, false) + end, + }, + ["close win"] = { + desc = "open terminal in a vertical split", + condition = function(task) + local bufnr = task:get_bufnr() + return bufnr and vim.api.nvim_buf_is_valid(bufnr) + end, + run = function(task) + local buf = task:get_bufnr() + -- iterar sobre todas las windows y ver si la window tiene attach el buf que quiero cerrar + for _, win in ipairs(vim.api.nvim_list_wins()) do + if buf == vim.api.nvim_win_get_buf(win) then + vim.api.nvim_win_close(win, false) + end + end + end, + }, + }, + task_list = { + direction = "bottom", + bindings = { + ["?"] = "ShowHelp", + ["g?"] = "ShowHelp", + [""] = "RunAction", + [""] = "Edit", + ["o"] = "Open", + [""] = "OpenVsplit", + [""] = "OpenSplit", + [""] = "OpenFloat", + [""] = "OpenQuickFix", + [""] = "TogglePreview", + ["p"] = "TogglePreview", + [""] = "IncreaseAllDetail", + [""] = "DecreaseAllDetail", + ["L"] = "IncreaseDetail", + ["H"] = "DecreaseDetail", + ["["] = "DecreaseWidth", + ["]"] = "IncreaseWidth", + ["{"] = "PrevTask", + ["}"] = "NextTask", + [""] = "ScrollOutputUp", + [""] = "ScrollOutputDown", + ["q"] = "Close", + ["d"] = "OverseerQuickAction dispose", + }, + }, + }, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/trouble.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/trouble.lua new file mode 100644 index 0000000..b7a17bf --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/trouble.lua @@ -0,0 +1,93 @@ +---@module 'trouble' + +return { + "folke/trouble.nvim", + dependencies = { "nvim-tree/nvim-web-devicons" }, + cmd = { "Trouble" }, + keys = { + { + "fD", + "Trouble diagnostics open", + desc = "Find diagnostics (Trouble)", + }, + { + "fd", + "Trouble diagnostics open filter.buf=0", + desc = "Find buffer diagnostics (Trouble)", + }, + { + "ll", + "Trouble symbols open", + desc = "Symbols (Trouble)", + }, + { + "li", + "Trouble lsp open", + desc = "LSP info of node (Trouble)", + }, + { + "fq", + "Trouble qflist open", + desc = "Quickfix List (Trouble)", + }, + }, + opts = function() + ---@type trouble.Window.opts + local win_opts = { + -- size = { width = 30, height = 0.5 }, + minimal = true, + border = "rounded", + position = "bottom", + } + + ---@type trouble.Config + return { + focus = true, + + ---@type trouble.Window.opts + preview = { + type = "split", + relative = "win", + position = "top", + }, + + ---@type table + keys = { + [""] = "jump_close", + [""] = "jump", + ["<2-leftmouse>"] = "jump", + [""] = "jump_split_close", + [""] = "jump_vsplit_close", + ["v"] = "jump_split_close", + ["s"] = "jump_vsplit_close", + [""] = "cancel", -- hack to fool myself into thinking I move to the avobe window + ["a"] = function(view, ctx) + -- TODO: this is not possible until this issue is solved + -- https://github.com/neovim/neovim/issues/31206 + local trouble = require("trouble") + view:action("jump_only") + + vim.lsp.buf.code_action() + + trouble.focus(view, ctx) + end, + }, + win = win_opts, + ---@type table + modes = { + symbols = { + focus = true, + win = win_opts + }, + lsp_references = { + focus = true, + win = win_opts + }, + lsp = { + focus = true, + win = win_opts + }, + } + } + end +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/typescript-tools.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/typescript-tools.lua new file mode 100644 index 0000000..7f106b0 --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/plugins-ide/typescript-tools.lua @@ -0,0 +1,18 @@ +return { + "pmizio/typescript-tools.nvim", + dependencies = { "nvim-lua/plenary.nvim", "neovim/nvim-lspconfig" }, + opts = { + init_options = { + preferences = { + disableSuggestions = true, + }, + }, + settings = { + -- array of strings("fix_all"|"add_missing_imports"|"remove_unused"| + -- "remove_unused_imports"|"organize_imports") -- or string "all" + -- to include all supported code actions + -- specify commands exposed as code_actions + expose_as_code_action = "all", + }, + }, +} diff --git a/Configs/nvim_old/.config/nvim_old/lua/aleidk/utils.lua b/Configs/nvim_old/.config/nvim_old/lua/aleidk/utils.lua new file mode 100644 index 0000000..96d3f8f --- /dev/null +++ b/Configs/nvim_old/.config/nvim_old/lua/aleidk/utils.lua @@ -0,0 +1,7 @@ +local M = {} + +function M.plugin_should_be_enabled() + print("Plugin should be enabled") +end + +return M diff --git a/configs/rofi/config.rasi b/Configs/rofi/.config/rofi/config.rasi similarity index 100% rename from configs/rofi/config.rasi rename to Configs/rofi/.config/rofi/config.rasi diff --git a/configs/rofi/theme.rasi b/Configs/rofi/.config/rofi/theme.rasi similarity index 93% rename from configs/rofi/theme.rasi rename to Configs/rofi/.config/rofi/theme.rasi index e07bb8b..4e0263b 100644 --- a/configs/rofi/theme.rasi +++ b/Configs/rofi/.config/rofi/theme.rasi @@ -81,6 +81,7 @@ listview { border: 0; margin: 10px 0px 0px 20px; columns: 1; + lines: 5; background-color: @bg-col; spacing: 10px; scrollbar: true; @@ -136,14 +137,15 @@ button selected { } message { - border: 0; - margin: 10px 20px 0px 20px; background-color: @surface0; - border-radius: @border-rad; + margin: 2px; + padding: 2px; + border-radius: 5px; } textbox { padding: 6px; - text-color: @fg-col; - font: "JetBrainsMono Nerd Font 10"; + margin: 20px 0px 0px 20px; + text-color: @blue; + background-color: #fff; } diff --git a/configs/sesh/sesh.toml b/Configs/sesh/.config/sesh/sesh.toml similarity index 100% rename from configs/sesh/sesh.toml rename to Configs/sesh/.config/sesh/sesh.toml diff --git a/configs/starship/starship.toml b/Configs/starship/.config/starship.toml similarity index 100% rename from configs/starship/starship.toml rename to Configs/starship/.config/starship.toml diff --git a/configs/swappy/config b/Configs/swappy/.config/swappy/config similarity index 100% rename from configs/swappy/config rename to Configs/swappy/.config/swappy/config diff --git a/configs/swaync/config.json b/Configs/swaync/.config/swaync/config.json similarity index 100% rename from configs/swaync/config.json rename to Configs/swaync/.config/swaync/config.json diff --git a/configs/swaync/style.css b/Configs/swaync/.config/swaync/style.css similarity index 100% rename from configs/swaync/style.css rename to Configs/swaync/.config/swaync/style.css diff --git a/configs/tmux/tmux.conf b/Configs/tmux/.config/tmux.conf similarity index 100% rename from configs/tmux/tmux.conf rename to Configs/tmux/.config/tmux.conf diff --git a/configs/uwsm/env b/Configs/uwsm/.config/uwsm/env similarity index 55% rename from configs/uwsm/env rename to Configs/uwsm/.config/uwsm/env index 609644d..02a9122 100644 --- a/configs/uwsm/env +++ b/Configs/uwsm/.config/uwsm/env @@ -5,10 +5,4 @@ export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 export QT_QPA_PLATFORMTHEME=qt5ct export MOZ_ENABLE_WAYLAND=1 export XCURSOR_SIZE=24 -export GTK_THEME=catppuccin-macchiato-teal-standard-default -export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/rbw/ssh-agent-socket - -export EDITOR=nvim -export VISUAL=nvim - -export TERMINAL=/usr/bin/kitty +export GTK_THEME=catppuccin-macchiato-teal-standard+default diff --git a/configs/vimiv/keys.conf b/Configs/vimiv/.config/vimiv/keys.conf similarity index 100% rename from configs/vimiv/keys.conf rename to Configs/vimiv/.config/vimiv/keys.conf diff --git a/configs/vimiv/styles/default b/Configs/vimiv/.config/vimiv/styles/default similarity index 100% rename from configs/vimiv/styles/default rename to Configs/vimiv/.config/vimiv/styles/default diff --git a/configs/vimiv/styles/material-darker b/Configs/vimiv/.config/vimiv/styles/material-darker similarity index 100% rename from configs/vimiv/styles/material-darker rename to Configs/vimiv/.config/vimiv/styles/material-darker diff --git a/configs/vimiv/vimiv.conf b/Configs/vimiv/.config/vimiv/vimiv.conf similarity index 100% rename from configs/vimiv/vimiv.conf rename to Configs/vimiv/.config/vimiv/vimiv.conf diff --git a/configs/waybar/config.jsonc b/Configs/waybar/.config/waybar/config.jsonc similarity index 89% rename from configs/waybar/config.jsonc rename to Configs/waybar/.config/waybar/config.jsonc index 6c52cb8..8198ba9 100644 --- a/configs/waybar/config.jsonc +++ b/Configs/waybar/.config/waybar/config.jsonc @@ -9,7 +9,7 @@ "margin-left": 10, "margin-right": 10, - "modules-left": ["niri/workspaces", "niri/window"], + "modules-left": ["hyprland/workspaces"], "modules-center": ["clock"], "modules-right": [ "tray", @@ -19,25 +19,11 @@ "backlight", "wireplumber", "battery", - "custom/notification" + "custom/notification", + "custom/power" ], "hyprland/workspaces": { - "all-outputs": false, - "format": "{icon}", - "format-icons": { - "1": "", - "2": "", - "3": "", - "9": "", - "10": "󰌳", - "default": "" - }, - "sort-by-number": true, - "active-only": false - }, - - "niri/workspaces": { "all-outputs": false, "format": "{icon}", "format-icons": { @@ -53,16 +39,6 @@ "sort-by-number": true, "active-only": false }, - - "niri/window": { - "format": "{app_id}: {title}", - "rewrite": { - "(.*): (.*)": "$2", - "brave-browser: (.*) - Brave": "🌎 $1", - "Kitty: (.*)": " $1" - } - }, - "backlight": { "format": "󱩖 {percent}% ", "device": "intel_backlight", diff --git a/configs/waybar/style-bkp.css b/Configs/waybar/.config/waybar/style-bkp.css similarity index 100% rename from configs/waybar/style-bkp.css rename to Configs/waybar/.config/waybar/style-bkp.css diff --git a/configs/waybar/style.css b/Configs/waybar/.config/waybar/style.css similarity index 94% rename from configs/waybar/style.css rename to Configs/waybar/.config/waybar/style.css index edf8db6..9345d25 100644 --- a/configs/waybar/style.css +++ b/Configs/waybar/.config/waybar/style.css @@ -14,12 +14,6 @@ border-radius:5px; } -#window { - border-radius: 20px; - padding-left: 10px; - padding-right: 10px; -} - #workspaces button{ padding: .25rem .5rem; margin-right: .5rem; diff --git a/configs/waybar/sway-bar.sh b/Configs/waybar/.config/waybar/sway-bar.sh similarity index 100% rename from configs/waybar/sway-bar.sh rename to Configs/waybar/.config/waybar/sway-bar.sh diff --git a/configs/waybar/themes/catppuccin-macchiato.css b/Configs/waybar/.config/waybar/themes/catppuccin-macchiato.css similarity index 100% rename from configs/waybar/themes/catppuccin-macchiato.css rename to Configs/waybar/.config/waybar/themes/catppuccin-macchiato.css diff --git a/configs/wezterm/wezterm.lua b/Configs/wezterm/.config/wezterm/wezterm.lua similarity index 87% rename from configs/wezterm/wezterm.lua rename to Configs/wezterm/.config/wezterm/wezterm.lua index 77322fb..1e573da 100644 --- a/configs/wezterm/wezterm.lua +++ b/Configs/wezterm/.config/wezterm/wezterm.lua @@ -4,12 +4,10 @@ local wezterm = require("wezterm") -- This will hold the configuration. local config = wezterm.config_builder() -config.enable_wayland = true - -- This is where you actually apply your config choices -- For example, changing the color scheme: --- config.color_scheme = "Catppuccin Mocha" +config.color_scheme = "Catppuccin Mocha" config.font = wezterm.font("JetBrainsMono Nerd Font") config.integrated_title_button_style = "Gnome" diff --git a/configs/wlogout/icons/hibernate.svg b/Configs/wlogout/.config/wlogout/icons/hibernate.svg similarity index 100% rename from configs/wlogout/icons/hibernate.svg rename to Configs/wlogout/.config/wlogout/icons/hibernate.svg diff --git a/configs/wlogout/icons/lock.svg b/Configs/wlogout/.config/wlogout/icons/lock.svg similarity index 100% rename from configs/wlogout/icons/lock.svg rename to Configs/wlogout/.config/wlogout/icons/lock.svg diff --git a/configs/wlogout/icons/logout.svg b/Configs/wlogout/.config/wlogout/icons/logout.svg similarity index 100% rename from configs/wlogout/icons/logout.svg rename to Configs/wlogout/.config/wlogout/icons/logout.svg diff --git a/configs/wlogout/icons/reboot.svg b/Configs/wlogout/.config/wlogout/icons/reboot.svg similarity index 100% rename from configs/wlogout/icons/reboot.svg rename to Configs/wlogout/.config/wlogout/icons/reboot.svg diff --git a/configs/wlogout/icons/shutdown.svg b/Configs/wlogout/.config/wlogout/icons/shutdown.svg similarity index 100% rename from configs/wlogout/icons/shutdown.svg rename to Configs/wlogout/.config/wlogout/icons/shutdown.svg diff --git a/configs/wlogout/icons/suspend.svg b/Configs/wlogout/.config/wlogout/icons/suspend.svg similarity index 100% rename from configs/wlogout/icons/suspend.svg rename to Configs/wlogout/.config/wlogout/icons/suspend.svg diff --git a/configs/wlogout/layout b/Configs/wlogout/.config/wlogout/layout similarity index 100% rename from configs/wlogout/layout rename to Configs/wlogout/.config/wlogout/layout diff --git a/configs/wlogout/style.css b/Configs/wlogout/.config/wlogout/style.css similarity index 100% rename from configs/wlogout/style.css rename to Configs/wlogout/.config/wlogout/style.css diff --git a/configs/wpaperd/config.toml b/Configs/wpaperd/.config/wpaperd/config.toml similarity index 100% rename from configs/wpaperd/config.toml rename to Configs/wpaperd/.config/wpaperd/config.toml diff --git a/configs/yazi/init.lua b/Configs/yazi/.config/yazi/init.lua similarity index 100% rename from configs/yazi/init.lua rename to Configs/yazi/.config/yazi/init.lua diff --git a/configs/yazi/keymap.toml b/Configs/yazi/.config/yazi/keymap.toml similarity index 99% rename from configs/yazi/keymap.toml rename to Configs/yazi/.config/yazi/keymap.toml index c20f2ca..bcecc1e 100644 --- a/configs/yazi/keymap.toml +++ b/Configs/yazi/.config/yazi/keymap.toml @@ -44,7 +44,6 @@ prepend_keymap = [ { on = ["", "k"], run = "shell 'ya pub-to 0 TransferUpload --list \"$@\"'", desc = "Upload with transfer.nvim" }, { on = ["", "d"], run = ["shell 'ya pub-to 0 DiffRemote --orphan --list \"$@\"'", "quit"], desc = "Diff with transfer.nvim" }, { on = ["", ""], run = ["shell 'ya pub-to 0 TransferDirDiff --list \"$@\"'"], desc = "Diff directory with transfer.nvim" }, - ] [input] diff --git a/configs/yazi/package.toml b/Configs/yazi/.config/yazi/package.toml similarity index 100% rename from configs/yazi/package.toml rename to Configs/yazi/.config/yazi/package.toml diff --git a/configs/yazi/plugins/.keep b/Configs/yazi/.config/yazi/plugins/.keep similarity index 100% rename from configs/yazi/plugins/.keep rename to Configs/yazi/.config/yazi/plugins/.keep diff --git a/configs/yazi/theme.toml b/Configs/yazi/.config/yazi/theme.toml similarity index 100% rename from configs/yazi/theme.toml rename to Configs/yazi/.config/yazi/theme.toml diff --git a/configs/yazi/yazi.toml b/Configs/yazi/.config/yazi/yazi.toml similarity index 95% rename from configs/yazi/yazi.toml rename to Configs/yazi/.config/yazi/yazi.toml index 96b9bac..8c7ce85 100644 --- a/configs/yazi/yazi.toml +++ b/Configs/yazi/.config/yazi/yazi.toml @@ -4,7 +4,7 @@ [mgr] ratio = [1, 3, 4] -sort_by = "natural" +sort_by = "alphabetical" sort_sensitive = false sort_reverse = false sort_dir_first = true @@ -32,7 +32,6 @@ open = [{ run = 'xdg-open "$@"', desc = "Open", for = "linux" }, { run = 'open " reveal = [{ run = 'open -R "$1"', desc = "Reveal", for = "macos" }, { run = 'explorer /select, "%1"', orphan = true, desc = "Reveal", for = "windows" }, { run = '''exiftool "$1"; echo "Press enter to exit"; read''', block = true, desc = "Show EXIF", for = "unix" }] extract = [{ run = 'ya pub extract --list "$@"', desc = "Extract here", for = "unix" }, { run = 'ya pub extract --list %*', desc = "Extract here", for = "windows" }] play = [{ run = 'mpv "$@"', orphan = true, for = "unix" }, { run = 'mpv "%1"', orphan = true, for = "windows" }, { run = '''mediainfo "$1"; echo "Press enter to exit"; read''', block = true, desc = "Show media info", for = "unix" }] -upload_img = [{ run = 'immich upload --recursive "$@" || read -n 1 -p "press anything to exit"', desc = "Upload image to Immich server", for = "linux", block = true }] [open] rules = [ @@ -47,7 +46,7 @@ rules = [ { mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", use = ["extract", "reveal"] }, # Image - { mime = "image/*", use = ["open", "upload_img"] }, + { mime = "image/*", use = ["open", "reveal"] }, # Media { mime = "{audio,video}/*", use = ["play", "open", "reveal"] }, diff --git a/Configs/zed/.config/zed/keymap.json b/Configs/zed/.config/zed/keymap.json new file mode 100644 index 0000000..c175302 --- /dev/null +++ b/Configs/zed/.config/zed/keymap.json @@ -0,0 +1,183 @@ +[ + { + "context": "Editor && (vim_mode == normal || vim_mode == visual) && !VimWaiting && !menu", + "bindings": { + // Git + + // Toggle inlay hints + "space u i": "editor::ToggleInlayHints", + + // NOTE: Toggle Zen mode, not fully working yet + "space u z": "workspace::ToggleZoom", + + // Open recent project + "space f p": "projects::OpenRecent", + // Search word under cursor + "space f w": "pane::DeploySearch", + + // Chat with AI + "space a c": "assistant::ToggleFocus", + + // Go to file with `gf` + "g f": "editor::OpenExcerpts" + } + }, + { + // move context menus with Ctrl + hjkl in completions + "context": "(vim_mode == normal || vim_mode == insert) && (showing_code_actions || showing_completions)", + "bindings": { + "ctrl-h": "editor::ContextMenuPrev", + "ctrl-j": "editor::ContextMenuNext", + "ctrl-k": "editor::ContextMenuPrev", + "ctrl-l": "editor::ContextMenuNext" + } + }, + { + "context": "Editor && (vim_mode == normal || vim_mode == insert)", + "bindings": { + "ctrl-shift-v": "editor::Paste" + } + }, + { + // move context menus with Ctrl + hjkl in menus + "context": "Picker || menu", + "bindings": { + "ctrl-h": "menu::SelectPrev", + "ctrl-j": "menu::SelectNext", + "ctrl-k": "menu::SelectPrev", + "ctrl-l": "menu::SelectNext" + } + }, + { + "context": "Editor && VimControl && !VimWaiting && !menu", + "bindings": { + "|": "pane::SplitVertical", + + // Window movement bindings + // Ctrl jklk to move between panes + "ctrl-h": ["workspace::ActivatePaneInDirection", "Left"], + "ctrl-l": ["workspace::ActivatePaneInDirection", "Right"], + "ctrl-k": ["workspace::ActivatePaneInDirection", "Up"], + "ctrl-j": ["workspace::ActivatePaneInDirection", "Down"], + + "space e": "pane::RevealInProjectPanel", + + // +LSP + "space l a": "editor::ToggleCodeActions", + "space l r": "editor::Rename", + "g d": "editor::GoToDefinition", + "g D": "editor::GoToDefinitionSplit", + "g i": "editor::GoToImplementation", + "g I": "editor::GoToImplementationSplit", + "g t": "editor::GoToTypeDefinition", + "g T": "editor::GoToTypeDefinitionSplit", + "g r": "editor::FindAllReferences", + "space l j": "editor::GoToDiagnostic", + "space l k": "editor::GoToPrevDiagnostic", + + // Symbol search + "space f o": "outline::Toggle", + "space f O": "project_symbols::Toggle", + + // Diagnostic + "space f q": "diagnostics::Deploy", + + // +Git + // Git prev/next hunk + "space g j": "editor::GoToHunk", + "space g k": "editor::GoToPrevHunk", + + // + Buffers + // Switch between buffers + "shift-h": "pane::ActivatePrevItem", + "shift-l": "pane::ActivateNextItem", + + // Close active panel + "space b c": "pane::CloseActiveItem", + "space b d": "pane::CloseActiveItem", + // Close other items + "space b o": "pane::CloseInactiveItems", + // Save file + "ctrl-s": "workspace::Save", + // File finder + "space f f": "file_finder::Toggle", + // Project search + "space f W": "pane::DeploySearch" + } + }, + { + "context": "Editor && vim_mode == visual", + "bindings": { + "shift-j": "editor::MoveLineDown", + "shift-k": "editor::MoveLineUp" + } + }, + // Empty pane, set of keybindings that are available when there is no active editor + { + "context": "(EmptyPane || SharedScreen) && vim_mode != insert", + "bindings": { + // Open file finder + "space f f": "file_finder::Toggle", + // Open recent project + "space f p": "projects::OpenRecent" + } + }, + { + "context": "Workspace", + "bindings": { + "ctrl-t": "terminal_panel::ToggleFocus" + } + }, + { + "context": "Terminal", + "bindings": { + "ctrl-h": ["workspace::ActivatePaneInDirection", "Left"], + "ctrl-l": ["workspace::ActivatePaneInDirection", "Right"], + "ctrl-k": ["workspace::ActivatePaneInDirection", "Up"], + "ctrl-j": ["workspace::ActivatePaneInDirection", "Down"] + } + }, + // File panel (netrw) + { + "context": "ProjectPanel && not_editing", + "bindings": { + "a": "project_panel::NewFile", + "A": "project_panel::NewDirectory", + "r": "project_panel::Rename", + "d": "project_panel::Delete", + "x": "project_panel::Cut", + "c": "project_panel::Copy", + "p": "project_panel::Paste", + "y": "project_panel::CopyRelativePath", + "Y": "project_panel::CopyPath", + "o": ["project_panel::Open", "workspace::toggleLeftDock"], + // Close project panel as project file panel on the right + // Navigate between panel + "ctrl-h": ["workspace::ActivatePaneInDirection", "Left"], + "ctrl-l": ["workspace::ActivatePaneInDirection", "Right"], + "ctrl-k": ["workspace::ActivatePaneInDirection", "Up"], + "ctrl-j": ["workspace ::ActivatePaneInDirection", "Down"], + "space e": "workspace::ToggleLeftDock" + } + }, + // Panel nagivation + { + "context": "Dock", + "bindings": { + "ctrl-w h": ["workspace::ActivatePaneInDirection", "Left"], + "ctrl-w l": ["workspace::ActivatePaneInDirection", "Right"], + "ctrl-w k": ["workspace::ActivatePaneInDirection", "Up"], + "ctrl-w j": ["workspace::ActivatePaneInDirection", "Down"] + } + } + // Subword motion is not working really nice with `ciw`, disable for now + // { + // "context": "VimControl && !menu", + // "bindings": { + // "w": "vim::NextSubwordStart", + // "b": "vim::PreviousSubwordStart", + // "e": "vim::NextSubwordEnd", + // "g e": "vim::PreviousSubwordEnd" + // } + // } +] diff --git a/Configs/zed/.config/zed/private_settings.json b/Configs/zed/.config/zed/private_settings.json new file mode 100644 index 0000000..b0308e0 --- /dev/null +++ b/Configs/zed/.config/zed/private_settings.json @@ -0,0 +1,73 @@ +// Zed settings +// +// For information on how to configure Zed, see the Zed +// documentation: https://zed.dev/docs/configuring-zed +// +// To see all of Zed's default settings without changing your +// custom settings, run `zed: open default settings` from the +// command palette (cmd-shift-p / ctrl-shift-p) +{ + "assistant": { + "default_model": { + "provider": "copilot_chat", + "model": "gpt-4o" + }, + "version": "2" + }, + "vim_mode": true, + "ui_font_size": 16, + "buffer_font_size": 16, + "buffer_font_family": "JetBrainsMono Nerd Font", + "cursor_blink": true, + "use_multiline_find": true, + "use_smartcase_search": true, + "relative_line_numbers": true, + "scroll_beyond_last_line": "vertical_scroll_margin", + "vertical_scroll_margin": 15, + "theme": { + "mode": "system", + "light": "One Light", + "dark": "Catppuccin Macchiato" + }, + "tab_bar": { + "show": true, + "show_nav_history_buttons": false + }, + "tabs": { + "file_icons": true, + "git_status": true + }, + "git": { + "git_gutter": "tracked_files", + "inline_blame": { + "enabled": false + } + }, + "indent_guides": { + "coloring": "indent_aware" + }, + "terminal": { + "copy_on_select": true, + "button": true + }, + "hover_popover_enabled": true, + "inlay_hints": { + "enabled": true + }, + "preview_tabs": { + "enabled": true, + "enable_preview_from_code_navigation": true, + "enable_preview_from_file_finder": false + }, + "scrollbar": { + "show": "auto", + "cursors": false, + "git_diff": false, + "search_results": true, + "selected_symbol": true, + "diagnostics": true + }, + "command_aliases": { + "q": "pane: close all items" + } +} diff --git a/Configs/zed/.config/zed/themes/.keep b/Configs/zed/.config/zed/themes/.keep new file mode 100644 index 0000000..e69de29 diff --git a/configs/zellij/config.kdl b/Configs/zellij/.config/zellij/config.kdl similarity index 100% rename from configs/zellij/config.kdl rename to Configs/zellij/.config/zellij/config.kdl diff --git a/configs/zellij/layouts/code.kdl b/Configs/zellij/.config/zellij/layouts/code.kdl similarity index 100% rename from configs/zellij/layouts/code.kdl rename to Configs/zellij/.config/zellij/layouts/code.kdl diff --git a/configs/zsh/.config/zsh/aliases/aliases.zsh b/Configs/zsh/.config/zsh/aliases/aliases.zsh similarity index 100% rename from configs/zsh/.config/zsh/aliases/aliases.zsh rename to Configs/zsh/.config/zsh/aliases/aliases.zsh diff --git a/configs/zsh/.config/zsh/aliases/configs.zsh b/Configs/zsh/.config/zsh/aliases/configs.zsh similarity index 100% rename from configs/zsh/.config/zsh/aliases/configs.zsh rename to Configs/zsh/.config/zsh/aliases/configs.zsh diff --git a/configs/zsh/.config/zsh/aliases/fzf.zsh b/Configs/zsh/.config/zsh/aliases/fzf.zsh similarity index 100% rename from configs/zsh/.config/zsh/aliases/fzf.zsh rename to Configs/zsh/.config/zsh/aliases/fzf.zsh diff --git a/configs/zsh/.config/zsh/aliases/nvim.zsh b/Configs/zsh/.config/zsh/aliases/nvim.zsh similarity index 100% rename from configs/zsh/.config/zsh/aliases/nvim.zsh rename to Configs/zsh/.config/zsh/aliases/nvim.zsh diff --git a/configs/zsh/.config/zsh/aliases/pnpm.zsh b/Configs/zsh/.config/zsh/aliases/pnpm.zsh similarity index 100% rename from configs/zsh/.config/zsh/aliases/pnpm.zsh rename to Configs/zsh/.config/zsh/aliases/pnpm.zsh diff --git a/configs/zsh/.config/zsh/completion.zsh b/Configs/zsh/.config/zsh/completion.zsh similarity index 100% rename from configs/zsh/.config/zsh/completion.zsh rename to Configs/zsh/.config/zsh/completion.zsh diff --git a/configs/zsh/.config/zsh/completions/_alacritty b/Configs/zsh/.config/zsh/completions/_alacritty similarity index 100% rename from configs/zsh/.config/zsh/completions/_alacritty rename to Configs/zsh/.config/zsh/completions/_alacritty diff --git a/configs/zsh/.config/zsh/completions/_cargo b/Configs/zsh/.config/zsh/completions/_cargo similarity index 100% rename from configs/zsh/.config/zsh/completions/_cargo rename to Configs/zsh/.config/zsh/completions/_cargo diff --git a/configs/zsh/.config/zsh/completions/_chezmoi b/Configs/zsh/.config/zsh/completions/_chezmoi similarity index 100% rename from configs/zsh/.config/zsh/completions/_chezmoi rename to Configs/zsh/.config/zsh/completions/_chezmoi diff --git a/configs/zsh/.config/zsh/completions/_cht b/Configs/zsh/.config/zsh/completions/_cht similarity index 100% rename from configs/zsh/.config/zsh/completions/_cht rename to Configs/zsh/.config/zsh/completions/_cht diff --git a/configs/zsh/.config/zsh/completions/_globdots b/Configs/zsh/.config/zsh/completions/_globdots similarity index 100% rename from configs/zsh/.config/zsh/completions/_globdots rename to Configs/zsh/.config/zsh/completions/_globdots diff --git a/configs/zsh/.config/zsh/completions/_just b/Configs/zsh/.config/zsh/completions/_just similarity index 100% rename from configs/zsh/.config/zsh/completions/_just rename to Configs/zsh/.config/zsh/completions/_just diff --git a/configs/zsh/.config/zsh/completions/_lsd b/Configs/zsh/.config/zsh/completions/_lsd similarity index 100% rename from configs/zsh/.config/zsh/completions/_lsd rename to Configs/zsh/.config/zsh/completions/_lsd diff --git a/configs/zsh/.config/zsh/completions/_rg b/Configs/zsh/.config/zsh/completions/_rg similarity index 100% rename from configs/zsh/.config/zsh/completions/_rg rename to Configs/zsh/.config/zsh/completions/_rg diff --git a/configs/zsh/.config/zsh/completions/_rtx b/Configs/zsh/.config/zsh/completions/_rtx similarity index 100% rename from configs/zsh/.config/zsh/completions/_rtx rename to Configs/zsh/.config/zsh/completions/_rtx diff --git a/configs/zsh/.config/zsh/completions/_rye b/Configs/zsh/.config/zsh/completions/_rye similarity index 100% rename from configs/zsh/.config/zsh/completions/_rye rename to Configs/zsh/.config/zsh/completions/_rye diff --git a/configs/zsh/.config/zsh/completions/_starship b/Configs/zsh/.config/zsh/completions/_starship similarity index 100% rename from configs/zsh/.config/zsh/completions/_starship rename to Configs/zsh/.config/zsh/completions/_starship diff --git a/configs/zsh/.config/zsh/completions/_tea b/Configs/zsh/.config/zsh/completions/_tea similarity index 100% rename from configs/zsh/.config/zsh/completions/_tea rename to Configs/zsh/.config/zsh/completions/_tea diff --git a/configs/zsh/.config/zsh/completions/_tldr b/Configs/zsh/.config/zsh/completions/_tldr similarity index 100% rename from configs/zsh/.config/zsh/completions/_tldr rename to Configs/zsh/.config/zsh/completions/_tldr diff --git a/configs/zsh/.config/zsh/completions/_zellij b/Configs/zsh/.config/zsh/completions/_zellij similarity index 100% rename from configs/zsh/.config/zsh/completions/_zellij rename to Configs/zsh/.config/zsh/completions/_zellij diff --git a/configs/zsh/.config/zsh/functions/fedora.zsh b/Configs/zsh/.config/zsh/functions/fedora.zsh similarity index 100% rename from configs/zsh/.config/zsh/functions/fedora.zsh rename to Configs/zsh/.config/zsh/functions/fedora.zsh diff --git a/configs/zsh/.config/zsh/functions/flatpak.zsh b/Configs/zsh/.config/zsh/functions/flatpak.zsh similarity index 100% rename from configs/zsh/.config/zsh/functions/flatpak.zsh rename to Configs/zsh/.config/zsh/functions/flatpak.zsh diff --git a/configs/zsh/.config/zsh/functions/functions.zsh b/Configs/zsh/.config/zsh/functions/functions.zsh similarity index 100% rename from configs/zsh/.config/zsh/functions/functions.zsh rename to Configs/zsh/.config/zsh/functions/functions.zsh diff --git a/configs/zsh/.zprofile b/Configs/zsh/.zprofile similarity index 100% rename from configs/zsh/.zprofile rename to Configs/zsh/.zprofile diff --git a/configs/zsh/.zshrc b/Configs/zsh/.zshrc similarity index 100% rename from configs/zsh/.zshrc rename to Configs/zsh/.zshrc diff --git a/bin/mb_csv.fish b/bin/mb_csv.fish deleted file mode 100644 index 9e864c8..0000000 --- a/bin/mb_csv.fish +++ /dev/null @@ -1,28 +0,0 @@ - -set -l artist_id $argv[1] - -set -l total 999 -set -l offset 0 - -set -l out "" - - -set query '.["release-groups"][] | [(.["artist-credit"] | (map(.name) | join(";") )), .title, .["first-release-date"], .["primary-type"], (.["secondary-types"] | join(";")), "https://musicbrainz.org/release-group/" + .id] | @csv' - -while test $offset -lt $total; - echo "fetching offset $offset of $total" - - set -l json (curl -SsL -H "Accept: application/json" "http://musicbrainz.org/ws/2/release-group?inc=artist-credits+aliases&release-group-status=website-default&artist=$artist_id&offset=$offset" | tee /tmp/foo.json) - - set total (echo $json | jq -r '.["release-group-count"]') - set offset (math $offset + 25) - - set -l csv (echo $json | jq -r $query | string collect -N) - - set out (string collect -N $out $csv) -end - - -echo $out | wl-copy -n - -echo $out diff --git a/configs/hypr/almighty/hyprland.conf b/configs/hypr/almighty/hyprland.conf deleted file mode 100644 index 759261a..0000000 --- a/configs/hypr/almighty/hyprland.conf +++ /dev/null @@ -1,23 +0,0 @@ -monitorv2 { - output = desc:GWD ARZOPA 000000000000 - mode = 1920x1080@60, transform - position = auto - scale = 1 - transform = 3 # rotate 180° - supports_wide_color = true - supports_hdr = true -} - -monitorv2 { - output = desc:LG Electronics LG ULTRAWIDE 406NTRL99958 - mode = 3440x1440@159.96 - position = auto - supports_wide_color = 1 - supports_hdr = 1 -} - -workspace = 1, monitor:DP-1, persistent:true -workspace = 2, monitor:DP-1, persistent:true -workspace = 3, monitor:DP-1, persistent:true -workspace = 4, monitor:DP-1, persistent:true -workspace = 5, monitor:DP-1, persistent:true diff --git a/configs/hypr/work-laptop/hyprland.conf b/configs/hypr/work-laptop/hyprland.conf deleted file mode 100644 index 4bc1b56..0000000 --- a/configs/hypr/work-laptop/hyprland.conf +++ /dev/null @@ -1,17 +0,0 @@ -monitor = eDP-1, disable - -monitorv2 { - output = HDMI-A-1 - mode = 3440x1440@49.99Hz - position = auto - scale = 1 - supports_wide_color = true - supports_hdr = true -} - -exec-once = [workspace 1 silent] uwsm app -a brave_work -- brave --profile-directory="Default" # work profile -exec-once = [workspace 6 silent] uwsm app -- brave -a brave_personal --profile-directory="Profile 2" # personal profile - -workspace = w[t1], layoutopt:orientation:center -workspace = w[t2-4], layoutopt:orientation:left - diff --git a/configs/keebs/Corne Choc.vil b/configs/keebs/Corne Choc.vil deleted file mode 100644 index c2bb01b..0000000 --- a/configs/keebs/Corne Choc.vil +++ /dev/null @@ -1 +0,0 @@ -{"version": 1, "uid": 5010774632021243529, "layout": [[["LT4(KC_TAB)", "KC_Q", "KC_W", "KC_E", "KC_R", "KC_T", "KC_VOLU"], ["KC_ESCAPE", "LALT_T(KC_A)", "LGUI_T(KC_S)", "LSFT_T(KC_D)", "LCTL_T(KC_F)", "KC_G", "KC_VOLD"], ["KC_LSHIFT", "KC_Z", "KC_X", "KC_C", "KC_V", "KC_B", -1], [-1, -1, -1, "0x5088", "LT4(KC_SPACE)", "FN_MO23", -1], ["KC_LBRACKET", "KC_P", "KC_O", "KC_I", "KC_U", "KC_Y", "KC_PGUP"], ["KC_BSPACE", "LALT_T(KC_SCOLON)", "RGUI_T(KC_L)", "RSFT_T(KC_K)", "RCTL_T(KC_J)", "KC_H", "KC_PGDOWN"], ["KC_RSHIFT", "KC_SLASH", "KC_DOT", "KC_COMMA", "KC_M", "KC_N", -1], [-1, -1, -1, "OSM(MOD_RGUI)", "LT5(KC_ENTER)", "FN_MO13", -1]], [["KC_NO", "KC_NO", "KC_NO", "LSFT(KC_PSCREEN)", "KC_PSCREEN", "KC_NO", "KC_WH_L"], ["KC_TRNS", "KC_LGUI", "KC_LALT", "KC_LSHIFT", "KC_LCTRL", "QK_REPEAT_KEY", "KC_WH_R"], ["KC_TRNS", "KC_UNDO", "KC_CUT", "KC_COPY", "KC_PSTE", "QK_ALT_REPEAT_KEY", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], ["KC_NO", "KC_UNDO", "KC_CUT", "KC_COPY", "KC_PSTE", "KC_AGIN", "KC_WH_U"], ["KC_DELETE", "KC_NO", "KC_RIGHT", "KC_UP", "KC_DOWN", "KC_LEFT", "KC_WH_D"], ["KC_TRNS", "KC_NO", "KC_END", "KC_PGUP", "KC_PGDOWN", "KC_HOME", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1]], [["KC_TRNS", "KC_EQUAL", "LSFT(KC_MINUS)", "LSFT(KC_QUOTE)", "LSFT(KC_BSLASH)", "KC_MINUS", "KC_TRNS"], ["KC_TRNS", "KC_NONUS_BSLASH", "LSFT(KC_NONUS_BSLASH)", "LSFT(KC_8)", "LSFT(KC_9)", "LSFT(KC_2)", "KC_TRNS"], ["KC_TRNS", "LSFT(KC_EQUAL)", "LSFT(KC_1)", "KC_QUOTE", "KC_BSLASH", "RALT(KC_NONUS_HASH)", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], ["RALT(KC_QUOTE)", "RALT(KC_MINUS)", "KC_SLASH", "KC_RBRACKET", "LSFT(KC_7)", "LSFT(KC_RBRACKET)", "KC_TRNS"], ["KC_TRNS", "RALT(KC_RBRACKET)", "LSFT(KC_0)", "LSFT(KC_3)", "LSFT(KC_4)", "KC_GRAVE", "KC_TRNS"], ["KC_TRNS", "LSFT(KC_SLASH)", "LSFT(KC_DOT)", "LSFT(KC_COMMA)", "LSFT(KC_5)", "LSFT(KC_6)", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1]], [["KC_F1", "KC_F2", "KC_F3", "KC_F4", "KC_F5", "KC_F6", "KC_NO"], ["RGB_TOG", "RGB_HUI", "RGB_SAI", "RGB_VAI", "KC_NO", "KC_NO", "KC_NO"], ["DF(0)", "RGB_HUD", "RGB_SAD", "RGB_VAD", "KC_NO", "KC_NO", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], ["KC_F12", "KC_F11", "KC_F10", "KC_F9", "KC_F8", "KC_F7", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "TG(1)", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1]], [["KC_TRNS", "KC_GRAVE", "KC_7", "KC_8", "KC_9", "KC_NO", "KC_NO"], ["KC_TRNS", "KC_LGUI", "KC_4", "KC_5", "KC_6", "KC_NO", "KC_NO"], ["KC_TRNS", "KC_NO", "KC_1", "KC_2", "KC_3", "KC_NO", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], ["KC_TRNS", "KC_GRAVE", "KC_9", "KC_8", "KC_7", "KC_6", "KC_NO"], ["KC_BSPACE", "KC_SLASH", "KC_6", "KC_5", "KC_4", "LSFT(KC_7)", "KC_NO"], ["KC_TRNS", "KC_DOT", "KC_3", "KC_2", "KC_1", "KC_DOT", -1], [-1, -1, -1, "KC_0", "KC_TRNS", "KC_TRNS", -1]], [["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_LGUI", "KC_LALT", "KC_LSHIFT", "KC_LCTRL", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], [-1, -1, -1, "KC_BTN3", "KC_BTN1", "KC_BTN2", -1], ["KC_TRNS", "KC_UNDO", "KC_CUT", "KC_COPY", "KC_PSTE", "KC_AGIN", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_WH_R", "KC_WH_U", "KC_WH_D", "KC_WH_L", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_MS_R", "KC_MS_U", "KC_MS_D", "KC_MS_L", -1], [-1, -1, -1, "KC_NO", "KC_NO", "KC_NO", -1]], [["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1]], [["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1]], [["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1]], [["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1]], [["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1]], [["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1]], [["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1]], [["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1]], [["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1]], [["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1], [-1, -1, -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", -1]]], "encoder_layout": [[["RGB_MOD", "RGB_RMOD"], ["RGB_HUI", "RGB_HUD"], ["RGB_VAI", "RGB_VAD"], ["RGB_SAI", "RGB_SAD"]], [["RGB_MOD", "RGB_RMOD"], ["RGB_HUI", "RGB_HUD"], ["RGB_VAI", "RGB_VAD"], ["RGB_SAI", "RGB_SAD"]], [["RGB_MOD", "RGB_RMOD"], ["RGB_HUI", "RGB_HUD"], ["RGB_VAI", "RGB_VAD"], ["RGB_SAI", "RGB_SAD"]], [["RGB_MOD", "RGB_RMOD"], ["RGB_HUI", "RGB_HUD"], ["RGB_VAI", "RGB_VAD"], ["RGB_SAI", "RGB_SAD"]], [["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"]], [["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"]], [["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"]], [["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"]], [["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"]], [["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"]], [["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"]], [["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"]], [["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"]], [["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"]], [["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"]], [["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"]]], "layout_options": 0, "macro": [[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []], "vial_protocol": 6, "via_protocol": 9, "tap_dance": [["OSL(2)", "FN_MO23", "OSL(4)", "0x5088", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200]], "combo": [["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"]], "key_override": [{"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}, {"trigger": "KC_NO", "replacement": "KC_NO", "layers": 65535, "trigger_mods": 0, "negative_mod_mask": 0, "suppressed_mods": 0, "options": 7}], "alt_repeat_key": [{"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}, {"keycode": "KC_NO", "alt_keycode": "KC_NO", "allowed_mods": 0, "options": 0}], "settings": {"1": 0, "2": 50, "3": 0, "4": 175, "5": 5, "6": 5000, "7": 200, "9": 10, "10": 20, "11": 5, "12": 5, "13": 15, "14": 10, "15": 80, "16": 8, "17": 40, "18": 0, "19": 80, "20": 5, "21": 0, "22": 0, "23": 0, "24": 0, "25": 200, "26": 0, "27": 0}} \ No newline at end of file diff --git a/configs/keebs/keebart_corne_choc_pro_standard_vial.uf2 b/configs/keebs/keebart_corne_choc_pro_standard_vial.uf2 deleted file mode 100644 index 47447c1..0000000 Binary files a/configs/keebs/keebart_corne_choc_pro_standard_vial.uf2 and /dev/null differ diff --git a/configs/keebs/sofle RGB.vil b/configs/keebs/sofle RGB.vil deleted file mode 100644 index a9df287..0000000 --- a/configs/keebs/sofle RGB.vil +++ /dev/null @@ -1 +0,0 @@ -{"version": 1, "uid": 12888985424971681029, "layout": [[["KC_GRAVE", "KC_1", "KC_2", "KC_3", "KC_4", "KC_5"], ["LT4(KC_TAB)", "KC_Q", "KC_W", "KC_E", "KC_R", "KC_T"], ["RCTL_T(KC_ESCAPE)", "LGUI_T(KC_A)", "LALT_T(KC_S)", "LSFT_T(KC_D)", "LCTL_T(KC_F)", "KC_G"], ["KC_LSHIFT", "KC_Z", "KC_X", "KC_C", "KC_V", "KC_B"], ["KC_LALT", "KC_LCTRL", "KC_LGUI", "KC_SPACE", "0x7e40", "KC_MUTE"], ["KC_MINUS", "KC_0", "KC_9", "KC_8", "KC_7", "KC_6"], ["KC_LBRACKET", "KC_P", "KC_O", "KC_I", "KC_U", "KC_Y"], ["KC_BSPACE", "RGUI_T(KC_SCOLON)", "LALT_T(KC_L)", "RSFT_T(KC_K)", "RCTL_T(KC_J)", "KC_H"], ["KC_RSHIFT", "KC_SLASH", "KC_DOT", "KC_COMMA", "KC_M", "KC_N"], ["KC_RALT", "KC_RCTRL", "KC_RGUI", "KC_ENTER", "0x7e41", "KC_NO"]], [["LSFT(KC_GRAVE)", "LSFT(KC_1)", "LSFT(KC_2)", "LSFT(KC_3)", "LSFT(KC_4)", "LSFT(KC_5)"], ["KC_TRNS", "KC_EQUAL", "LSFT(KC_MINUS)", "LSFT(KC_QUOTE)", "LSFT(KC_NONUS_HASH)", "KC_MINUS"], ["KC_TRNS", "KC_NONUS_BSLASH", "LSFT(KC_NONUS_BSLASH)", "LSFT(KC_8)", "LSFT(KC_9)", "LSFT(KC_2)"], ["KC_TRNS", "LSFT(KC_EQUAL)", "LSFT(KC_1)", "KC_QUOTE", "KC_NONUS_HASH", "RALT(KC_NONUS_HASH)"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["LSFT(KC_MINUS)", "LSFT(KC_0)", "LSFT(KC_9)", "LSFT(KC_8)", "LSFT(KC_7)", "LSFT(KC_6)"], ["RALT(KC_QUOTE)", "RALT(KC_MINUS)", "KC_SLASH", "KC_RBRACKET", "LSFT(KC_7)", "LSFT(KC_RBRACKET)"], ["KC_TRNS", "RALT(KC_RBRACKET)", "LSFT(KC_0)", "LSFT(KC_3)", "LSFT(KC_4)", "KC_GRAVE"], ["KC_TRNS", "LSFT(KC_SLASH)", "LSFT(KC_DOT)", "LSFT(KC_COMMA)", "LSFT(KC_5)", "LSFT(KC_6)"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"]], [["KC_F1", "KC_F2", "KC_F3", "KC_F4", "KC_F5", "KC_F6"], ["KC_TRNS", "KC_NO", "KC_NO", "LSFT(KC_PSCREEN)", "KC_PSCREEN", "KC_NO"], ["KC_TRNS", "KC_LGUI", "KC_LALT", "KC_LSHIFT", "KC_LCTRL", "KC_NO"], ["KC_TRNS", "KC_UNDO", "KC_CUT", "KC_COPY", "KC_PSTE", "KC_NO"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_F12", "KC_F11", "KC_F10", "KC_F9", "KC_F8", "KC_F7"], ["KC_BSPACE", "KC_LGUI", "KC_END", "KC_PGUP", "KC_PGDOWN", "KC_HOME"], ["KC_DELETE", "KC_VOLU", "KC_RIGHT", "KC_UP", "KC_DOWN", "KC_LEFT"], ["KC_NO", "KC_VOLD", "KC_MNXT", "KC_MPLY", "KC_MPRV", "KC_HOME"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"]], [["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["QK_BOOT", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["RGB_TOG", "RGB_HUI", "RGB_SAI", "RGB_VAI", "KC_TRNS", "KC_TRNS"], ["RGB_MOD", "RGB_HUD", "RGB_SAD", "RGB_VAD", "KC_NO", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_TRNS"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "LCG(KC_RIGHT)", "KC_NO", "KC_NO", "LCG(KC_LEFT)"], ["KC_NO", "KC_NO", "KC_MNXT", "KC_MPLY", "KC_MPRV", "KC_NO"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_NO"]], [["KC_TRNS", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO"], ["KC_TRNS", "OSM(MOD_MEH)", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_NO", "KC_NO", "KC_KP_9", "KC_KP_8", "KC_KP_7", "KC_TRNS"], ["KC_NO", "LSFT(KC_8)", "KC_KP_6", "KC_KP_5", "KC_KP_4", "LSFT(KC_6)"], ["KC_BSPACE", "KC_EQUAL", "KC_KP_3", "KC_KP_2", "KC_KP_1", "KC_MINUS"], ["KC_TRNS", "KC_SLASH", "KC_KP_DOT", "KC_KP_0", "KC_KP_0", "LSFT(KC_EQUAL)"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"]]], "encoder_layout": [[["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"]], [["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"]], [["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"]], [["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"]], [["KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS"]]], "layout_options": -1, "macro": [[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []], "vial_protocol": 6, "via_protocol": 9, "tap_dance": [["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200], ["KC_NO", "KC_NO", "KC_NO", "KC_NO", 200]], "combo": [], "key_override": [], "alt_repeat_key": [], "settings": {"1": 0, "2": 50, "3": 0, "4": 175, "5": 5, "6": 5000, "7": 200, "18": 10, "19": 80, "20": 5, "21": 0, "22": 0, "23": 0, "24": 0, "25": 200, "26": 0, "27": 0}} \ No newline at end of file diff --git a/configs/kitty/kitty.conf b/configs/kitty/kitty.conf deleted file mode 100644 index d3b2d18..0000000 --- a/configs/kitty/kitty.conf +++ /dev/null @@ -1,192 +0,0 @@ -# vim:fileencoding=utf-8:foldmethod=marker - -# Catppuccin-Macchiato -include current-theme.conf - -font_family JetBrainsMono Nerd Font -font_size 12.0 - -bell_on_tab " " - -remember_window_size yes - -enabled_layouts fat:bias=70,tall:bias=55,stack - -hide_window_decorations yes - -confirm_os_window_close 0 - -tab_bar_edge top - -tab_bar_style separator - -tab_bar_align center - -tab_bar_min_tabs 1 - -tab_separator " │ " - -tab_activity_symbol " " - -tab_title_template "{fmt.fg.orange}{bell_symbol}{activity_symbol}{fmt.fg.tab}{'' if layout_name == 'stack' else '' if layout_name == 'fat' else '' if layout_name == 'tall' else ' '} {index}:{title}" - -allow_remote_control yes -listen_on unix:@mykitty - -wayland_titlebar_color background - - -map ctrl+j neighboring_window down -map ctrl+k neighboring_window up -map ctrl+h neighboring_window left -map ctrl+l neighboring_window right - -# Unset the mapping to pass the keys to neovim -map --when-focus-on var:IS_NVIM ctrl+j -map --when-focus-on var:IS_NVIM ctrl+k -map --when-focus-on var:IS_NVIM ctrl+h -map --when-focus-on var:IS_NVIM ctrl+l - -# the 3 here is the resize amount, adjust as needed -map alt+j kitten relative_resize.py down 3 -map alt+k kitten relative_resize.py up 3 -map alt+h kitten relative_resize.py left 3 -map alt+l kitten relative_resize.py right 3 - -map --when-focus-on var:IS_NVIM alt+j -map --when-focus-on var:IS_NVIM alt+k -map --when-focus-on var:IS_NVIM alt+h -map --when-focus-on var:IS_NVIM alt+l - -map kitty_mod+enter new_window_with_cwd -map ctrl+space>ctrl+enter launch --cwd=root -# map cmd+enter new_window - -#: Close window - -# map kitty_mod+w close_window -# map shift+cmd+d close_window - -# map kitty_mod+] next_window -# map kitty_mod+[ previous_window - -# map kitty_mod+f move_window_forward -# map kitty_mod+b move_window_backward - -# map kitty_mod+` move_window_to_top - -# map kitty_mod+r start_resizing_window -# map cmd+r start_resizing_window - -# map kitty_mod+1 first_window -# map cmd+1 first_window - -# map kitty_mod+2 second_window -# map cmd+2 second_window - -# map kitty_mod+3 third_window -# map cmd+3 third_window - -# map kitty_mod+4 fourth_window -# map cmd+4 fourth_window - -# map kitty_mod+5 fifth_window -# map cmd+5 fifth_window - -# map kitty_mod+6 sixth_window -# map cmd+6 sixth_window - -# map kitty_mod+7 seventh_window -# map cmd+7 seventh_window - -# map kitty_mod+8 eighth_window -# map cmd+8 eighth_window - -# map kitty_mod+9 ninth_window -# map cmd+9 ninth_window - -# map kitty_mod+0 tenth_window - -#: Visually select and focus window - -map ctrl+space>tab focus_visible_window -map ctrl+space>ctrl+tab swap_with_window -map ctrl+space>ctrl+shift+tab detach_window ask - -#: Tab management {{{ - -# map kitty_mod+right next_tab -# map shift+cmd+] next_tab -# map ctrl+tab next_tab - -# map kitty_mod+left previous_tab -# map shift+cmd+[ previous_tab -# map ctrl+shift+tab previous_tab - -map kitty_mod+t new_tab_with_cwd -map ctrl+space>ctrl+t launch --cwd=root --type=tab -# map cmd+t new_tab_with_cwd - -# map kitty_mod+q close_tab -# map cmd+w close_tab - -# map shift+cmd+w close_os_window -# -# map kitty_mod+. move_tab_forward -# map kitty_mod+, move_tab_backward - -# map kitty_mod+alt+t set_tab_title -# map shift+cmd+i set_tab_title -map ctrl+space>shift+r set_tab_title - -map ctrl+space>1 goto_tab 1 -map ctrl+space>2 goto_tab 2 -map ctrl+space>3 goto_tab 3 -map ctrl+space>4 goto_tab 4 -map ctrl+space>5 goto_tab 5 -map ctrl+space>6 goto_tab 6 -map ctrl+space>7 goto_tab 7 -map ctrl+space>8 goto_tab 8 -map ctrl+space>9 goto_tab 9 -map ctrl+space>0 goto_tab 10 - -# map kitty_mod+l next_layout -map ctrl+space>ctrl+l next_layout -map kitty_mod+m zoom - -# map kitty_mod+e open_url_with_hints - -#: Insert selected path -# map kitty_mod+p>f kitten hints --type path --program - - -#: Open selected path -# map kitty_mod+p>shift+f kitten hints --type path - -#: Insert selected line -# map kitty_mod+p>l kitten hints --type line --program - - -#: Insert selected word -# map kitty_mod+p>w kitten hints --type word --program - - -#: Insert selected hash -# map kitty_mod+p>h kitten hints --type hash --program - - -#: Open the selected file at the selected line -# map kitty_mod+p>n kitten hints --type linenum - -#: Open the selected hyperlink -# map kitty_mod+p>y kitten hints --type hyperlink - -# map kitty_mod+f1 show_kitty_doc overview - -#: Reload kitty.conf - -# map kitty_mod+f5 load_config_file -# map ctrl+cmd+, load_config_file -map ctrl+space>ctrl+r load_config_file - - -#: Launch custom programs -map ctrl+space>g launch --cwd=current --type=overlay --var lazy_float=true lazygit -map ctrl+p>ctrl+p launch --cwd=current --type=background fish -c 'split_run --restart' -map ctrl+space>p launch --cwd=current --type=overlay fish -c 'split_run --mask' diff --git a/configs/niri/config.kdl b/configs/niri/config.kdl deleted file mode 100644 index 9581911..0000000 --- a/configs/niri/config.kdl +++ /dev/null @@ -1,490 +0,0 @@ -// ╭─────────────────────────────────────────────────────────╮ -// │ Windows Rules │ -// ╰─────────────────────────────────────────────────────────╯ -window-rule { - // This regular expression is intentionally made as specific as possible, - // since this is the default config, and we want no false positives. - // You can get away with just app-id="wezterm" if you want. - match app-id="^org\\.wezfurlong\\.wezterm$" - default-column-width { - - } -} -// Floatin Windows -window-rule { - match app-id="firefox$" title="^Picture-in-Picture$" - match app-id="^brave-.*-Default$" - // Extensions popup open-floating true -} -window-rule { - match app-id="^org\\.keepassxc\\.KeePassXC$" - match app-id="^org\\.gnome\\.World\\.Secrets$" - // block-out-from "screen-capture" - // Use this instead if you want them visible on third-party screenshot tools. - block-out-from "screencast" -} -window-rule { - match app-id="brave-browser" - match at-startup=true - default-column-width { - proportion 0.75 - } -} -window-rule { - match title="^Meet: .*" app-id="brave-browser" - open-floating true -} -window-rule { - geometry-corner-radius 4 - clip-to-geometry true -} -// ╭─────────────────────────────────────────────────────────╮ -// │ Auto Start Apps │ -// ╰─────────────────────────────────────────────────────────╯ -spawn-at-startup "/usr/lib/pam_kwallet_init" -spawn-at-startup "udieskie" -spawn-at-startup "brave" -// To run a shell command (with variables, pipes, etc.), use spawn-sh-at-startup: -// spawn-sh-at-startup "qs -c ~/source/qs/MyAwesomeShell" -// ╭─────────────────────────────────────────────────────────╮ -// │ System Config │ -// ╰─────────────────────────────────────────────────────────╯ -// ── Layout Config ─────────────────────────────────────────────────── -layout { - gaps 10 - always-center-single-column - center-focused-column "never" - preset-column-widths { - // The default preset widths are 1/3, 1/2 and 2/3 of the output. - proportion 0.33333 - proportion 0.5 - proportion 0.66667 - } - preset-window-heights { - - } - default-column-width { - proportion 0.5 - } - focus-ring { - // Uncomment this line to disable the focus ring. - // off - // How many logical pixels the ring extends out from the windows. - width 2 - active-color "#7fc8ff" - inactive-color "#505050" - } -} -// ── Keybindings ───────────────────────────────────────────────────── -binds { - Mod+Shift+Slash { - show-hotkey-overlay - } - Mod+Return hotkey-overlay-title="Open a Terminal: kitty" { - spawn "kitty" - } - Mod+D hotkey-overlay-title="Run an Application: Rofi" { - spawn "rofi" "-show" "drun" "-run-command" "uwsm app -- {cmd}" - } - XF86AudioRaiseVolume allow-when-locked=true { - spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1+" - } - XF86AudioLowerVolume allow-when-locked=true { - spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1-" - } - XF86AudioMute allow-when-locked=true { - spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" - } - XF86AudioMicMute allow-when-locked=true { - spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle" - } - XF86MonBrightnessUp allow-when-locked=true { - spawn "brightnessctl" "--class=backlight" "set" "+10%" - } - XF86MonBrightnessDown allow-when-locked=true { - spawn "brightnessctl" "--class=backlight" "set" "10%-" - } - // Open/close the Overview: a zoomed-out view of workspaces and windows. - // You can also move the mouse into the top-left hot corner, - // or do a four-finger swipe up on a touchpad. - Mod+A repeat=false { - toggle-overview - } - Mod+Shift+Q repeat=false { - close-window - } - Mod+Tab { - focus-column-right-or-first - } - Mod+shift+Tab { - focus-column-left-or-last - } - Mod+Left { - focus-column-left - } - Mod+Down { - focus-window-or-workspace-down - } - Mod+Up { - focus-window-or-workspace-up - } - Mod+Right { - focus-column-right - } - Mod+H { - focus-column-left - } - Mod+J { - focus-window-or-workspace-down - } - Mod+K { - focus-window-or-workspace-up - } - Mod+L { - focus-column-right - } - Mod+Shift+Left { - move-column-left - } - Mod+Shift+Down { - move-window-down-or-to-workspace-down - } - Mod+Shift+Up { - move-window-up-or-to-workspace-up - } - Mod+Shift+Right { - move-column-right - } - Mod+Shift+H { - move-column-left - } - Mod+Shift+J { - move-window-down-or-to-workspace-down - } - Mod+Shift+K { - move-window-up-or-to-workspace-up - } - Mod+Shift+L { - move-column-right - } - Mod+Home { - focus-column-first - } - Mod+End { - focus-column-last - } - Mod+Ctrl+Home { - move-column-to-first - } - Mod+Ctrl+End { - move-column-to-last - } - Mod+WheelScrollDown cooldown-ms=150 { - focus-column-right - } - Mod+WheelScrollUp cooldown-ms=150 { - focus-column-left - } - Mod+Ctrl+WheelScrollDown cooldown-ms=150 { - move-column-to-workspace-down - } - Mod+Ctrl+WheelScrollUp cooldown-ms=150 { - move-column-to-workspace-up - } - Mod+WheelScrollRight { - focus-column-right - } - Mod+WheelScrollLeft { - focus-column-left - } - Mod+Ctrl+WheelScrollRight { - move-column-right - } - Mod+Ctrl+WheelScrollLeft { - move-column-left - } - Mod+Shift+WheelScrollDown cooldown-ms=150 { - focus-workspace-down - } - Mod+Shift+WheelScrollUp cooldown-ms=150 { - focus-workspace-up - } - Mod+Ctrl+Shift+WheelScrollDown { - move-column-right - } - Mod+Ctrl+Shift+WheelScrollUp { - move-column-left - } - // Similarly, you can bind touchpad scroll "ticks". - // Touchpad scrolling is continuous, so for these binds it is split into - // discrete intervals. - // These binds are also affected by touchpad's natural-scroll, so these - // example binds are "inverted", since we have natural-scroll enabled for - // touchpads by default. - // Mod+TouchpadScrollDown { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02+"; } - // Mod+TouchpadScrollUp { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02-"; } - Mod+1 { - focus-workspace 1 - } - Mod+2 { - focus-workspace 2 - } - Mod+3 { - focus-workspace 3 - } - Mod+4 { - focus-workspace 4 - } - Mod+5 { - focus-workspace 5 - } - Mod+6 { - focus-workspace 6 - } - Mod+7 { - focus-workspace 7 - } - Mod+8 { - focus-workspace 8 - } - Mod+9 { - focus-workspace 9 - } - Mod+Shift+1 { - move-window-to-workspace 1 - } - Mod+Shift+2 { - move-window-to-workspace 2 - } - Mod+Shift+3 { - move-window-to-workspace 3 - } - Mod+Shift+4 { - move-window-to-workspace 4 - } - Mod+Shift+5 { - move-window-to-workspace 5 - } - Mod+Shift+6 { - move-window-to-workspace 6 - } - Mod+Shift+7 { - move-window-to-workspace 7 - } - Mod+Shift+8 { - move-window-to-workspace 8 - } - Mod+Shift+9 { - move-window-to-workspace 9 - } - // Switches focus between the current and the previous workspace. - Mod+Bar { - focus-workspace-previous - } - // The following binds move the focused window in and out of a column. - // If the window is alone, they will consume it into the nearby column to the side. - // If the window is already in a column, they will expel it out. - Mod+BraceLeft { - consume-or-expel-window-left - } - Mod+BraceRight { - consume-or-expel-window-right - } - // Consume one window from the right to the bottom of the focused column. - Mod+Comma { - consume-window-into-column - } - // Expel the bottom window from the focused column to the right. - Mod+Period { - expel-window-from-column - } - Mod+R { - switch-preset-column-width - } - // Cycling through the presets in reverse order is also possible. - // Mod+R { switch-preset-column-width-back; } - Mod+Shift+R { - switch-preset-window-height - } - Mod+Ctrl+R { - reset-window-height - } - Mod+F { - maximize-column - } - Mod+Shift+F { - fullscreen-window - } - // Expand the focused column to space not taken up by other fully visible columns. - // Makes the column "fill the rest of the space". - Mod+Ctrl+F { - expand-column-to-available-width - } - Mod+C { - center-column - } - // Center all fully visible columns on screen. - Mod+Ctrl+C { - center-visible-columns - } - // Finer width adjustments. - // This command can also: - // * set width in pixels: "1000" - // * adjust width in pixels: "-5" or "+5" - // * set width as a percentage of screen width: "25%" - // * adjust width as a percentage of screen width: "-10%" or "+10%" - // Pixel sizes use logical, or scaled, pixels. I.e. on an output with scale 2.0, - // set-column-width "100" will make the column occupy 200 physical screen pixels. - Mod+Minus { - set-column-width "-10%" - } - Mod+Plus { - set-column-width "+10%" - } - // Finer height adjustments when in column with other windows. - Mod+Shift+Minus { - set-window-height "-10%" - } - Mod+Shift+Equal { - set-window-height "+10%" - } - // Move the focused window between the floating and the tiling layout. - Mod+Shift+Space { - toggle-window-floating - } - Mod+Space { - switch-focus-between-floating-and-tiling - } - // Toggle tabbed column display mode. - // Windows in this column will appear as vertical tabs, - // rather than stacked on top of each other. - Mod+W { - toggle-column-tabbed-display - } - Print { - screenshot - } - Shift+Print { - screenshot-window - } - Shift+Ctrl+Print hotkey-overlay-title="Edit image in Clipboard" { - spawn-sh "wl-paste | swappy -f -" - } - // Applications such as remote-desktop clients and software KVM switches may - // request that niri stops processing the keyboard shortcuts defined here - // so they may, for example, forward the key presses as-is to a remote machine. - // It's a good idea to bind an escape hatch to toggle the inhibitor, - // so a buggy application can't hold your session hostage. - // - // The allow-inhibiting=false property can be applied to other binds as well, - // which ensures niri always processes them, even when an inhibitor is active. - Mod+Escape allow-inhibiting=false { - toggle-keyboard-shortcuts-inhibit - } - // The quit action will show a confirmation dialog to avoid accidental exits. - Mod+Shift+E { - quit - } - Ctrl+Alt+Delete { - quit - } -} -// ── Environment Variables ─────────────────────────────────────────── -environment { - QT_STYLE_OVERRIDE "kvantum" - QT_AUTO_SCREEN_SCALE_FACTOR "1" - QT_QPA_PLATFORM "wayland;xcb" - QT_WAYLAND_DISABLE_WINDOWDECORATION "1" - QT_QPA_PLATFORMTHEME "qt5ct" - MOZ_ENABLE_WAYLAND "1" - XCURSOR_SIZE "24" - GTK_THEME "catppuccin-macchiato-teal-standard-default" - SSH_AUTH_SOCK "$XDG_RUNTIME_DIR/rbw/ssh-agent-socket" - EDITOR "nvim" - VISUAL "nvim" - TERMINAL "/usr/bin/kitty" -} -// ── Display Options ───────────────────────────────────────────────── -output "eDP-1" { - off -} -output "HDMI-A-1" { - scale 1 - mode "3440x1440" -} -output "DP-1" { - variable-refresh-rate on-demand=true -} -// ── Input Options ─────────────────────────────────────────────────── -input { - keyboard { - xkb { - layout "latam" - options "caps:escape" - } - // Enable numlock on startup, omitting this setting disables it. - numlock - } - // Next sections include libinput settings. - // Omitting settings disables them, or leaves them at their default values. - // All commented-out settings here are examples, not defaults. - touchpad { - // off - tap - // dwt - // dwtp - // drag false - // drag-lock - natural-scroll - // accel-speed 0.2 - // accel-profile "flat" - // scroll-method "two-finger" - // disabled-on-external-mouse - } - mouse { - // off - // natural-scroll - // accel-speed 0.2 - // accel-profile "flat" - // scroll-method "no-scroll" - - } - trackpoint { - // off - // natural-scroll - // accel-speed 0.2 - // accel-profile "flat" - // scroll-method "on-button-down" - // scroll-button 273 - // scroll-button-lock - // middle-emulation - - } - // warp-mouse-to-focus - focus-follows-mouse -} -// ── Animations ────────────────────────────────────────────────────── -animations { - // Uncomment to turn off all animations. - // off - - // Slow down all animations by this factor. Values below 1 speed them up instead. - // slowdown 3.0 - -} -// ── Misc ──────────────────────────────────────────────────────────── -cursor { - xcursor-theme "catppuccin-macchiato-lavender-cursors" - xcursor-size 24 -} -hotkey-overlay { - skip-at-startup -} -// Uncomment this line to ask the clients to omit their client-side decorations if possible. -// If the client will specifically ask for CSD, the request will be honored. -// Additionally, clients will be informed that they are tiled, removing some client-side rounded corners. -// This option will also fix border/focus ring drawing behind some semitransparent windows. -// After enabling or disabling this, you need to restart the apps for this to take effect. -// prefer-no-csd -screenshot-path null - diff --git a/configs/nvim/lua/aleidk/plugins/formatter.lua b/configs/nvim/lua/aleidk/plugins/formatter.lua deleted file mode 100644 index f7add11..0000000 --- a/configs/nvim/lua/aleidk/plugins/formatter.lua +++ /dev/null @@ -1,124 +0,0 @@ -return { - "stevearc/conform.nvim", - event = { "BufWritePre" }, - cmd = { "ConformInfo" }, - opts = { - -- See available formatters in: https://github.com/stevearc/conform.nvim#formatters - -- Formatters can be installed by mason - formatters_by_ft = { - -- Conform will run multiple formatters sequentially - -- Use a stop_after_first = true to run only the first available formatters - -- Use the "_" filetype to run formatters on filetypes that don't - -- have other formatters configured. - ["_"] = { "trim_whitespace" }, - blade = { "blade-formatter" }, - css = { "biome" }, - go = { "gofumpt", "goimports_reviser", "golines" }, - html = { "djlint", "prettierd", stop_after_first = true }, - kotlin = { "ktlint" }, - kdl = { "kdlfmt" }, - htmldjango = { "djlint", stop_after_first = true }, - javascript = { "biome" }, - javascriptreact = { "biome" }, - json = { "biome" }, - jsonc = { "biome" }, - lua = { "stylua" }, - markdown = { "markdownlint" }, - php = { "pint" }, - python = { "ruff_format", "ruff_organize_imports" }, - rust = { "rustfmt" }, - scss = { "biome", "prettierd", "prettier", stop_after_first = true }, - sh = { "shfmt" }, - sql = { "sleek" }, - toml = { "taplo" }, - typescript = { "biome" }, - typescriptreact = { "biome" }, - xml = { "lemminx" }, - zsh = { "shfmt" }, - }, - formatters = { - djlint = { - prepend_args = { - "--format-css", - "--indent-css", - "2", - "--format-js", - "--indent-js", - "2", - "--indent", - "2", - "--preserve-blank-lines", - "--quiet", - }, - }, - }, - format_on_save = function(bufnr) - -- Disable with a global or buffer-local variable - if vim.g.disable_autoformat or vim.b[bufnr].disable_autoformat then return end - - return { timeout_ms = 2000, lsp_fallback = true } - end, - }, - config = function(_, opts) - require("conform").setup(opts) - - vim.api.nvim_create_autocmd("FileType", { - pattern = { "php" }, - callback = function(bufnr) - vim.b[bufnr].disable_autoformat = true - end, - }) - - local function toggleAutoFormat() - -- to make this global, change b to g - if vim.b.disable_autoformat == nil then - vim.b.disable_autoformat = true - print("Autoformat set to: " .. tostring(not vim.b.disable_autoformat)) - return - end - - vim.b.disable_autoformat = not vim.b.disable_autoformat - print("Autoformat set to: " .. tostring(not vim.b.disable_autoformat)) - end - - vim.keymap.set("n", "uf", toggleAutoFormat, { desc = "Toggle auto format", silent = true }) - - vim.api.nvim_create_user_command("Fmt", function(args) - local range = nil - if args.count ~= -1 then - local end_line = vim.api.nvim_buf_get_lines(0, args.line2 - 1, args.line2, true)[1] - range = { - start = { args.line1, 0 }, - ["end"] = { args.line2, end_line:len() }, - } - end - - local function callback(err, did_edit) - if not did_edit then - vim.notify("The file was not formatted:\n" .. tostring(err), vim.log.levels.ERROR) - return - end - - if args.bang then vim.cmd("w") end - end - - require("conform").format({ - async = true, - lsp_format = "fallback", - range = range, - formatters = args.fargs, - }, callback) - end, { - range = true, - bang = true, - force = true, - desc = "Format the document", - nargs = "*", - -- complete = function() - -- local formatters = require('conform').formatters_by_ft - -- - -- return vim.tbl_keys(formatters) - -- end - }) - end, -} diff --git a/configs/nvim/lua/aleidk/plugins/treesitter.lua b/configs/nvim/lua/aleidk/plugins/treesitter.lua deleted file mode 100644 index 012ccd0..0000000 --- a/configs/nvim/lua/aleidk/plugins/treesitter.lua +++ /dev/null @@ -1,60 +0,0 @@ -return { - { - "nvim-treesitter/nvim-treesitter", - lazy = false, - branch = "main", - dependencies = { - { - "JoosepAlviste/nvim-ts-context-commentstring", - opts = { - enable_autocmd = false, - }, - }, - { "nvim-treesitter/nvim-treesitter-context" }, - }, - build = ":TSUpdate", - opts = { - auto_install = true, - highlight = { enable = true }, - indent = { enable = true }, - }, - init = function() - -- HACK: for filetypes that doesn't start treesitter hightlight on it's own - vim.api.nvim_create_autocmd("FileType", { - pattern = { "gleam", "go", "kotlin" }, - callback = function() - vim.treesitter.start() - end, - }) - end, - }, - { - "nvim-treesitter/nvim-treesitter-textobjects", - dependencies = { "nvim-treesitter" }, - branch = "main", - config = function() - local ts_obj = require("nvim-treesitter-textobjects") - - ts_obj.setup({ - move = { - set_jumps = true, - }, - }) - - vim.keymap.set({ "n", "x", "o" }, "]]", function() - ts_obj.move.goto_next({ "@block.outer", "@function.outer", "@class.outer" }, "textobjects") - end) - - vim.keymap.set({ "n", "x", "o" }, "[[", function() - ts_obj.move.goto_previous({ "@block.outer", "@function.outer", "@class.outer" }, "textobjects") - end) - - local ts_repeat_move = require("nvim-treesitter-textobjects.repeatable_move") - - -- Repeat movement with ; and , - -- ensure ; goes forward and , goes backward regardless of the last direction - vim.keymap.set({ "n", "x", "o" }, ";", ts_repeat_move.repeat_last_move_opposite) - vim.keymap.set({ "n", "x", "o" }, ",", ts_repeat_move.repeat_last_move) - end, - }, -} diff --git a/configs/rofi/rbw.rasi b/configs/rofi/rbw.rasi deleted file mode 100644 index ef086e5..0000000 --- a/configs/rofi/rbw.rasi +++ /dev/null @@ -1,13 +0,0 @@ -configuration { - show-icons: true; -} - -@import "theme.rasi" - -window { - width: 50%; -} - -listview { - lines: 15; -} diff --git a/configs/systemd/graphical-session.target.wants/hypridle.service b/configs/systemd/graphical-session.target.wants/hypridle.service deleted file mode 120000 index 55da293..0000000 --- a/configs/systemd/graphical-session.target.wants/hypridle.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/user/hypridle.service \ No newline at end of file diff --git a/configs/systemd/waybar.service.d/override.conf b/configs/systemd/waybar.service.d/override.conf deleted file mode 100644 index d46f70a..0000000 --- a/configs/systemd/waybar.service.d/override.conf +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -After=graphical-session.target -After=wayland-session@hyprland.desktop.target - -[Servie] -ExecCondition=/lib/systemd/systemd-xdg-autostart-condition "wlroots:sway:Wayfire:labwc:Hyprland" "" - -[Install] -WantedBy=graphical-session.target -WantedBy=wayland-session@hyprland.desktop.target diff --git a/kdlfmt.kdl b/kdlfmt.kdl deleted file mode 100644 index 69d621c..0000000 --- a/kdlfmt.kdl +++ /dev/null @@ -1,3 +0,0 @@ -indent_size 2 -use_tabs #false -