diff --git a/AppData/Local/external_nvim b/AppData/Local/external_nvim index 11c9abf..d3ec619 160000 --- a/AppData/Local/external_nvim +++ b/AppData/Local/external_nvim @@ -1 +1 @@ -Subproject commit 11c9abf47d291ebd42e1dd7563a73190effe2d10 +Subproject commit d3ec619e7d964038cfb480729ca389d714a1af6a diff --git a/executable_dot_bash_profile b/executable_dot_bash_profile deleted file mode 100644 index 1a4a979..0000000 --- a/executable_dot_bash_profile +++ /dev/null @@ -1,3 +0,0 @@ -[[ -f ~/.bashrc ]] && . ~/.bashrc - -source /home/mira/.config/broot/launcher/bash/br diff --git a/executable_dot_env b/executable_dot_profile similarity index 57% rename from executable_dot_env rename to executable_dot_profile index 356aeb0..4045198 100644 --- a/executable_dot_env +++ b/executable_dot_profile @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh # ~/.profile: executed by the command interpreter for login shells. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login # exists. @@ -9,74 +9,87 @@ # for ssh logins, install and configure the libpam-umask package. #umask 022 -# XDG Base Dirs -XDG_DATA_HOME="$HOME/.local/share" -XDG_CONFIG_HOME="$HOME/.config" -XDG_STATE_HOME="$HOME/.local/state" -XDG_CACHE_HOME="$HOME/.cache" +################# +# XDG Base Dirs # +################# + +export XDG_DATA_HOME="$HOME/.local/share" +export XDG_CONFIG_HOME="$HOME/.config" +export XDG_STATE_HOME="$HOME/.local/state" +export XDG_CACHE_HOME="$HOME/.cache" + +################# +# XDG User Dirs # +################# source "$XDG_CONFIG_HOME/user-dirs.dirs" -EDITOR=nvim -OPENER=xdg-open -# [[ "$TERM_PROGRAM" = "vscode" ]] && . "$(code --locate-shell-integration-path $0)" -# set PATH so it includes user's private bin if it exists -if [ -d "$HOME/bin" ]; then - PATH="$HOME/bin:$PATH" -fi +######################## +# Default file viewers # +######################## -# set PATH so it includes user's private bin if it exists -if [ -d "$HOME/.local/bin" ]; then - PATH="$HOME/.local/bin:$PATH" -fi +export EDITOR=nvim +export PAGER=moar +export OPENER=xdg-open -# Source Cargo Environment -if [[ -f "$HOME/.cargo/env" ]]; then - . "$HOME/.cargo/env" -elif [[ -f ~/.local/share/cargo/env ]]; then - source ~/.local/share/cargo/env -fi -# Source Nix Environment -if [ -e "$HOME"/.nix-profile/etc/profile.d/nix.sh ]; then - . "$HOME"/.nix-profile/etc/profile.d/nix.sh - # else - # echo "If this doesn't work, comment out this part of .zshenv" - # sh <(curl -L https://nixos.org/nix/install) --no-daemon; -fi +####### +# IME # +####### -# Add Ruby -#[ "${PATH#*"$HOME"/.local/share/gem/ruby/*/bin:}" = "$PATH" ] && export PATH="$HOME/.local/share/gem/ruby/*/bin:$PATH" +GTK_IM_MODULE=fcitx +QT_IM_MODULE=fcitx +XMODIFIERS=@im=fcitx -# User bin folder -[ "${PATH#*"$HOME"/.local/bin:}" = "$PATH" ] && export PATH="$HOME/.local/bin:$PATH" -# add nodejs -# [ "${PATH#*"$HOME"/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:}" = "$PATH" ] && export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" - -# add go -[ "${PATH#*"$HOME"/go/bin:}" = "$PATH" ] && export PATH="$HOME/go/bin:$PATH" - -# Set PATH, MANPATH, etc., for Homebrew. -[ -e /home/linuxbrew/.linuxbrew/bin/brew ] && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) - -# pnpm -export PNPM_HOME="$XDG_DATA_HOME/pnpm" -[ "${PATH#*$PNPM_HOME:}" = "$PATH" ] && export PATH="$PNPM_HOME:$PATH" - -# npm -export NPM_CONFIG_PREFIX="$XDG_DATA_HOME/npm-global" -[ "${PATH#*$NPM_CONFIG_PREFIX/bin:}" = "$PATH" ] && export PATH="$NPM_CONFIG_PREFIX/bin:$PATH" - -# Make Cargo install to user bin directory -export CARGO_HOME="$XDG_DATA_HOME/cargo" -export CARGO_INSTALL_ROOT="$HOME/.local" +################################ +# pls use the goddamn xdg dirs # +################################ export GNUPGHOME="$XDG_DATA_HOME/gnupg" - # If you use non-default GnuPG Home directory, you will need to edit all # socket files to use the values of gpgconf --list-dirs. # If you set your SSH_AUTH_SOCK manually, keep in mind that your socket # location may be different if you are using a custom GNUPGHOME -export LESSHISTFILE="$XDG_STATE_HOME/less/history" - +export PNPM_HOME="$XDG_DATA_HOME/pnpm" +export NPM_CONFIG_PREFIX="$XDG_DATA_HOME/npm-global" +alias wget=wget --hsts-file="$XDG_DATA_HOME/wget-hsts" +export CARGO_HOME="$XDG_DATA_HOME/cargo" +export CARGO_INSTALL_ROOT="$HOME/.local" +export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc export INPUTRC="$XDG_CONFIG_HOME/readline/inputrc" +export LESSHISTFILE="$XDG_STATE_HOME/less/history" +export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc +export PARALLEL_HOME="$XDG_CONFIG_HOME"/parallel +export RUSTUP_HOME="$XDG_DATA_HOME"/rustup +export WINEPREFIX="$XDG_DATA_HOME"/wine +export XCURSOR_PATH=/usr/share/icons:$XDG_DATA_HOME/icons + +############### +# SET UP PATH # +############### +# nix +if [ -e "$HOME"/.nix-profile/etc/profile.d/nix.sh ]; then + . "$HOME"/.nix-profile/etc/profile.d/nix.sh +fi + +# User bin folder +[ "${PATH#*"$HOME"/.local/bin:}" = "$PATH" ] && export PATH="$HOME/.local/bin:$PATH" + +# go +[ "${PATH#*"$HOME"/go/bin:}" = "$PATH" ] && export PATH="$HOME/go/bin:$PATH" + +# homebrew +[ -e /home/linuxbrew/.linuxbrew/bin/brew ] && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) + +# pnpm +[ "${PATH#*$PNPM_HOME:}" = "$PATH" ] && export PATH="$PNPM_HOME:$PATH" + +# npm +[ "${PATH#*$NPM_CONFIG_PREFIX/bin:}" = "$PATH" ] && export PATH="$NPM_CONFIG_PREFIX/bin:$PATH" + +# cargo +if [[ -f "$CARGO_HOME/env" ]]; then + . "$CARGO_HOME/env" +elif [[ -f ~/.local/share/cargo/env ]]; then + . ~/.local/share/cargo/env +fi diff --git a/executable_dot_zshenv b/executable_dot_zshenv index 8f31411..929a0af 100644 --- a/executable_dot_zshenv +++ b/executable_dot_zshenv @@ -6,4 +6,4 @@ export ZSH_DISABLE_COMPFIX=true # Load .profile -[[ -f ~/.env ]] && . ~/.env +[[ -f ~/.profile ]] && . ~/.profile diff --git a/private_dot_config/alacritty/alacritty.yml b/private_dot_config/alacritty/alacritty.yml index 94a4e33..2106e99 100644 --- a/private_dot_config/alacritty/alacritty.yml +++ b/private_dot_config/alacritty/alacritty.yml @@ -15,111 +15,111 @@ # environment variables. Some entries may override variables # set by alacritty itself. #env: - # TERM variable - # - # This value is used to set the `$TERM` environment variable for - # each instance of Alacritty. If it is not present, alacritty will - # check the local terminfo database and use `alacritty` if it is - # available, otherwise `xterm-256color` is used. - #TERM: alacritty +# TERM variable +# +# This value is used to set the `$TERM` environment variable for +# each instance of Alacritty. If it is not present, alacritty will +# check the local terminfo database and use `alacritty` if it is +# available, otherwise `xterm-256color` is used. +#TERM: alacritty #window: - # Window dimensions (changes require restart) - # - # Number of lines/columns (not pixels) in the terminal. Both lines and columns - # must be non-zero for this to take effect. The number of columns must be at - # least `2`, while using a value of `0` for columns and lines will fall back - # to the window manager's recommended size - #dimensions: - # columns: 0 - # lines: 0 +# Window dimensions (changes require restart) +# +# Number of lines/columns (not pixels) in the terminal. Both lines and columns +# must be non-zero for this to take effect. The number of columns must be at +# least `2`, while using a value of `0` for columns and lines will fall back +# to the window manager's recommended size +#dimensions: +# columns: 0 +# lines: 0 - # Window position (changes require restart) - # - # Specified in number of pixels. - # If the position is not set, the window manager will handle the placement. - #position: - # x: 0 - # y: 0 +# Window position (changes require restart) +# +# Specified in number of pixels. +# If the position is not set, the window manager will handle the placement. +#position: +# x: 0 +# y: 0 - # Window padding (changes require restart) - # - # Blank space added around the window in pixels. This padding is scaled - # by DPI and the specified value is always added at both opposing sides. - #padding: - # x: 0 - # y: 0 +# Window padding (changes require restart) +# +# Blank space added around the window in pixels. This padding is scaled +# by DPI and the specified value is always added at both opposing sides. +#padding: +# x: 0 +# y: 0 - # Spread additional padding evenly around the terminal content. - #dynamic_padding: false +# Spread additional padding evenly around the terminal content. +#dynamic_padding: false - # Window decorations - # - # Values for `decorations`: - # - full: Borders and title bar - # - none: Neither borders nor title bar - # - # Values for `decorations` (macOS only): - # - transparent: Title bar, transparent background and title bar buttons - # - buttonless: Title bar, transparent background and no title bar buttons - #decorations: full +# Window decorations +# +# Values for `decorations`: +# - full: Borders and title bar +# - none: Neither borders nor title bar +# +# Values for `decorations` (macOS only): +# - transparent: Title bar, transparent background and title bar buttons +# - buttonless: Title bar, transparent background and no title bar buttons +#decorations: full - # Background opacity - # - # Window opacity as a floating point number from `0.0` to `1.0`. - # The value `0.0` is completely transparent and `1.0` is opaque. - #opacity: 1.0 +# Background opacity +# +# Window opacity as a floating point number from `0.0` to `1.0`. +# The value `0.0` is completely transparent and `1.0` is opaque. +#opacity: 1.0 - # Startup Mode (changes require restart) - # - # Values for `startup_mode`: - # - Windowed - # - Maximized - # - Fullscreen - # - # Values for `startup_mode` (macOS only): - # - SimpleFullscreen - #startup_mode: Windowed +# Startup Mode (changes require restart) +# +# Values for `startup_mode`: +# - Windowed +# - Maximized +# - Fullscreen +# +# Values for `startup_mode` (macOS only): +# - SimpleFullscreen +#startup_mode: Windowed - # Window title - #title: Alacritty +# Window title +#title: Alacritty - # Allow terminal applications to change Alacritty's window title. - #dynamic_title: true +# Allow terminal applications to change Alacritty's window title. +#dynamic_title: true - # Window class (Linux/BSD only): - #class: - # Application instance name - #instance: Alacritty - # General application class - #general: Alacritty +# Window class (Linux/BSD only): +#class: +# Application instance name +#instance: Alacritty +# General application class +#general: Alacritty - # Decorations theme variant - # - # Override the variant of the System theme/GTK theme/Wayland client side - # decorations. Commonly supported values are `Dark`, `Light`, and `None` for - # auto pick-up. Set this to `None` to use the default theme variant. - #decorations_theme_variant: None +# Decorations theme variant +# +# Override the variant of the System theme/GTK theme/Wayland client side +# decorations. Commonly supported values are `Dark`, `Light`, and `None` for +# auto pick-up. Set this to `None` to use the default theme variant. +#decorations_theme_variant: None - # Resize increments - # - # Prefer resizing window by discrete steps equal to cell dimensions. - #resize_increments: false +# Resize increments +# +# Prefer resizing window by discrete steps equal to cell dimensions. +#resize_increments: false - # Make `Option` key behave as `Alt` (macOS only): - # - OnlyLeft - # - OnlyRight - # - Both - # - None (default) - #option_as_alt: None +# Make `Option` key behave as `Alt` (macOS only): +# - OnlyLeft +# - OnlyRight +# - Both +# - None (default) +#option_as_alt: None #scrolling:CommitMono Nerd Font - # Maximum number of lines in the scrollback buffer. - # Specifying '0' will disable scrolling. - #history: 10000 +# Maximum number of lines in the scrollback buffer. +# Specifying '0' will disable scrolling. +#history: 10000 - # Scrolling distance multiplier. - #multiplier: 3 +# Scrolling distance multiplier. +#multiplier: 3 # Font configuration font: @@ -131,43 +131,43 @@ font: # - (macOS) Menlo # - (Linux/BSD) monospace # - (Windows) Consolas - family: "MonispaceNe NFP" + family: "MonaspiceNe NF" # The `style` can be specified to pick a specific face. style: Regular # Bold font face #bold: - # Font family - # - # If the bold family is not specified, it will fall back to the - # value specified for the normal font. - #family: monospace + # Font family + # + # If the bold family is not specified, it will fall back to the + # value specified for the normal font. + #family: monospace - # The `style` can be specified to pick a specific face. - #style: Bold + # The `style` can be specified to pick a specific face. + #style: Bold # Italic font face #italic: - # Font family - # - # If the italic family is not specified, it will fall back to the - # value specified for the normal font. - #family: monospace + # Font family + # + # If the italic family is not specified, it will fall back to the + # value specified for the normal font. + #family: monospace - # The `style` can be specified to pick a specific face. - #style: Italic + # The `style` can be specified to pick a specific face. + #style: Italic # Bold italic font face #bold_italic: - # Font family - # - # If the bold italic family is not specified, it will fall back to the - # value specified for the normal font. - #family: monospace + # Font family + # + # If the bold italic family is not specified, it will fall back to the + # value specified for the normal font. + #family: monospace - # The `style` can be specified to pick a specific face. - #style: Bold Italic + # The `style` can be specified to pick a specific face. + #style: Bold Italic # Point size size: 9.0 @@ -200,8 +200,8 @@ font: colors: # Default colors primary: - background: '#010206' - foreground: '#EBF6FF' + background: "#010206" + foreground: "#EBF6FF" # Bright and dim foreground colors # @@ -209,8 +209,8 @@ colors: # present. If the bright foreground color is not set, or # `draw_bold_text_with_bright_colors` is `false`, the normal foreground # color will be used. - dim_foreground: '#BFBFC0' - bright_foreground: '#F0F2FF' + dim_foreground: "#BFBFC0" + bright_foreground: "#F0F2FF" # Cursor colors # @@ -236,32 +236,32 @@ colors: # # Colors used for the search bar and match highlighting. #search: - # Allowed values are CellForeground/CellBackground, which reference the - # affected cell, or hexadecimal colors like #ff00ff. - #matches: - # foreground: '#000000' - # background: '#ffffff' - #focused_match: - # foreground: '#ffffff' - # background: '#000000' + # Allowed values are CellForeground/CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + #matches: + # foreground: '#000000' + # background: '#ffffff' + #focused_match: + # foreground: '#ffffff' + # background: '#000000' # Keyboard hints #hints: - # First character in the hint label - # - # Allowed values are CellForeground/CellBackground, which reference the - # affected cell, or hexadecimal colors like #ff00ff. - #start: - # foreground: '#1d1f21' - # background: '#e9ff5e' + # First character in the hint label + # + # Allowed values are CellForeground/CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + #start: + # foreground: '#1d1f21' + # background: '#e9ff5e' - # All characters after the first one in the hint label - # - # Allowed values are CellForeground/CellBackground, which reference the - # affected cell, or hexadecimal colors like #ff00ff. - #end: - # foreground: '#e9ff5e' - # background: '#1d1f21' + # All characters after the first one in the hint label + # + # Allowed values are CellForeground/CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + #end: + # foreground: '#e9ff5e' + # background: '#1d1f21' # Line indicator # @@ -279,8 +279,8 @@ colors: # hyperlink URI preview, etc. # footer_bar: - background: '#0B5393' - foreground: '#EBF6FF' + background: "#0B5393" + foreground: "#EBF6FF" # Selection colors # @@ -294,25 +294,25 @@ colors: # Normal colors normal: - black: '#1E1B30' - red: '#A04558' - green: '#6FA47E' - yellow: '#CCB700' - blue: '#334773' - magenta: '#a34a78' - cyan: '#2A98B1' - white: '#808082' + black: "#1E1B30" + red: "#A04558" + green: "#6FA47E" + yellow: "#CCB700" + blue: "#334773" + magenta: "#a34a78" + cyan: "#2A98B1" + white: "#808082" # Bright colors bright: - black: '#2a2644' - red: '#f5a9b8' - green: '#98db95' - yellow: '#ffe70a' - blue: '#445f9b' - magenta: '#ee5e95' - cyan: '#5bcefa' - white: '#bfbfc0' + black: "#2a2644" + red: "#f5a9b8" + green: "#98db95" + yellow: "#ffe70a" + blue: "#445f9b" + magenta: "#ee5e95" + cyan: "#5bcefa" + white: "#bfbfc0" # Dim colors # @@ -344,99 +344,98 @@ colors: # the default background. When set to `true` all cells will be transparent # regardless of their background color. #transparent_background_colors: false - # Bell # # The bell is rung every time the BEL control character is received. #bell: - # Visual Bell Animation - # - # Animation effect for flashing the screen when the visual bell is rung. - # - # Values for `animation`: - # - Ease - # - EaseOut - # - EaseOutSine - # - EaseOutQuad - # - EaseOutCubic - # - EaseOutQuart - # - EaseOutQuint - # - EaseOutExpo - # - EaseOutCirc - # - Linear - #animation: EaseOutExpo +# Visual Bell Animation +# +# Animation effect for flashing the screen when the visual bell is rung. +# +# Values for `animation`: +# - Ease +# - EaseOut +# - EaseOutSine +# - EaseOutQuad +# - EaseOutCubic +# - EaseOutQuart +# - EaseOutQuint +# - EaseOutExpo +# - EaseOutCirc +# - Linear +#animation: EaseOutExpo - # Duration of the visual bell flash in milliseconds. A `duration` of `0` will - # disable the visual bell animation. - #duration: 0 +# Duration of the visual bell flash in milliseconds. A `duration` of `0` will +# disable the visual bell animation. +#duration: 0 - # Visual bell animation color. - #color: '#ffffff' +# Visual bell animation color. +#color: '#ffffff' - # Bell Command - # - # This program is executed whenever the bell is rung. - # - # When set to `command: None`, no command will be executed. - # - # Example: - # command: - # program: notify-send - # args: ["Hello, World!"] - # - #command: None +# Bell Command +# +# This program is executed whenever the bell is rung. +# +# When set to `command: None`, no command will be executed. +# +# Example: +# command: +# program: notify-send +# args: ["Hello, World!"] +# +#command: None #selection: - # This string contains all characters that are used as separators for - # "semantic words" in Alacritty. - #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" +# This string contains all characters that are used as separators for +# "semantic words" in Alacritty. +#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" - # When set to `true`, selected text will be copied to the primary clipboard. - #save_to_clipboard: false +# When set to `true`, selected text will be copied to the primary clipboard. +#save_to_clipboard: false #cursor: - # Cursor style - #style: - # Cursor shape - # - # Values for `shape`: - # - ▇ Block - # - _ Underline - # - | Beam - #shape: Block +# Cursor style +#style: +# Cursor shape +# +# Values for `shape`: +# - ▇ Block +# - _ Underline +# - | Beam +#shape: Block - # Cursor blinking state - # - # Values for `blinking`: - # - Never: Prevent the cursor from ever blinking - # - Off: Disable blinking by default - # - On: Enable blinking by default - # - Always: Force the cursor to always blink - #blinking: Off +# Cursor blinking state +# +# Values for `blinking`: +# - Never: Prevent the cursor from ever blinking +# - Off: Disable blinking by default +# - On: Enable blinking by default +# - Always: Force the cursor to always blink +#blinking: Off - # Vi mode cursor style - # - # If the vi mode cursor style is `None` or not specified, it will fall back to - # the style of the active value of the normal cursor. - # - # See `cursor.style` for available options. - #vi_mode_style: None +# Vi mode cursor style +# +# If the vi mode cursor style is `None` or not specified, it will fall back to +# the style of the active value of the normal cursor. +# +# See `cursor.style` for available options. +#vi_mode_style: None - # Cursor blinking interval in milliseconds. - #blink_interval: 750 +# Cursor blinking interval in milliseconds. +#blink_interval: 750 - # Time after which cursor stops blinking, in seconds. - # - # Specifying '0' will disable timeout for blinking. - #blink_timeout: 5 +# Time after which cursor stops blinking, in seconds. +# +# Specifying '0' will disable timeout for blinking. +#blink_timeout: 5 - # If this is `true`, the cursor will be rendered as a hollow box when the - # window is not focused. - #unfocused_hollow: true +# If this is `true`, the cursor will be rendered as a hollow box when the +# window is not focused. +#unfocused_hollow: true - # Thickness of the cursor relative to the cell width as floating point number - # from `0.0` to `1.0`. - #thickness: 0.15 +# Thickness of the cursor relative to the cell width as floating point number +# from `0.0` to `1.0`. +#thickness: 0.15 # Live config reload (changes require restart) #live_config_reload: true @@ -451,7 +450,7 @@ colors: # - (Linux/BSD/macOS) `$SHELL` or the user's login shell, if `$SHELL` is unset # - (Windows) powershell # shell: - # program: /bin/bash +# program: /bin/bash # args: # - --login @@ -465,66 +464,66 @@ colors: #ipc_socket: true #mouse: - # Click settings - # - # The `double_click` and `triple_click` settings control the time - # alacritty should wait for accepting multiple clicks as one double - # or triple click. - #double_click: { threshold: 300 } - #triple_click: { threshold: 300 } +# Click settings +# +# The `double_click` and `triple_click` settings control the time +# alacritty should wait for accepting multiple clicks as one double +# or triple click. +#double_click: { threshold: 300 } +#triple_click: { threshold: 300 } - # If this is `true`, the cursor is temporarily hidden when typing. - #hide_when_typing: false +# If this is `true`, the cursor is temporarily hidden when typing. +#hide_when_typing: false # Hints # # Terminal hints can be used to find text or hyperlink in the visible part of # the terminal and pipe it to other applications. #hints: - # Keys used for the hint labels. - #alphabet: "jfkdls;ahgurieowpq" +# Keys used for the hint labels. +#alphabet: "jfkdls;ahgurieowpq" - # List with all available hints - # - # Each hint must have any of `regex` or `hyperlinks` field and either an - # `action` or a `command` field. The fields `mouse`, `binding` and - # `post_processing` are optional. - # - # The `hyperlinks` option will cause OSC 8 escape sequence hyperlinks to be - # highlighted. - # - # The fields `command`, `binding.key`, `binding.mods`, `binding.mode` and - # `mouse.mods` accept the same values as they do in the `key_bindings` section. - # - # The `mouse.enabled` field controls if the hint should be underlined while - # the mouse with all `mouse.mods` keys held or the vi mode cursor is above it. - # - # If the `post_processing` field is set to `true`, heuristics will be used to - # shorten the match if there are characters likely not to be part of the hint - # (e.g. a trailing `.`). This is most useful for URIs and applies only to - # `regex` matches. - # - # Values for `action`: - # - Copy - # Copy the hint's text to the clipboard. - # - Paste - # Paste the hint's text to the terminal or search. - # - Select - # Select the hint's text. - # - MoveViModeCursor - # Move the vi mode cursor to the beginning of the hint. - #enabled: - # - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\ - # [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" - # hyperlinks: true - # command: xdg-open - # post_processing: true - # mouse: - # enabled: true - # mods: None - # binding: - # key: U - # mods: Control|Shift +# List with all available hints +# +# Each hint must have any of `regex` or `hyperlinks` field and either an +# `action` or a `command` field. The fields `mouse`, `binding` and +# `post_processing` are optional. +# +# The `hyperlinks` option will cause OSC 8 escape sequence hyperlinks to be +# highlighted. +# +# The fields `command`, `binding.key`, `binding.mods`, `binding.mode` and +# `mouse.mods` accept the same values as they do in the `key_bindings` section. +# +# The `mouse.enabled` field controls if the hint should be underlined while +# the mouse with all `mouse.mods` keys held or the vi mode cursor is above it. +# +# If the `post_processing` field is set to `true`, heuristics will be used to +# shorten the match if there are characters likely not to be part of the hint +# (e.g. a trailing `.`). This is most useful for URIs and applies only to +# `regex` matches. +# +# Values for `action`: +# - Copy +# Copy the hint's text to the clipboard. +# - Paste +# Paste the hint's text to the terminal or search. +# - Select +# Select the hint's text. +# - MoveViModeCursor +# Move the vi mode cursor to the beginning of the hint. +#enabled: +# - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\ +# [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" +# hyperlinks: true +# command: xdg-open +# post_processing: true +# mouse: +# enabled: true +# mods: None +# binding: +# key: U +# mods: Control|Shift # Mouse bindings # @@ -769,143 +768,143 @@ colors: # If the same trigger is assigned to multiple actions, all of them are executed # in the order they were defined in. #key_bindings: - #- { key: Paste, action: Paste } - #- { key: Copy, action: Copy } - #- { key: L, mods: Control, action: ClearLogNotice } - #- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" } - #- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp } - #- { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown } - #- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop } - #- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom } +#- { key: Paste, action: Paste } +#- { key: Copy, action: Copy } +#- { key: L, mods: Control, action: ClearLogNotice } +#- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" } +#- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp } +#- { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown } +#- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop } +#- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom } - # Vi Mode - #- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode } - #- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom } - #- { key: Escape, mode: Vi|~Search, action: ClearSelection } - #- { key: I, mode: Vi|~Search, action: ToggleViMode } - #- { key: I, mode: Vi|~Search, action: ScrollToBottom } - #- { key: C, mods: Control, mode: Vi|~Search, action: ToggleViMode } - #- { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp } - #- { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown } - #- { key: G, mode: Vi|~Search, action: ScrollToTop } - #- { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom } - #- { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp } - #- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown } - #- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp } - #- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown } - #- { key: Y, mode: Vi|~Search, action: Copy } - #- { key: Y, mode: Vi|~Search, action: ClearSelection } - #- { key: Copy, mode: Vi|~Search, action: ClearSelection } - #- { key: V, mode: Vi|~Search, action: ToggleNormalSelection } - #- { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection } - #- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection } - #- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection } - #- { key: Return, mode: Vi|~Search, action: Open } - #- { key: Z, mode: Vi|~Search, action: CenterAroundViCursor } - #- { key: K, mode: Vi|~Search, action: Up } - #- { key: J, mode: Vi|~Search, action: Down } - #- { key: H, mode: Vi|~Search, action: Left } - #- { key: L, mode: Vi|~Search, action: Right } - #- { key: Up, mode: Vi|~Search, action: Up } - #- { key: Down, mode: Vi|~Search, action: Down } - #- { key: Left, mode: Vi|~Search, action: Left } - #- { key: Right, mode: Vi|~Search, action: Right } - #- { key: Key0, mode: Vi|~Search, action: First } - #- { key: Key4, mods: Shift, mode: Vi|~Search, action: Last } - #- { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied } - #- { key: H, mods: Shift, mode: Vi|~Search, action: High } - #- { key: M, mods: Shift, mode: Vi|~Search, action: Middle } - #- { key: L, mods: Shift, mode: Vi|~Search, action: Low } - #- { key: B, mode: Vi|~Search, action: SemanticLeft } - #- { key: W, mode: Vi|~Search, action: SemanticRight } - #- { key: E, mode: Vi|~Search, action: SemanticRightEnd } - #- { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft } - #- { key: W, mods: Shift, mode: Vi|~Search, action: WordRight } - #- { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd } - #- { key: Key5, mods: Shift, mode: Vi|~Search, action: Bracket } - #- { key: Slash, mode: Vi|~Search, action: SearchForward } - #- { key: Slash, mods: Shift, mode: Vi|~Search, action: SearchBackward } - #- { key: N, mode: Vi|~Search, action: SearchNext } - #- { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious } +# Vi Mode +#- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode } +#- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom } +#- { key: Escape, mode: Vi|~Search, action: ClearSelection } +#- { key: I, mode: Vi|~Search, action: ToggleViMode } +#- { key: I, mode: Vi|~Search, action: ScrollToBottom } +#- { key: C, mods: Control, mode: Vi|~Search, action: ToggleViMode } +#- { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp } +#- { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown } +#- { key: G, mode: Vi|~Search, action: ScrollToTop } +#- { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom } +#- { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp } +#- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown } +#- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp } +#- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown } +#- { key: Y, mode: Vi|~Search, action: Copy } +#- { key: Y, mode: Vi|~Search, action: ClearSelection } +#- { key: Copy, mode: Vi|~Search, action: ClearSelection } +#- { key: V, mode: Vi|~Search, action: ToggleNormalSelection } +#- { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection } +#- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection } +#- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection } +#- { key: Return, mode: Vi|~Search, action: Open } +#- { key: Z, mode: Vi|~Search, action: CenterAroundViCursor } +#- { key: K, mode: Vi|~Search, action: Up } +#- { key: J, mode: Vi|~Search, action: Down } +#- { key: H, mode: Vi|~Search, action: Left } +#- { key: L, mode: Vi|~Search, action: Right } +#- { key: Up, mode: Vi|~Search, action: Up } +#- { key: Down, mode: Vi|~Search, action: Down } +#- { key: Left, mode: Vi|~Search, action: Left } +#- { key: Right, mode: Vi|~Search, action: Right } +#- { key: Key0, mode: Vi|~Search, action: First } +#- { key: Key4, mods: Shift, mode: Vi|~Search, action: Last } +#- { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied } +#- { key: H, mods: Shift, mode: Vi|~Search, action: High } +#- { key: M, mods: Shift, mode: Vi|~Search, action: Middle } +#- { key: L, mods: Shift, mode: Vi|~Search, action: Low } +#- { key: B, mode: Vi|~Search, action: SemanticLeft } +#- { key: W, mode: Vi|~Search, action: SemanticRight } +#- { key: E, mode: Vi|~Search, action: SemanticRightEnd } +#- { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft } +#- { key: W, mods: Shift, mode: Vi|~Search, action: WordRight } +#- { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd } +#- { key: Key5, mods: Shift, mode: Vi|~Search, action: Bracket } +#- { key: Slash, mode: Vi|~Search, action: SearchForward } +#- { key: Slash, mods: Shift, mode: Vi|~Search, action: SearchBackward } +#- { key: N, mode: Vi|~Search, action: SearchNext } +#- { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious } - # Search Mode - #- { key: Return, mode: Search|Vi, action: SearchConfirm } - #- { key: Escape, mode: Search, action: SearchCancel } - #- { key: C, mods: Control, mode: Search, action: SearchCancel } - #- { key: U, mods: Control, mode: Search, action: SearchClear } - #- { key: W, mods: Control, mode: Search, action: SearchDeleteWord } - #- { key: P, mods: Control, mode: Search, action: SearchHistoryPrevious } - #- { key: N, mods: Control, mode: Search, action: SearchHistoryNext } - #- { key: Up, mode: Search, action: SearchHistoryPrevious } - #- { key: Down, mode: Search, action: SearchHistoryNext } - #- { key: Return, mode: Search|~Vi, action: SearchFocusNext } - #- { key: Return, mods: Shift, mode: Search|~Vi, action: SearchFocusPrevious } +# Search Mode +#- { key: Return, mode: Search|Vi, action: SearchConfirm } +#- { key: Escape, mode: Search, action: SearchCancel } +#- { key: C, mods: Control, mode: Search, action: SearchCancel } +#- { key: U, mods: Control, mode: Search, action: SearchClear } +#- { key: W, mods: Control, mode: Search, action: SearchDeleteWord } +#- { key: P, mods: Control, mode: Search, action: SearchHistoryPrevious } +#- { key: N, mods: Control, mode: Search, action: SearchHistoryNext } +#- { key: Up, mode: Search, action: SearchHistoryPrevious } +#- { key: Down, mode: Search, action: SearchHistoryNext } +#- { key: Return, mode: Search|~Vi, action: SearchFocusNext } +#- { key: Return, mods: Shift, mode: Search|~Vi, action: SearchFocusPrevious } - # (Windows, Linux, and BSD only) - #- { key: V, mods: Control|Shift, mode: ~Vi, action: Paste } - #- { key: C, mods: Control|Shift, action: Copy } - #- { key: F, mods: Control|Shift, mode: ~Search, action: SearchForward } - #- { key: B, mods: Control|Shift, mode: ~Search, action: SearchBackward } - #- { key: C, mods: Control|Shift, mode: Vi|~Search, action: ClearSelection } - #- { key: Insert, mods: Shift, action: PasteSelection } - #- { key: Key0, mods: Control, action: ResetFontSize } - #- { key: Equals, mods: Control, action: IncreaseFontSize } - #- { key: Plus, mods: Control, action: IncreaseFontSize } - #- { key: NumpadAdd, mods: Control, action: IncreaseFontSize } - #- { key: Minus, mods: Control, action: DecreaseFontSize } - #- { key: NumpadSubtract, mods: Control, action: DecreaseFontSize } +# (Windows, Linux, and BSD only) +#- { key: V, mods: Control|Shift, mode: ~Vi, action: Paste } +#- { key: C, mods: Control|Shift, action: Copy } +#- { key: F, mods: Control|Shift, mode: ~Search, action: SearchForward } +#- { key: B, mods: Control|Shift, mode: ~Search, action: SearchBackward } +#- { key: C, mods: Control|Shift, mode: Vi|~Search, action: ClearSelection } +#- { key: Insert, mods: Shift, action: PasteSelection } +#- { key: Key0, mods: Control, action: ResetFontSize } +#- { key: Equals, mods: Control, action: IncreaseFontSize } +#- { key: Plus, mods: Control, action: IncreaseFontSize } +#- { key: NumpadAdd, mods: Control, action: IncreaseFontSize } +#- { key: Minus, mods: Control, action: DecreaseFontSize } +#- { key: NumpadSubtract, mods: Control, action: DecreaseFontSize } - # (Windows only) - #- { key: Return, mods: Alt, action: ToggleFullscreen } +# (Windows only) +#- { key: Return, mods: Alt, action: ToggleFullscreen } - # (macOS only) - #- { key: K, mods: Command, mode: ~Vi|~Search, chars: "\x0c" } - #- { key: K, mods: Command, mode: ~Vi|~Search, action: ClearHistory } - #- { key: Key0, mods: Command, action: ResetFontSize } - #- { key: Equals, mods: Command, action: IncreaseFontSize } - #- { key: Plus, mods: Command, action: IncreaseFontSize } - #- { key: NumpadAdd, mods: Command, action: IncreaseFontSize } - #- { key: Minus, mods: Command, action: DecreaseFontSize } - #- { key: NumpadSubtract, mods: Command, action: DecreaseFontSize } - #- { key: V, mods: Command, action: Paste } - #- { key: C, mods: Command, action: Copy } - #- { key: C, mods: Command, mode: Vi|~Search, action: ClearSelection } - #- { key: H, mods: Command, action: Hide } - #- { key: H, mods: Command|Alt, action: HideOtherApplications } - #- { key: M, mods: Command, action: Minimize } - #- { key: Q, mods: Command, action: Quit } - #- { key: W, mods: Command, action: Quit } - #- { key: N, mods: Command, action: CreateNewWindow } - #- { key: F, mods: Command|Control, action: ToggleFullscreen } - #- { key: F, mods: Command, mode: ~Search, action: SearchForward } - #- { key: B, mods: Command, mode: ~Search, action: SearchBackward } +# (macOS only) +#- { key: K, mods: Command, mode: ~Vi|~Search, chars: "\x0c" } +#- { key: K, mods: Command, mode: ~Vi|~Search, action: ClearHistory } +#- { key: Key0, mods: Command, action: ResetFontSize } +#- { key: Equals, mods: Command, action: IncreaseFontSize } +#- { key: Plus, mods: Command, action: IncreaseFontSize } +#- { key: NumpadAdd, mods: Command, action: IncreaseFontSize } +#- { key: Minus, mods: Command, action: DecreaseFontSize } +#- { key: NumpadSubtract, mods: Command, action: DecreaseFontSize } +#- { key: V, mods: Command, action: Paste } +#- { key: C, mods: Command, action: Copy } +#- { key: C, mods: Command, mode: Vi|~Search, action: ClearSelection } +#- { key: H, mods: Command, action: Hide } +#- { key: H, mods: Command|Alt, action: HideOtherApplications } +#- { key: M, mods: Command, action: Minimize } +#- { key: Q, mods: Command, action: Quit } +#- { key: W, mods: Command, action: Quit } +#- { key: N, mods: Command, action: CreateNewWindow } +#- { key: F, mods: Command|Control, action: ToggleFullscreen } +#- { key: F, mods: Command, mode: ~Search, action: SearchForward } +#- { key: B, mods: Command, mode: ~Search, action: SearchBackward } #debug: - # Display the time it takes to redraw each frame. - #render_timer: false +# Display the time it takes to redraw each frame. +#render_timer: false - # Keep the log file after quitting Alacritty. - #persistent_logging: false +# Keep the log file after quitting Alacritty. +#persistent_logging: false - # Log level - # - # Values for `log_level`: - # - Off - # - Error - # - Warn - # - Info - # - Debug - # - Trace - #log_level: Warn +# Log level +# +# Values for `log_level`: +# - Off +# - Error +# - Warn +# - Info +# - Debug +# - Trace +#log_level: Warn - # Renderer override. - # - glsl3 - # - gles2 - # - gles2_pure - #renderer: None +# Renderer override. +# - glsl3 +# - gles2 +# - gles2_pure +#renderer: None - # Print all received window events. - #print_events: false +# Print all received window events. +#print_events: false - # Highlight window damage information. - #highlight_damage: false +# Highlight window damage information. +#highlight_damage: false diff --git a/private_dot_config/dunst/dunstrc b/private_dot_config/dunst/dunstrc index cd8680b..1d48fd7 100644 --- a/private_dot_config/dunst/dunstrc +++ b/private_dot_config/dunst/dunstrc @@ -320,7 +320,7 @@ #default_icon = /path/to/icon [urgency_normal] - background = "#1E1B30" + background = "#1E1B30BF" foreground = "#EBF6ff" timeout = 10 # Icon for notifications with normal urgency, uncomment to enable diff --git a/private_dot_config/external_nvim b/private_dot_config/external_nvim index a1fadfc..c40f0d7 160000 --- a/private_dot_config/external_nvim +++ b/private_dot_config/external_nvim @@ -1 +1 @@ -Subproject commit a1fadfc52546b6b295d9e439a17d54da460e818b +Subproject commit c40f0d7ada08c1219f52c294b3d9024feed83c93 diff --git a/private_dot_config/lf/lfrc b/private_dot_config/lf/lfrc index 7f4778b..456f92e 100644 --- a/private_dot_config/lf/lfrc +++ b/private_dot_config/lf/lfrc @@ -12,7 +12,7 @@ cmd open ${{ # trash cmd trash %trash-put $fx -map dd trash +map x trash map DD delete diff --git a/private_dot_config/rofi/symlink_wal.rasi b/private_dot_config/rofi/symlink_wal.rasi deleted file mode 100644 index bf330f8..0000000 --- a/private_dot_config/rofi/symlink_wal.rasi +++ /dev/null @@ -1 +0,0 @@ -/home/ajay/.cache/wal/colors-rofi-dark.rasi diff --git a/private_dot_config/sway/config b/private_dot_config/sway/config index 9621037..bf6e4df 100644 --- a/private_dot_config/sway/config +++ b/private_dot_config/sway/config @@ -45,3 +45,6 @@ exec_always --no-startup-id /usr/bin/lxqt-policykit-agent #notif daemon exec_always swhks & exec_always dunst & + +exec nm-tray +exec fcitx5 diff --git a/private_dot_config/sway/theme b/private_dot_config/sway/theme index 1278b3a..b2c8cb7 100644 --- a/private_dot_config/sway/theme +++ b/private_dot_config/sway/theme @@ -15,7 +15,7 @@ font pango:Atkinson Hyperlegible bold 9 bar { status_command i3blocks -c /home/mira/.config/sway/i3blocks.conf - font pango:Monaspace Neon, CommitMono Nerd Font, FontAwesome 9 + font pango:MonaspiceNe NF, CommitMono Nerd Font, FontAwesome 9 #mode hide colors { background $inactive diff --git a/private_dot_config/swhkd/swhkdrc b/private_dot_config/swhkd/swhkdrc index 43a20ce..ea4f177 100644 --- a/private_dot_config/swhkd/swhkdrc +++ b/private_dot_config/swhkd/swhkdrc @@ -40,10 +40,10 @@ super + tab rofi -show window -show-icons -theme lunar-witch print - flameshot full -c -p "$XDG_PICTURES_DIR/screenshots/" + flameshot full -c -p "/home/mira/Pictures/screenshots/" shift + print - flameshot gui -s -c -p "$XDG_PICTURES_DIR/screenshots/" + flameshot gui -s -c -p "/home/mira/Pictures/screenshots/" ctrl + print - flameshot gui -c -p "$XDG_PICTURES_DIR/screenshots/" + flameshot gui -c -p "/home/mira/Pictures/screenshots/"