diff --git a/flake.lock b/flake.lock index f7e4876..042941d 100644 --- a/flake.lock +++ b/flake.lock @@ -323,7 +323,7 @@ }, "flake-utils_3": { "inputs": { - "systems": "systems_6" + "systems": "systems_7" }, "locked": { "lastModified": 1731533236, @@ -341,7 +341,7 @@ }, "flake-utils_4": { "inputs": { - "systems": "systems_7" + "systems": "systems_8" }, "locked": { "lastModified": 1731533236, @@ -570,6 +570,35 @@ "type": "github" } }, + "hyprgraphics_2": { + "inputs": { + "hyprutils": [ + "hyprlock", + "hyprutils" + ], + "nixpkgs": [ + "hyprlock", + "nixpkgs" + ], + "systems": [ + "hyprlock", + "systems" + ] + }, + "locked": { + "lastModified": 1750621377, + "narHash": "sha256-8u6b5oAdX0rCuoR8wFenajBRmI+mzbpNig6hSCuWUzE=", + "owner": "hyprwm", + "repo": "hyprgraphics", + "rev": "b3d628d01693fb9bb0a6690cd4e7b80abda04310", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprgraphics", + "type": "github" + } + }, "hyprgrass": { "inputs": { "hyprland": [ @@ -778,6 +807,60 @@ "type": "github" } }, + "hyprlang_2": { + "inputs": { + "hyprutils": [ + "hyprlock", + "hyprutils" + ], + "nixpkgs": [ + "hyprlock", + "nixpkgs" + ], + "systems": [ + "hyprlock", + "systems" + ] + }, + "locked": { + "lastModified": 1750371198, + "narHash": "sha256-/iuJ1paQOBoSLqHflRNNGyroqfF/yvPNurxzcCT0cAE=", + "owner": "hyprwm", + "repo": "hyprlang", + "rev": "cee01452bca58d6cadb3224e21e370de8bc20f0b", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprlang", + "type": "github" + } + }, + "hyprlock": { + "inputs": { + "hyprgraphics": "hyprgraphics_2", + "hyprlang": "hyprlang_2", + "hyprutils": "hyprutils_2", + "hyprwayland-scanner": "hyprwayland-scanner_2", + "nixpkgs": [ + "nixpkgs" + ], + "systems": "systems_5" + }, + "locked": { + "lastModified": 1753964521, + "narHash": "sha256-hHTJ65uOiGqQgI2XbH9jqIGHUcA86K+GJbnhAKhRWNo=", + "owner": "hyprwm", + "repo": "hyprlock", + "rev": "bdf0ef82822a4c434b79c8d315518c9db9a10f34", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprlock", + "type": "github" + } + }, "hyprtasking": { "inputs": { "hyprland": [ @@ -788,7 +871,7 @@ "hyprland", "nixpkgs" ], - "systems": "systems_5" + "systems": "systems_6" }, "locked": { "lastModified": 1752803880, @@ -829,6 +912,31 @@ "type": "github" } }, + "hyprutils_2": { + "inputs": { + "nixpkgs": [ + "hyprlock", + "nixpkgs" + ], + "systems": [ + "hyprlock", + "systems" + ] + }, + "locked": { + "lastModified": 1751061882, + "narHash": "sha256-g9n8Vrbx+2JYM170P9BbvGHN39Wlkr4U+V2WLHQsXL8=", + "owner": "hyprwm", + "repo": "hyprutils", + "rev": "4737241eaf8a1e51671a2a088518071f9a265cf4", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprutils", + "type": "github" + } + }, "hyprwayland-scanner": { "inputs": { "nixpkgs": [ @@ -854,6 +962,31 @@ "type": "github" } }, + "hyprwayland-scanner_2": { + "inputs": { + "nixpkgs": [ + "hyprlock", + "nixpkgs" + ], + "systems": [ + "hyprlock", + "systems" + ] + }, + "locked": { + "lastModified": 1750371869, + "narHash": "sha256-lGk4gLjgZQ/rndUkzmPYcgbHr8gKU5u71vyrjnwfpB4=", + "owner": "hyprwm", + "repo": "hyprwayland-scanner", + "rev": "aa38edd6e3e277ae6a97ea83a69261a5c3aab9fd", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprwayland-scanner", + "type": "github" + } + }, "lanzaboote": { "inputs": { "crane": "crane", @@ -1232,6 +1365,7 @@ "hyprgrass": "hyprgrass", "hyprland": "hyprland", "hyprland-plugins": "hyprland-plugins", + "hyprlock": "hyprlock", "hyprtasking": "hyprtasking", "lanzaboote": "lanzaboote", "neovim-nightly-overlay": "neovim-nightly-overlay", @@ -1379,6 +1513,21 @@ } }, "systems_6": { + "locked": { + "lastModified": 1689347949, + "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", + "owner": "nix-systems", + "repo": "default-linux", + "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default-linux", + "type": "github" + } + }, + "systems_7": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", @@ -1393,7 +1542,7 @@ "type": "github" } }, - "systems_7": { + "systems_8": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", diff --git a/flake.nix b/flake.nix index 9295c74..f78f4b8 100644 --- a/flake.nix +++ b/flake.nix @@ -76,6 +76,11 @@ sops-nix = { url = "github:Mic92/sops-nix"; }; + + hyprlock = { + url = "github:hyprwm/hyprlock"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = diff --git a/home/config/nvim/lua/config/options.lua b/home/config/nvim/lua/config/options.lua index fa3db68..15eac7c 100644 --- a/home/config/nvim/lua/config/options.lua +++ b/home/config/nvim/lua/config/options.lua @@ -25,6 +25,11 @@ vim.g.lazyvim_python_ruff = "ruff" vim.g.lazyvim_eslint_auto_format = true vim.o.background = "dark" +-- Tab settings +vim.g.expandtab = true +vim.g.softtabstop = 2 +vim.g.shiftwidth = 2 + -- Markdown preview vim.g.mkdp_auto_close = 0 vim.g.mkdp_combine_preview = 1 diff --git a/home/config/waybar/config.nix b/home/config/waybar/config.nix index 7027c56..8116418 100644 --- a/home/config/waybar/config.nix +++ b/home/config/waybar/config.nix @@ -2,9 +2,19 @@ terminal, osConfig, wallRand, + pkgs, + lib, }: let - modulesConfig = import ./modules.nix { inherit terminal osConfig wallRand; }; + modulesConfig = import ./modules.nix { + inherit + terminal + osConfig + wallRand + pkgs + lib + ; + }; in map (dev: dev // modulesConfig) [ # Monitor 1 @@ -43,6 +53,7 @@ map (dev: dev // modulesConfig) [ [ ] ) ++ [ + "custom/airplay" "custom/wallRand" "custom/wireguard" "idle_inhibitor" diff --git a/home/config/waybar/modules.nix b/home/config/waybar/modules.nix index 1e7fc25..766b104 100644 --- a/home/config/waybar/modules.nix +++ b/home/config/waybar/modules.nix @@ -2,6 +2,8 @@ terminal, osConfig, wallRand, + pkgs, + lib, }: let terminalRun = "${terminal} -e"; @@ -268,4 +270,43 @@ in format = ""; on-click = "${wallRand}/bin/wallRand"; }; + "custom/airplay" = + let + toggleScript = pkgs.writeShellScript "airplayStatus" '' + SERVICE="uxplay" + ICON="󱖑" + + if [ "$1" = "toggle" ]; then + if systemctl --user is-active --quiet "$SERVICE"; then + systemctl --user stop "$SERVICE" + notify-send "$ICON Airplay" "off" >/dev/null 2>&1 + else + systemctl --user start "$SERVICE" + notify-send "$ICON Airplay" "on" >/dev/null 2>&1 + fi + exit 0 + fi + + if ! systemctl --user is-active --quiet "$SERVICE"; then + echo "{\"text\": \"inactive\", \"tooltip\": \"airplay is inactive\", \"alt\": \"inactive\", \"class\": \"inactive\"}" + exit 0 + fi + + echo "{\"text\": \"active\", \"tooltip\": \"airplay is running\", \"alt\": \"active\", \"class\": \"active\"}" + exit 0 + ''; + in + { + format = "{icon}"; + format-icons = { + active = "󱖑"; + inactive = ""; + }; + exec = toggleScript; + interval = 3; + tooltip = true; + return-type = "json"; + escape = true; + on-click = "${toggleScript} toggle"; + }; } diff --git a/home/config/waybar/style.css b/home/config/waybar/style.css index 18ade6d..d8f5680 100644 --- a/home/config/waybar/style.css +++ b/home/config/waybar/style.css @@ -45,6 +45,7 @@ tooltip label { #custom-wireguard, #custom-gamemode, #custom-wallRand, +#custom-airplay, #clock, #cpu, #memory, @@ -84,6 +85,7 @@ tooltip label { #custom-wireguard, #custom-gamemode, #custom-wallRand, +#custom-airplay, #battery { margin-left: 4px; } @@ -132,6 +134,7 @@ tooltip label { #custom-wireguard, #custom-gamemode, #custom-wallRand, +#custom-airplay, #network, #idle_inhibitor { padding-left: 10px; padding-right: 14px; diff --git a/home/config/yazi/flavors/catppuccin-frappe.yazi/flavor.toml b/home/config/yazi/flavors/catppuccin-frappe.yazi/flavor.toml deleted file mode 100644 index 2e129f6..0000000 --- a/home/config/yazi/flavors/catppuccin-frappe.yazi/flavor.toml +++ /dev/null @@ -1,173 +0,0 @@ -# vim:fileencoding=utf-8:foldmethod=marker - -# : Manager {{{ - -[manager] -cwd = { fg = "#81c8be" } - -# Hovered -hovered = { reversed = true } -preview_hovered = { underline = true } - -# Find -find_keyword = { fg = "#e5c890", bold = true, italic = true, underline = true } -find_position = { fg = "#f4b8e4", bg = "reset", bold = true, italic = true } - -# Marker -marker_copied = { fg = "#a6d189", bg = "#a6d189" } -marker_cut = { fg = "#e78284", bg = "#e78284" } -marker_marked = { fg = "#81c8be", bg = "#81c8be" } -marker_selected = { fg = "#e5c890", bg = "#e5c890" } - -# Tab -tab_active = { reversed = true } -tab_inactive = {} -tab_width = 1 - -# Count -count_copied = { fg = "#303446", bg = "#a6d189" } -count_cut = { fg = "#303446", bg = "#e78284" } -count_selected = { fg = "#303446", bg = "#e5c890" } - -# Border -border_symbol = "│" -border_style = { fg = "#838ba7" } - -# : }}} - - -# : Mode {{{ - -[mode] - -normal_main = { fg = "#303446", bg = "#8caaee", bold = true } -normal_alt = { fg = "#8caaee", bg = "#414559" } - -# Select mode -select_main = { fg = "#303446", bg = "#81c8be", bold = true } -select_alt = { fg = "#81c8be", bg = "#414559" } - -# Unset mode -unset_main = { fg = "#303446", bg = "#eebebe", bold = true } -unset_alt = { fg = "#eebebe", bg = "#414559" } - -# : }}} - - -# : Status bar {{{ - -[status] -separator_open = "" -separator_close = "" - -# Progress -progress_label = { fg = "#ffffff", bold = true } -progress_normal = { fg = "#8caaee", bg = "#51576d" } -progress_error = { fg = "#e78284", bg = "#51576d" } - -# Permissions -perm_sep = { fg = "#838ba7" } -perm_type = { fg = "#8caaee" } -perm_read = { fg = "#e5c890" } -perm_write = { fg = "#e78284" } -perm_exec = { fg = "#a6d189" } - -# : }}} - - -# : Pick {{{ - -[pick] -border = { fg = "#8caaee" } -active = { fg = "#f4b8e4", bold = true } -inactive = {} - -# : }}} - - -# : Input {{{ - -[input] -border = { fg = "#8caaee" } -title = {} -value = {} -selected = { reversed = true } - -# : }}} - - -# : Completion {{{ - -[completion] -border = { fg = "#8caaee" } - -# : }}} - - -# : Tasks {{{ - -[tasks] -border = { fg = "#8caaee" } -title = {} -hovered = { fg = "#f4b8e4", underline = true } - -# : }}} - - -# : Which {{{ - -[which] -mask = { bg = "#414559" } -cand = { fg = "#81c8be" } -rest = { fg = "#949cbb" } -desc = { fg = "#f4b8e4" } -separator = "  " -separator_style = { fg = "#626880" } - -# : }}} - - -# : Help {{{ - -[help] -on = { fg = "#81c8be" } -run = { fg = "#f4b8e4" } -hovered = { reversed = true, bold = true } -footer = { fg = "#414559", bg = "#c6d0f5" } - -# : }}} - - -# : Notify {{{ - -[notify] -title_info = { fg = "#a6d189" } -title_warn = { fg = "#e5c890" } -title_error = { fg = "#e78284" } - -# : }}} - - -# : File-specific styles {{{ - -[filetype] - -rules = [ - # Images - { mime = "image/*", fg = "#81c8be" }, - - # Media - { mime = "{audio,video}/*", fg = "#e5c890" }, - - # Archives - { mime = "application/{zip,rar,7z*,tar,gzip,xz,zstd,bzip*,lzma,compress,archive,cpio,arj,xar,ms-cab*}", fg = "#f4b8e4" }, - - # Documents - { mime = "application/{pdf,doc,rtf}", fg = "#a6d189" }, - - # Fallback - { name = "*", fg = "#c6d0f5" }, - { name = "*/", fg = "#8caaee" } -] - -# : }}} diff --git a/home/config/yazi/flavors/catppuccin-frappe.yazi/tmtheme.xml b/home/config/yazi/flavors/catppuccin-frappe.yazi/tmtheme.xml deleted file mode 100644 index bfa7e0b..0000000 --- a/home/config/yazi/flavors/catppuccin-frappe.yazi/tmtheme.xml +++ /dev/null @@ -1,2081 +0,0 @@ - - - - - name - Catppuccin Frappé - semanticClass - theme.dark.catppuccin-frappé - uuid - e0ada983-8938-490c-86f0-97a1a0ec58e4 - author - Catppuccin Org - colorSpaceName - sRGB - settings - - - settings - - background - #303446 - foreground - #c6d0f5 - caret - #f2d5cf - lineHighlight - #414559 - misspelling - #e78284 - accent - #ca9ee6 - selection - #949cbb40 - activeGuide - #51576d - findHighlight - #506373 - gutterForeground - #838ba7 - - - - name - Basic text & variable names (incl. leading punctuation) - scope - text, source, variable.other.readwrite, punctuation.definition.variable - settings - - foreground - #c6d0f5 - - - - name - Parentheses, Brackets, Braces - scope - punctuation - settings - - foreground - #949cbb - fontStyle - - - - - name - Comments - scope - comment, punctuation.definition.comment - settings - - foreground - #737994 - fontStyle - italic - - - - scope - string, punctuation.definition.string - settings - - foreground - #a6d189 - - - - scope - constant.character.escape - settings - - foreground - #f4b8e4 - - - - name - Booleans, constants, numbers - scope - constant.numeric, variable.other.constant, entity.name.constant, constant.language.boolean, constant.language.false, constant.language.true, keyword.other.unit.user-defined, keyword.other.unit.suffix.floating-point - settings - - foreground - #ef9f76 - - - - scope - keyword, keyword.operator.word, keyword.operator.new, variable.language.super, support.type.primitive, storage.type, storage.modifier, punctuation.definition.keyword - settings - - foreground - #ca9ee6 - fontStyle - - - - - scope - entity.name.tag.documentation - settings - - foreground - #ca9ee6 - - - - name - Punctuation - scope - keyword.operator, punctuation.accessor, punctuation.definition.generic, meta.function.closure punctuation.section.parameters, punctuation.definition.tag, punctuation.separator.key-value - settings - - foreground - #81c8be - - - - scope - entity.name.function, meta.function-call.method, support.function, support.function.misc, variable.function - settings - - foreground - #8caaee - fontStyle - italic - - - - name - Classes - scope - entity.name.class, entity.other.inherited-class, support.class, meta.function-call.constructor, entity.name.struct - settings - - foreground - #e5c890 - fontStyle - italic - - - - name - Enum - scope - entity.name.enum - settings - - foreground - #e5c890 - fontStyle - italic - - - - name - Enum member - scope - meta.enum variable.other.readwrite, variable.other.enummember - settings - - foreground - #81c8be - - - - name - Object properties - scope - meta.property.object - settings - - foreground - #81c8be - - - - name - Types - scope - meta.type, meta.type-alias, support.type, entity.name.type - settings - - foreground - #e5c890 - fontStyle - italic - - - - name - Decorators - scope - meta.annotation variable.function, meta.annotation variable.annotation.function, meta.annotation punctuation.definition.annotation, meta.decorator, punctuation.decorator - settings - - foreground - #ef9f76 - - - - scope - variable.parameter, meta.function.parameters - settings - - foreground - #ea999c - fontStyle - italic - - - - name - Built-ins - scope - constant.language, support.function.builtin - settings - - foreground - #e78284 - - - - scope - entity.other.attribute-name.documentation - settings - - foreground - #e78284 - - - - name - Preprocessor directives - scope - keyword.control.directive, punctuation.definition.directive - settings - - foreground - #e5c890 - - - - name - Type parameters - scope - punctuation.definition.typeparameters - settings - - foreground - #99d1db - - - - name - Namespaces - scope - entity.name.namespace - settings - - foreground - #e5c890 - - - - name - Property names (left hand assignments in json/yaml/css) - scope - support.type.property-name.css - settings - - foreground - #8caaee - fontStyle - - - - - name - This/Self keyword - scope - variable.language.this, variable.language.this punctuation.definition.variable - settings - - foreground - #e78284 - - - - name - Object properties - scope - variable.object.property - settings - - foreground - #c6d0f5 - - - - name - String template interpolation - scope - string.template variable, string variable - settings - - foreground - #c6d0f5 - - - - name - `new` as bold - scope - keyword.operator.new - settings - - fontStyle - bold - - - - name - C++ extern keyword - scope - storage.modifier.specifier.extern.cpp - settings - - foreground - #ca9ee6 - - - - name - C++ scope resolution - scope - entity.name.scope-resolution.template.call.cpp, entity.name.scope-resolution.parameter.cpp, entity.name.scope-resolution.cpp, entity.name.scope-resolution.function.definition.cpp - settings - - foreground - #e5c890 - - - - name - C++ doc keywords - scope - storage.type.class.doxygen - settings - - fontStyle - - - - - name - C++ operators - scope - storage.modifier.reference.cpp - settings - - foreground - #81c8be - - - - name - C# Interpolated Strings - scope - meta.interpolation.cs - settings - - foreground - #c6d0f5 - - - - name - C# xml-style docs - scope - comment.block.documentation.cs - settings - - foreground - #c6d0f5 - - - - name - Classes, reflecting the className color in JSX - scope - source.css entity.other.attribute-name.class.css, entity.other.attribute-name.parent-selector.css punctuation.definition.entity.css - settings - - foreground - #e5c890 - - - - name - Operators - scope - punctuation.separator.operator.css - settings - - foreground - #81c8be - - - - name - Pseudo classes - scope - source.css entity.other.attribute-name.pseudo-class - settings - - foreground - #81c8be - - - - scope - source.css constant.other.unicode-range - settings - - foreground - #ef9f76 - - - - scope - source.css variable.parameter.url - settings - - foreground - #a6d189 - fontStyle - - - - - name - CSS vendored property names - scope - support.type.vendored.property-name - settings - - foreground - #99d1db - - - - name - Less/SCSS right-hand variables (@/$-prefixed) - scope - source.css meta.property-value variable, source.css meta.property-value variable.other.less, source.css meta.property-value variable.other.less punctuation.definition.variable.less, meta.definition.variable.scss - settings - - foreground - #ea999c - - - - name - CSS variables (--prefixed) - scope - source.css meta.property-list variable, meta.property-list variable.other.less, meta.property-list variable.other.less punctuation.definition.variable.less - settings - - foreground - #8caaee - - - - name - CSS Percentage values, styled the same as numbers - scope - keyword.other.unit.percentage.css - settings - - foreground - #ef9f76 - - - - name - CSS Attribute selectors, styled the same as strings - scope - source.css meta.attribute-selector - settings - - foreground - #a6d189 - - - - name - JSON/YAML keys, other left-hand assignments - scope - keyword.other.definition.ini, punctuation.support.type.property-name.json, support.type.property-name.json, punctuation.support.type.property-name.toml, support.type.property-name.toml, entity.name.tag.yaml, punctuation.support.type.property-name.yaml, support.type.property-name.yaml - settings - - foreground - #8caaee - fontStyle - - - - - name - JSON/YAML constants - scope - constant.language.json, constant.language.yaml - settings - - foreground - #ef9f76 - - - - name - YAML anchors - scope - entity.name.type.anchor.yaml, variable.other.alias.yaml - settings - - foreground - #e5c890 - fontStyle - - - - - name - TOML tables / ini groups - scope - support.type.property-name.table, entity.name.section.group-title.ini - settings - - foreground - #e5c890 - - - - name - TOML dates - scope - constant.other.time.datetime.offset.toml - settings - - foreground - #f4b8e4 - - - - name - YAML anchor puctuation - scope - punctuation.definition.anchor.yaml, punctuation.definition.alias.yaml - settings - - foreground - #f4b8e4 - - - - name - YAML triple dashes - scope - entity.other.document.begin.yaml - settings - - foreground - #f4b8e4 - - - - name - Markup Diff - scope - markup.changed.diff - settings - - foreground - #ef9f76 - - - - name - Diff - scope - meta.diff.header.from-file, meta.diff.header.to-file, punctuation.definition.from-file.diff, punctuation.definition.to-file.diff - settings - - foreground - #8caaee - - - - name - Diff Inserted - scope - markup.inserted.diff - settings - - foreground - #a6d189 - - - - name - Diff Deleted - scope - markup.deleted.diff - settings - - foreground - #e78284 - - - - name - dotenv left-hand side assignments - scope - variable.other.env - settings - - foreground - #8caaee - - - - name - dotenv reference to existing env variable - scope - string.quoted variable.other.env - settings - - foreground - #c6d0f5 - - - - name - GDScript functions - scope - support.function.builtin.gdscript - settings - - foreground - #8caaee - - - - name - GDScript constants - scope - constant.language.gdscript - settings - - foreground - #ef9f76 - - - - name - Comment keywords - scope - comment meta.annotation.go - settings - - foreground - #ea999c - - - - name - go:embed, go:build, etc. - scope - comment meta.annotation.parameters.go - settings - - foreground - #ef9f76 - - - - name - Go constants (nil, true, false) - scope - constant.language.go - settings - - foreground - #ef9f76 - - - - name - GraphQL variables - scope - variable.graphql - settings - - foreground - #c6d0f5 - - - - name - GraphQL aliases - scope - string.unquoted.alias.graphql - settings - - foreground - #eebebe - - - - name - GraphQL enum members - scope - constant.character.enum.graphql - settings - - foreground - #81c8be - - - - name - GraphQL field in types - scope - meta.objectvalues.graphql constant.object.key.graphql string.unquoted.graphql - settings - - foreground - #eebebe - - - - name - HTML/XML DOCTYPE as keyword - scope - keyword.other.doctype, meta.tag.sgml.doctype punctuation.definition.tag, meta.tag.metadata.doctype entity.name.tag, meta.tag.metadata.doctype punctuation.definition.tag - settings - - foreground - #ca9ee6 - - - - name - HTML/XML-like <tags/> - scope - entity.name.tag - settings - - foreground - #8caaee - fontStyle - - - - - name - Special characters like &amp; - scope - text.html constant.character.entity, text.html constant.character.entity punctuation, constant.character.entity.xml, constant.character.entity.xml punctuation, constant.character.entity.js.jsx, constant.charactger.entity.js.jsx punctuation, constant.character.entity.tsx, constant.character.entity.tsx punctuation - settings - - foreground - #e78284 - - - - name - HTML/XML tag attribute values - scope - entity.other.attribute-name - settings - - foreground - #e5c890 - - - - name - Components - scope - support.class.component, support.class.component.jsx, support.class.component.tsx, support.class.component.vue - settings - - foreground - #f4b8e4 - fontStyle - - - - - name - Annotations - scope - punctuation.definition.annotation, storage.type.annotation - settings - - foreground - #ef9f76 - - - - name - Java enums - scope - constant.other.enum.java - settings - - foreground - #81c8be - - - - name - Java imports - scope - storage.modifier.import.java - settings - - foreground - #c6d0f5 - - - - name - Javadoc - scope - comment.block.javadoc.java keyword.other.documentation.javadoc.java - settings - - fontStyle - - - - - name - Exported Variable - scope - meta.export variable.other.readwrite.js - settings - - foreground - #ea999c - - - - name - JS/TS constants & properties - scope - variable.other.constant.js, variable.other.constant.ts, variable.other.property.js, variable.other.property.ts - settings - - foreground - #c6d0f5 - - - - name - JSDoc; these are mainly params, so styled as such - scope - variable.other.jsdoc, comment.block.documentation variable.other - settings - - foreground - #ea999c - fontStyle - - - - - name - JSDoc keywords - scope - storage.type.class.jsdoc - settings - - fontStyle - - - - - scope - support.type.object.console.js - settings - - foreground - #c6d0f5 - - - - name - Node constants as keywords (module, etc.) - scope - support.constant.node, support.type.object.module.js - settings - - foreground - #ca9ee6 - - - - name - implements as keyword - scope - storage.modifier.implements - settings - - foreground - #ca9ee6 - - - - name - Builtin types - scope - constant.language.null.js, constant.language.null.ts, constant.language.undefined.js, constant.language.undefined.ts, support.type.builtin.ts - settings - - foreground - #ca9ee6 - - - - scope - variable.parameter.generic - settings - - foreground - #e5c890 - - - - name - Arrow functions - scope - keyword.declaration.function.arrow.js, storage.type.function.arrow.ts - settings - - foreground - #81c8be - - - - name - Decorator punctuations (decorators inherit from blue functions, instead of styleguide peach) - scope - punctuation.decorator.ts - settings - - foreground - #8caaee - fontStyle - italic - - - - name - Extra JS/TS keywords - scope - keyword.operator.expression.in.js, keyword.operator.expression.in.ts, keyword.operator.expression.infer.ts, keyword.operator.expression.instanceof.js, keyword.operator.expression.instanceof.ts, keyword.operator.expression.is, keyword.operator.expression.keyof.ts, keyword.operator.expression.of.js, keyword.operator.expression.of.ts, keyword.operator.expression.typeof.ts - settings - - foreground - #ca9ee6 - - - - name - Julia macros - scope - support.function.macro.julia - settings - - foreground - #81c8be - fontStyle - italic - - - - name - Julia language constants (true, false) - scope - constant.language.julia - settings - - foreground - #ef9f76 - - - - name - Julia other constants (these seem to be arguments inside arrays) - scope - constant.other.symbol.julia - settings - - foreground - #ea999c - - - - name - LaTeX preamble - scope - text.tex keyword.control.preamble - settings - - foreground - #81c8be - - - - name - LaTeX be functions - scope - text.tex support.function.be - settings - - foreground - #99d1db - - - - name - LaTeX math - scope - constant.other.general.math.tex - settings - - foreground - #eebebe - - - - name - Lua docstring keywords - scope - comment.line.double-dash.documentation.lua storage.type.annotation.lua - settings - - foreground - #ca9ee6 - fontStyle - - - - - name - Lua docstring variables - scope - comment.line.double-dash.documentation.lua entity.name.variable.lua, comment.line.double-dash.documentation.lua variable.lua - settings - - foreground - #c6d0f5 - - - - scope - heading.1.markdown punctuation.definition.heading.markdown, heading.1.markdown, markup.heading.atx.1.mdx, markup.heading.atx.1.mdx punctuation.definition.heading.mdx, markup.heading.setext.1.markdown, markup.heading.heading-0.asciidoc - settings - - foreground - #e78284 - - - - scope - heading.2.markdown punctuation.definition.heading.markdown, heading.2.markdown, markup.heading.atx.2.mdx, markup.heading.atx.2.mdx punctuation.definition.heading.mdx, markup.heading.setext.2.markdown, markup.heading.heading-1.asciidoc - settings - - foreground - #ef9f76 - - - - scope - heading.3.markdown punctuation.definition.heading.markdown, heading.3.markdown, markup.heading.atx.3.mdx, markup.heading.atx.3.mdx punctuation.definition.heading.mdx, markup.heading.heading-2.asciidoc - settings - - foreground - #e5c890 - - - - scope - heading.4.markdown punctuation.definition.heading.markdown, heading.4.markdown, markup.heading.atx.4.mdx, markup.heading.atx.4.mdx punctuation.definition.heading.mdx, markup.heading.heading-3.asciidoc - settings - - foreground - #a6d189 - - - - scope - heading.5.markdown punctuation.definition.heading.markdown, heading.5.markdown, markup.heading.atx.5.mdx, markup.heading.atx.5.mdx punctuation.definition.heading.mdx, markup.heading.heading-4.asciidoc - settings - - foreground - #8caaee - - - - scope - heading.6.markdown punctuation.definition.heading.markdown, heading.6.markdown, markup.heading.atx.6.mdx, markup.heading.atx.6.mdx punctuation.definition.heading.mdx, markup.heading.heading-5.asciidoc - settings - - foreground - #ca9ee6 - - - - scope - markup.bold - settings - - foreground - #e78284 - fontStyle - bold - - - - scope - markup.italic - settings - - foreground - #e78284 - fontStyle - italic - - - - scope - markup.strikethrough - settings - - foreground - #a5adce - fontStyle - strikethrough - - - - name - Markdown auto links - scope - punctuation.definition.link, markup.underline.link - settings - - foreground - #8caaee - - - - name - Markdown links - scope - text.html.markdown punctuation.definition.link.title, string.other.link.title.markdown, markup.link, punctuation.definition.constant.markdown, constant.other.reference.link.markdown, markup.substitution.attribute-reference - settings - - foreground - #babbf1 - - - - name - Markdown code spans - scope - punctuation.definition.raw.markdown, markup.inline.raw.string.markdown, markup.raw.block.markdown - settings - - foreground - #a6d189 - - - - name - Markdown triple backtick language identifier - scope - fenced_code.block.language - settings - - foreground - #99d1db - - - - name - Markdown triple backticks - scope - markup.fenced_code.block punctuation.definition, markup.raw support.asciidoc - settings - - foreground - #949cbb - - - - name - Markdown quotes - scope - markup.quote, punctuation.definition.quote.begin - settings - - foreground - #f4b8e4 - - - - name - Markdown separators - scope - meta.separator.markdown - settings - - foreground - #81c8be - - - - name - Markdown list bullets - scope - punctuation.definition.list.begin.markdown, markup.list.bullet - settings - - foreground - #81c8be - - - - name - Nix attribute names - scope - entity.other.attribute-name.multipart.nix, entity.other.attribute-name.single.nix - settings - - foreground - #8caaee - - - - name - Nix parameter names - scope - variable.parameter.name.nix - settings - - foreground - #c6d0f5 - fontStyle - - - - - name - Nix interpolated parameter names - scope - meta.embedded variable.parameter.name.nix - settings - - foreground - #babbf1 - fontStyle - - - - - name - Nix paths - scope - string.unquoted.path.nix - settings - - foreground - #f4b8e4 - fontStyle - - - - - name - PHP Attributes - scope - support.attribute.builtin, meta.attribute.php - settings - - foreground - #e5c890 - - - - name - PHP Parameters (needed for the leading dollar sign) - scope - meta.function.parameters.php punctuation.definition.variable.php - settings - - foreground - #ea999c - - - - name - PHP Constants (null, __FILE__, etc.) - scope - constant.language.php - settings - - foreground - #ca9ee6 - - - - name - PHP functions - scope - text.html.php support.function - settings - - foreground - #99d1db - - - - name - PHPdoc keywords - scope - keyword.other.phpdoc.php - settings - - fontStyle - - - - - name - Python argument functions reset to text, otherwise they inherit blue from function-call - scope - support.variable.magic.python, meta.function-call.arguments.python - settings - - foreground - #c6d0f5 - - - - name - Python double underscore functions - scope - support.function.magic.python - settings - - foreground - #99d1db - fontStyle - italic - - - - name - Python `self` keyword - scope - variable.parameter.function.language.special.self.python, variable.language.special.self.python - settings - - foreground - #e78284 - fontStyle - italic - - - - name - python keyword flow/logical (for ... in) - scope - keyword.control.flow.python, keyword.operator.logical.python - settings - - foreground - #ca9ee6 - - - - name - python storage type - scope - storage.type.function.python - settings - - foreground - #ca9ee6 - - - - name - python function support - scope - support.token.decorator.python, meta.function.decorator.identifier.python - settings - - foreground - #99d1db - - - - name - python function calls - scope - meta.function-call.python - settings - - foreground - #8caaee - - - - name - python function decorators - scope - entity.name.function.decorator.python, punctuation.definition.decorator.python - settings - - foreground - #ef9f76 - fontStyle - italic - - - - name - python placeholder reset to normal string - scope - constant.character.format.placeholder.other.python - settings - - foreground - #f4b8e4 - - - - name - Python exception & builtins such as exit() - scope - support.type.exception.python, support.function.builtin.python - settings - - foreground - #ef9f76 - - - - name - entity.name.type - scope - support.type.python - settings - - foreground - #ef9f76 - - - - name - python constants (True/False) - scope - constant.language.python - settings - - foreground - #ca9ee6 - - - - name - Arguments accessed later in the function body - scope - meta.indexed-name.python, meta.item-access.python - settings - - foreground - #ea999c - fontStyle - italic - - - - name - Python f-strings/binary/unicode storage types - scope - storage.type.string.python - settings - - foreground - #a6d189 - fontStyle - italic - - - - name - Python type hints - scope - meta.function.parameters.python - settings - - fontStyle - - - - - name - Regex string begin/end in JS/TS - scope - string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end - settings - - foreground - #f4b8e4 - - - - name - Regex anchors (^, $) - scope - keyword.control.anchor.regexp - settings - - foreground - #ca9ee6 - - - - name - Regex regular string match - scope - string.regexp.ts - settings - - foreground - #c6d0f5 - - - - name - Regex group parenthesis & backreference (\1, \2, \3, ...) - scope - punctuation.definition.group.regexp, keyword.other.back-reference.regexp - settings - - foreground - #a6d189 - - - - name - Regex character class [] - scope - punctuation.definition.character-class.regexp - settings - - foreground - #e5c890 - - - - name - Regex character classes (\d, \w, \s) - scope - constant.other.character-class.regexp - settings - - foreground - #f4b8e4 - - - - name - Regex range - scope - constant.other.character-class.range.regexp - settings - - foreground - #f2d5cf - - - - name - Regex quantifier - scope - keyword.operator.quantifier.regexp - settings - - foreground - #81c8be - - - - name - Regex constant/numeric - scope - constant.character.numeric.regexp - settings - - foreground - #ef9f76 - - - - name - Regex lookaheads, negative lookaheads, lookbehinds, negative lookbehinds - scope - punctuation.definition.group.no-capture.regexp, meta.assertion.look-ahead.regexp, meta.assertion.negative-look-ahead.regexp - settings - - foreground - #8caaee - - - - name - Rust attribute - scope - meta.annotation.rust, meta.annotation.rust punctuation, meta.attribute.rust, punctuation.definition.attribute.rust - settings - - foreground - #e5c890 - fontStyle - italic - - - - name - Rust attribute strings - scope - meta.attribute.rust string.quoted.double.rust, meta.attribute.rust string.quoted.single.char.rust - settings - - fontStyle - - - - - name - Rust keyword - scope - entity.name.function.macro.rules.rust, storage.type.module.rust, storage.modifier.rust, storage.type.struct.rust, storage.type.enum.rust, storage.type.trait.rust, storage.type.union.rust, storage.type.impl.rust, storage.type.rust, storage.type.function.rust, storage.type.type.rust - settings - - foreground - #ca9ee6 - fontStyle - - - - - name - Rust u/i32, u/i64, etc. - scope - entity.name.type.numeric.rust - settings - - foreground - #ca9ee6 - fontStyle - - - - - name - Rust generic - scope - meta.generic.rust - settings - - foreground - #ef9f76 - - - - name - Rust impl - scope - entity.name.impl.rust - settings - - foreground - #e5c890 - fontStyle - italic - - - - name - Rust module - scope - entity.name.module.rust - settings - - foreground - #ef9f76 - - - - name - Rust trait - scope - entity.name.trait.rust - settings - - foreground - #e5c890 - fontStyle - italic - - - - name - Rust struct - scope - storage.type.source.rust - settings - - foreground - #e5c890 - - - - name - Rust union - scope - entity.name.union.rust - settings - - foreground - #e5c890 - - - - name - Rust enum member - scope - meta.enum.rust storage.type.source.rust - settings - - foreground - #81c8be - - - - name - Rust macro - scope - support.macro.rust, meta.macro.rust support.function.rust, entity.name.function.macro.rust - settings - - foreground - #8caaee - fontStyle - italic - - - - name - Rust lifetime - scope - storage.modifier.lifetime.rust, entity.name.type.lifetime - settings - - foreground - #8caaee - fontStyle - italic - - - - name - Rust string formatting - scope - string.quoted.double.rust constant.other.placeholder.rust - settings - - foreground - #f4b8e4 - - - - name - Rust return type generic - scope - meta.function.return-type.rust meta.generic.rust storage.type.rust - settings - - foreground - #c6d0f5 - - - - name - Rust functions - scope - meta.function.call.rust - settings - - foreground - #8caaee - - - - name - Rust angle brackets - scope - punctuation.brackets.angle.rust - settings - - foreground - #99d1db - - - - name - Rust constants - scope - constant.other.caps.rust - settings - - foreground - #ef9f76 - - - - name - Rust function parameters - scope - meta.function.definition.rust variable.other.rust - settings - - foreground - #ea999c - - - - name - Rust closure variables - scope - meta.function.call.rust variable.other.rust - settings - - foreground - #c6d0f5 - - - - name - Rust self - scope - variable.language.self.rust - settings - - foreground - #e78284 - - - - name - Rust metavariable names - scope - variable.other.metavariable.name.rust, meta.macro.metavariable.rust keyword.operator.macro.dollar.rust - settings - - foreground - #f4b8e4 - - - - name - Shell shebang - scope - comment.line.shebang, comment.line.shebang punctuation.definition.comment, comment.line.shebang, punctuation.definition.comment.shebang.shell, meta.shebang.shell - settings - - foreground - #f4b8e4 - fontStyle - italic - - - - name - Shell shebang command - scope - comment.line.shebang constant.language - settings - - foreground - #81c8be - fontStyle - italic - - - - name - Shell interpolated command - scope - meta.function-call.arguments.shell punctuation.definition.variable.shell, meta.function-call.arguments.shell punctuation.section.interpolation, meta.function-call.arguments.shell punctuation.definition.variable.shell, meta.function-call.arguments.shell punctuation.section.interpolation - settings - - foreground - #e78284 - - - - name - Shell interpolated command variable - scope - meta.string meta.interpolation.parameter.shell variable.other.readwrite - settings - - foreground - #ef9f76 - fontStyle - italic - - - - scope - source.shell punctuation.section.interpolation, punctuation.definition.evaluation.backticks.shell - settings - - foreground - #81c8be - - - - name - Shell EOF - scope - entity.name.tag.heredoc.shell - settings - - foreground - #ca9ee6 - - - - name - Shell quoted variable - scope - string.quoted.double.shell variable.other.normal.shell - settings - - foreground - #c6d0f5 - - - - name - JSON Keys - scope - source.json meta.mapping.key string - settings - - foreground - #8caaee - - - - name - JSON key surrounding quotes - scope - source.json meta.mapping.key punctuation.definition.string.begin, source.json meta.mapping.key punctuation.definition.string.end - settings - - foreground - #949cbb - - - - scope - markup.heading.synopsis.man, markup.heading.title.man, markup.heading.other.man, markup.heading.env.man - settings - - foreground - #ca9ee6 - - - - scope - markup.heading.commands.man - settings - - foreground - #8caaee - - - - scope - markup.heading.env.man - settings - - foreground - #f4b8e4 - - - - name - Man page options - scope - entity.name - settings - - foreground - #81c8be - - - - scope - markup.heading.1.markdown - settings - - foreground - #e78284 - - - - scope - markup.heading.2.markdown - settings - - foreground - #ef9f76 - - - - scope - markup.heading.markdown - settings - - foreground - #e5c890 - - - - - \ No newline at end of file diff --git a/home/config/yazi/flavors/catppuccin-latte.yazi/flavor.toml b/home/config/yazi/flavors/catppuccin-latte.yazi/flavor.toml deleted file mode 100644 index 4fbce5a..0000000 --- a/home/config/yazi/flavors/catppuccin-latte.yazi/flavor.toml +++ /dev/null @@ -1,173 +0,0 @@ -# vim:fileencoding=utf-8:foldmethod=marker - -# : Manager {{{ - -[manager] -cwd = { fg = "#179299" } - -# Hovered -hovered = { reversed = true } -preview_hovered = { underline = true } - -# Find -find_keyword = { fg = "#df8e1d", bold = true, italic = true, underline = true } -find_position = { fg = "#ea76cb", bg = "reset", bold = true, italic = true } - -# Marker -marker_copied = { fg = "#40a02b", bg = "#40a02b" } -marker_cut = { fg = "#d20f39", bg = "#d20f39" } -marker_marked = { fg = "#179299", bg = "#179299" } -marker_selected = { fg = "#df8e1d", bg = "#df8e1d" } - -# Tab -tab_active = { reversed = true } -tab_inactive = {} -tab_width = 1 - -# Count -count_copied = { fg = "#eff1f5", bg = "#40a02b" } -count_cut = { fg = "#eff1f5", bg = "#d20f39" } -count_selected = { fg = "#eff1f5", bg = "#df8e1d" } - -# Border -border_symbol = "│" -border_style = { fg = "#8c8fa1" } - -# : }}} - - -# : Mode {{{ - -[mode] - -normal_main = { fg = "#eff1f5", bg = "#1e66f5", bold = true } -normal_alt = { fg = "#1e66f5", bg = "#ccd0da" } - -# Select mode -select_main = { fg = "#eff1f5", bg = "#179299", bold = true } -select_alt = { fg = "#179299", bg = "#ccd0da" } - -# Unset mode -unset_main = { fg = "#eff1f5", bg = "#dd7878", bold = true } -unset_alt = { fg = "#dd7878", bg = "#ccd0da" } - -# : }}} - - -# : Status bar {{{ - -[status] -separator_open = "" -separator_close = "" - -# Progress -progress_label = { fg = "#ffffff", bold = true } -progress_normal = { fg = "#1e66f5", bg = "#bcc0cc" } -progress_error = { fg = "#d20f39", bg = "#bcc0cc" } - -# Permissions -perm_sep = { fg = "#8c8fa1" } -perm_type = { fg = "#1e66f5" } -perm_read = { fg = "#df8e1d" } -perm_write = { fg = "#d20f39" } -perm_exec = { fg = "#40a02b" } - -# : }}} - - -# : Pick {{{ - -[pick] -border = { fg = "#1e66f5" } -active = { fg = "#ea76cb", bold = true } -inactive = {} - -# : }}} - - -# : Input {{{ - -[input] -border = { fg = "#1e66f5" } -title = {} -value = {} -selected = { reversed = true } - -# : }}} - - -# : Completion {{{ - -[completion] -border = { fg = "#1e66f5" } - -# : }}} - - -# : Tasks {{{ - -[tasks] -border = { fg = "#1e66f5" } -title = {} -hovered = { fg = "#ea76cb", underline = true } - -# : }}} - - -# : Which {{{ - -[which] -mask = { bg = "#ccd0da" } -cand = { fg = "#179299" } -rest = { fg = "#7c7f93" } -desc = { fg = "#ea76cb" } -separator = "  " -separator_style = { fg = "#acb0be" } - -# : }}} - - -# : Help {{{ - -[help] -on = { fg = "#179299" } -run = { fg = "#ea76cb" } -hovered = { reversed = true, bold = true } -footer = { fg = "#ccd0da", bg = "#4c4f69" } - -# : }}} - - -# : Notify {{{ - -[notify] -title_info = { fg = "#40a02b" } -title_warn = { fg = "#df8e1d" } -title_error = { fg = "#d20f39" } - -# : }}} - - -# : File-specific styles {{{ - -[filetype] - -rules = [ - # Images - { mime = "image/*", fg = "#179299" }, - - # Media - { mime = "{audio,video}/*", fg = "#df8e1d" }, - - # Archives - { mime = "application/{zip,rar,7z*,tar,gzip,xz,zstd,bzip*,lzma,compress,archive,cpio,arj,xar,ms-cab*}", fg = "#ea76cb" }, - - # Documents - { mime = "application/{pdf,doc,rtf}", fg = "#40a02b" }, - - # Fallback - { name = "*", fg = "#4c4f69" }, - { name = "*/", fg = "#1e66f5" } -] - -# : }}} diff --git a/home/config/yazi/flavors/catppuccin-latte.yazi/tmtheme.xml b/home/config/yazi/flavors/catppuccin-latte.yazi/tmtheme.xml deleted file mode 100644 index 4783c16..0000000 --- a/home/config/yazi/flavors/catppuccin-latte.yazi/tmtheme.xml +++ /dev/null @@ -1,2081 +0,0 @@ - - - - - name - Catppuccin Latte - semanticClass - theme.light.catppuccin-latte - uuid - 96a262cd-4b2f-49f5-9125-8dd0077cbfe1 - author - Catppuccin Org - colorSpaceName - sRGB - settings - - - settings - - background - #eff1f5 - foreground - #4c4f69 - caret - #dc8a78 - lineHighlight - #ccd0da - misspelling - #d20f39 - accent - #8839ef - selection - #7c7f934d - activeGuide - #bcc0cc - findHighlight - #a9daf0 - gutterForeground - #8c8fa1 - - - - name - Basic text & variable names (incl. leading punctuation) - scope - text, source, variable.other.readwrite, punctuation.definition.variable - settings - - foreground - #4c4f69 - - - - name - Parentheses, Brackets, Braces - scope - punctuation - settings - - foreground - #7c7f93 - fontStyle - - - - - name - Comments - scope - comment, punctuation.definition.comment - settings - - foreground - #9ca0b0 - fontStyle - italic - - - - scope - string, punctuation.definition.string - settings - - foreground - #40a02b - - - - scope - constant.character.escape - settings - - foreground - #ea76cb - - - - name - Booleans, constants, numbers - scope - constant.numeric, variable.other.constant, entity.name.constant, constant.language.boolean, constant.language.false, constant.language.true, keyword.other.unit.user-defined, keyword.other.unit.suffix.floating-point - settings - - foreground - #fe640b - - - - scope - keyword, keyword.operator.word, keyword.operator.new, variable.language.super, support.type.primitive, storage.type, storage.modifier, punctuation.definition.keyword - settings - - foreground - #8839ef - fontStyle - - - - - scope - entity.name.tag.documentation - settings - - foreground - #8839ef - - - - name - Punctuation - scope - keyword.operator, punctuation.accessor, punctuation.definition.generic, meta.function.closure punctuation.section.parameters, punctuation.definition.tag, punctuation.separator.key-value - settings - - foreground - #179299 - - - - scope - entity.name.function, meta.function-call.method, support.function, support.function.misc, variable.function - settings - - foreground - #1e66f5 - fontStyle - italic - - - - name - Classes - scope - entity.name.class, entity.other.inherited-class, support.class, meta.function-call.constructor, entity.name.struct - settings - - foreground - #df8e1d - fontStyle - italic - - - - name - Enum - scope - entity.name.enum - settings - - foreground - #df8e1d - fontStyle - italic - - - - name - Enum member - scope - meta.enum variable.other.readwrite, variable.other.enummember - settings - - foreground - #179299 - - - - name - Object properties - scope - meta.property.object - settings - - foreground - #179299 - - - - name - Types - scope - meta.type, meta.type-alias, support.type, entity.name.type - settings - - foreground - #df8e1d - fontStyle - italic - - - - name - Decorators - scope - meta.annotation variable.function, meta.annotation variable.annotation.function, meta.annotation punctuation.definition.annotation, meta.decorator, punctuation.decorator - settings - - foreground - #fe640b - - - - scope - variable.parameter, meta.function.parameters - settings - - foreground - #e64553 - fontStyle - italic - - - - name - Built-ins - scope - constant.language, support.function.builtin - settings - - foreground - #d20f39 - - - - scope - entity.other.attribute-name.documentation - settings - - foreground - #d20f39 - - - - name - Preprocessor directives - scope - keyword.control.directive, punctuation.definition.directive - settings - - foreground - #df8e1d - - - - name - Type parameters - scope - punctuation.definition.typeparameters - settings - - foreground - #04a5e5 - - - - name - Namespaces - scope - entity.name.namespace - settings - - foreground - #df8e1d - - - - name - Property names (left hand assignments in json/yaml/css) - scope - support.type.property-name.css - settings - - foreground - #1e66f5 - fontStyle - - - - - name - This/Self keyword - scope - variable.language.this, variable.language.this punctuation.definition.variable - settings - - foreground - #d20f39 - - - - name - Object properties - scope - variable.object.property - settings - - foreground - #4c4f69 - - - - name - String template interpolation - scope - string.template variable, string variable - settings - - foreground - #4c4f69 - - - - name - `new` as bold - scope - keyword.operator.new - settings - - fontStyle - bold - - - - name - C++ extern keyword - scope - storage.modifier.specifier.extern.cpp - settings - - foreground - #8839ef - - - - name - C++ scope resolution - scope - entity.name.scope-resolution.template.call.cpp, entity.name.scope-resolution.parameter.cpp, entity.name.scope-resolution.cpp, entity.name.scope-resolution.function.definition.cpp - settings - - foreground - #df8e1d - - - - name - C++ doc keywords - scope - storage.type.class.doxygen - settings - - fontStyle - - - - - name - C++ operators - scope - storage.modifier.reference.cpp - settings - - foreground - #179299 - - - - name - C# Interpolated Strings - scope - meta.interpolation.cs - settings - - foreground - #4c4f69 - - - - name - C# xml-style docs - scope - comment.block.documentation.cs - settings - - foreground - #4c4f69 - - - - name - Classes, reflecting the className color in JSX - scope - source.css entity.other.attribute-name.class.css, entity.other.attribute-name.parent-selector.css punctuation.definition.entity.css - settings - - foreground - #df8e1d - - - - name - Operators - scope - punctuation.separator.operator.css - settings - - foreground - #179299 - - - - name - Pseudo classes - scope - source.css entity.other.attribute-name.pseudo-class - settings - - foreground - #179299 - - - - scope - source.css constant.other.unicode-range - settings - - foreground - #fe640b - - - - scope - source.css variable.parameter.url - settings - - foreground - #40a02b - fontStyle - - - - - name - CSS vendored property names - scope - support.type.vendored.property-name - settings - - foreground - #04a5e5 - - - - name - Less/SCSS right-hand variables (@/$-prefixed) - scope - source.css meta.property-value variable, source.css meta.property-value variable.other.less, source.css meta.property-value variable.other.less punctuation.definition.variable.less, meta.definition.variable.scss - settings - - foreground - #e64553 - - - - name - CSS variables (--prefixed) - scope - source.css meta.property-list variable, meta.property-list variable.other.less, meta.property-list variable.other.less punctuation.definition.variable.less - settings - - foreground - #1e66f5 - - - - name - CSS Percentage values, styled the same as numbers - scope - keyword.other.unit.percentage.css - settings - - foreground - #fe640b - - - - name - CSS Attribute selectors, styled the same as strings - scope - source.css meta.attribute-selector - settings - - foreground - #40a02b - - - - name - JSON/YAML keys, other left-hand assignments - scope - keyword.other.definition.ini, punctuation.support.type.property-name.json, support.type.property-name.json, punctuation.support.type.property-name.toml, support.type.property-name.toml, entity.name.tag.yaml, punctuation.support.type.property-name.yaml, support.type.property-name.yaml - settings - - foreground - #1e66f5 - fontStyle - - - - - name - JSON/YAML constants - scope - constant.language.json, constant.language.yaml - settings - - foreground - #fe640b - - - - name - YAML anchors - scope - entity.name.type.anchor.yaml, variable.other.alias.yaml - settings - - foreground - #df8e1d - fontStyle - - - - - name - TOML tables / ini groups - scope - support.type.property-name.table, entity.name.section.group-title.ini - settings - - foreground - #df8e1d - - - - name - TOML dates - scope - constant.other.time.datetime.offset.toml - settings - - foreground - #ea76cb - - - - name - YAML anchor puctuation - scope - punctuation.definition.anchor.yaml, punctuation.definition.alias.yaml - settings - - foreground - #ea76cb - - - - name - YAML triple dashes - scope - entity.other.document.begin.yaml - settings - - foreground - #ea76cb - - - - name - Markup Diff - scope - markup.changed.diff - settings - - foreground - #fe640b - - - - name - Diff - scope - meta.diff.header.from-file, meta.diff.header.to-file, punctuation.definition.from-file.diff, punctuation.definition.to-file.diff - settings - - foreground - #1e66f5 - - - - name - Diff Inserted - scope - markup.inserted.diff - settings - - foreground - #40a02b - - - - name - Diff Deleted - scope - markup.deleted.diff - settings - - foreground - #d20f39 - - - - name - dotenv left-hand side assignments - scope - variable.other.env - settings - - foreground - #1e66f5 - - - - name - dotenv reference to existing env variable - scope - string.quoted variable.other.env - settings - - foreground - #4c4f69 - - - - name - GDScript functions - scope - support.function.builtin.gdscript - settings - - foreground - #1e66f5 - - - - name - GDScript constants - scope - constant.language.gdscript - settings - - foreground - #fe640b - - - - name - Comment keywords - scope - comment meta.annotation.go - settings - - foreground - #e64553 - - - - name - go:embed, go:build, etc. - scope - comment meta.annotation.parameters.go - settings - - foreground - #fe640b - - - - name - Go constants (nil, true, false) - scope - constant.language.go - settings - - foreground - #fe640b - - - - name - GraphQL variables - scope - variable.graphql - settings - - foreground - #4c4f69 - - - - name - GraphQL aliases - scope - string.unquoted.alias.graphql - settings - - foreground - #dd7878 - - - - name - GraphQL enum members - scope - constant.character.enum.graphql - settings - - foreground - #179299 - - - - name - GraphQL field in types - scope - meta.objectvalues.graphql constant.object.key.graphql string.unquoted.graphql - settings - - foreground - #dd7878 - - - - name - HTML/XML DOCTYPE as keyword - scope - keyword.other.doctype, meta.tag.sgml.doctype punctuation.definition.tag, meta.tag.metadata.doctype entity.name.tag, meta.tag.metadata.doctype punctuation.definition.tag - settings - - foreground - #8839ef - - - - name - HTML/XML-like <tags/> - scope - entity.name.tag - settings - - foreground - #1e66f5 - fontStyle - - - - - name - Special characters like &amp; - scope - text.html constant.character.entity, text.html constant.character.entity punctuation, constant.character.entity.xml, constant.character.entity.xml punctuation, constant.character.entity.js.jsx, constant.charactger.entity.js.jsx punctuation, constant.character.entity.tsx, constant.character.entity.tsx punctuation - settings - - foreground - #d20f39 - - - - name - HTML/XML tag attribute values - scope - entity.other.attribute-name - settings - - foreground - #df8e1d - - - - name - Components - scope - support.class.component, support.class.component.jsx, support.class.component.tsx, support.class.component.vue - settings - - foreground - #ea76cb - fontStyle - - - - - name - Annotations - scope - punctuation.definition.annotation, storage.type.annotation - settings - - foreground - #fe640b - - - - name - Java enums - scope - constant.other.enum.java - settings - - foreground - #179299 - - - - name - Java imports - scope - storage.modifier.import.java - settings - - foreground - #4c4f69 - - - - name - Javadoc - scope - comment.block.javadoc.java keyword.other.documentation.javadoc.java - settings - - fontStyle - - - - - name - Exported Variable - scope - meta.export variable.other.readwrite.js - settings - - foreground - #e64553 - - - - name - JS/TS constants & properties - scope - variable.other.constant.js, variable.other.constant.ts, variable.other.property.js, variable.other.property.ts - settings - - foreground - #4c4f69 - - - - name - JSDoc; these are mainly params, so styled as such - scope - variable.other.jsdoc, comment.block.documentation variable.other - settings - - foreground - #e64553 - fontStyle - - - - - name - JSDoc keywords - scope - storage.type.class.jsdoc - settings - - fontStyle - - - - - scope - support.type.object.console.js - settings - - foreground - #4c4f69 - - - - name - Node constants as keywords (module, etc.) - scope - support.constant.node, support.type.object.module.js - settings - - foreground - #8839ef - - - - name - implements as keyword - scope - storage.modifier.implements - settings - - foreground - #8839ef - - - - name - Builtin types - scope - constant.language.null.js, constant.language.null.ts, constant.language.undefined.js, constant.language.undefined.ts, support.type.builtin.ts - settings - - foreground - #8839ef - - - - scope - variable.parameter.generic - settings - - foreground - #df8e1d - - - - name - Arrow functions - scope - keyword.declaration.function.arrow.js, storage.type.function.arrow.ts - settings - - foreground - #179299 - - - - name - Decorator punctuations (decorators inherit from blue functions, instead of styleguide peach) - scope - punctuation.decorator.ts - settings - - foreground - #1e66f5 - fontStyle - italic - - - - name - Extra JS/TS keywords - scope - keyword.operator.expression.in.js, keyword.operator.expression.in.ts, keyword.operator.expression.infer.ts, keyword.operator.expression.instanceof.js, keyword.operator.expression.instanceof.ts, keyword.operator.expression.is, keyword.operator.expression.keyof.ts, keyword.operator.expression.of.js, keyword.operator.expression.of.ts, keyword.operator.expression.typeof.ts - settings - - foreground - #8839ef - - - - name - Julia macros - scope - support.function.macro.julia - settings - - foreground - #179299 - fontStyle - italic - - - - name - Julia language constants (true, false) - scope - constant.language.julia - settings - - foreground - #fe640b - - - - name - Julia other constants (these seem to be arguments inside arrays) - scope - constant.other.symbol.julia - settings - - foreground - #e64553 - - - - name - LaTeX preamble - scope - text.tex keyword.control.preamble - settings - - foreground - #179299 - - - - name - LaTeX be functions - scope - text.tex support.function.be - settings - - foreground - #04a5e5 - - - - name - LaTeX math - scope - constant.other.general.math.tex - settings - - foreground - #dd7878 - - - - name - Lua docstring keywords - scope - comment.line.double-dash.documentation.lua storage.type.annotation.lua - settings - - foreground - #8839ef - fontStyle - - - - - name - Lua docstring variables - scope - comment.line.double-dash.documentation.lua entity.name.variable.lua, comment.line.double-dash.documentation.lua variable.lua - settings - - foreground - #4c4f69 - - - - scope - heading.1.markdown punctuation.definition.heading.markdown, heading.1.markdown, markup.heading.atx.1.mdx, markup.heading.atx.1.mdx punctuation.definition.heading.mdx, markup.heading.setext.1.markdown, markup.heading.heading-0.asciidoc - settings - - foreground - #d20f39 - - - - scope - heading.2.markdown punctuation.definition.heading.markdown, heading.2.markdown, markup.heading.atx.2.mdx, markup.heading.atx.2.mdx punctuation.definition.heading.mdx, markup.heading.setext.2.markdown, markup.heading.heading-1.asciidoc - settings - - foreground - #fe640b - - - - scope - heading.3.markdown punctuation.definition.heading.markdown, heading.3.markdown, markup.heading.atx.3.mdx, markup.heading.atx.3.mdx punctuation.definition.heading.mdx, markup.heading.heading-2.asciidoc - settings - - foreground - #df8e1d - - - - scope - heading.4.markdown punctuation.definition.heading.markdown, heading.4.markdown, markup.heading.atx.4.mdx, markup.heading.atx.4.mdx punctuation.definition.heading.mdx, markup.heading.heading-3.asciidoc - settings - - foreground - #40a02b - - - - scope - heading.5.markdown punctuation.definition.heading.markdown, heading.5.markdown, markup.heading.atx.5.mdx, markup.heading.atx.5.mdx punctuation.definition.heading.mdx, markup.heading.heading-4.asciidoc - settings - - foreground - #1e66f5 - - - - scope - heading.6.markdown punctuation.definition.heading.markdown, heading.6.markdown, markup.heading.atx.6.mdx, markup.heading.atx.6.mdx punctuation.definition.heading.mdx, markup.heading.heading-5.asciidoc - settings - - foreground - #8839ef - - - - scope - markup.bold - settings - - foreground - #d20f39 - fontStyle - bold - - - - scope - markup.italic - settings - - foreground - #d20f39 - fontStyle - italic - - - - scope - markup.strikethrough - settings - - foreground - #6c6f85 - fontStyle - strikethrough - - - - name - Markdown auto links - scope - punctuation.definition.link, markup.underline.link - settings - - foreground - #1e66f5 - - - - name - Markdown links - scope - text.html.markdown punctuation.definition.link.title, string.other.link.title.markdown, markup.link, punctuation.definition.constant.markdown, constant.other.reference.link.markdown, markup.substitution.attribute-reference - settings - - foreground - #7287fd - - - - name - Markdown code spans - scope - punctuation.definition.raw.markdown, markup.inline.raw.string.markdown, markup.raw.block.markdown - settings - - foreground - #40a02b - - - - name - Markdown triple backtick language identifier - scope - fenced_code.block.language - settings - - foreground - #04a5e5 - - - - name - Markdown triple backticks - scope - markup.fenced_code.block punctuation.definition, markup.raw support.asciidoc - settings - - foreground - #7c7f93 - - - - name - Markdown quotes - scope - markup.quote, punctuation.definition.quote.begin - settings - - foreground - #ea76cb - - - - name - Markdown separators - scope - meta.separator.markdown - settings - - foreground - #179299 - - - - name - Markdown list bullets - scope - punctuation.definition.list.begin.markdown, markup.list.bullet - settings - - foreground - #179299 - - - - name - Nix attribute names - scope - entity.other.attribute-name.multipart.nix, entity.other.attribute-name.single.nix - settings - - foreground - #1e66f5 - - - - name - Nix parameter names - scope - variable.parameter.name.nix - settings - - foreground - #4c4f69 - fontStyle - - - - - name - Nix interpolated parameter names - scope - meta.embedded variable.parameter.name.nix - settings - - foreground - #7287fd - fontStyle - - - - - name - Nix paths - scope - string.unquoted.path.nix - settings - - foreground - #ea76cb - fontStyle - - - - - name - PHP Attributes - scope - support.attribute.builtin, meta.attribute.php - settings - - foreground - #df8e1d - - - - name - PHP Parameters (needed for the leading dollar sign) - scope - meta.function.parameters.php punctuation.definition.variable.php - settings - - foreground - #e64553 - - - - name - PHP Constants (null, __FILE__, etc.) - scope - constant.language.php - settings - - foreground - #8839ef - - - - name - PHP functions - scope - text.html.php support.function - settings - - foreground - #04a5e5 - - - - name - PHPdoc keywords - scope - keyword.other.phpdoc.php - settings - - fontStyle - - - - - name - Python argument functions reset to text, otherwise they inherit blue from function-call - scope - support.variable.magic.python, meta.function-call.arguments.python - settings - - foreground - #4c4f69 - - - - name - Python double underscore functions - scope - support.function.magic.python - settings - - foreground - #04a5e5 - fontStyle - italic - - - - name - Python `self` keyword - scope - variable.parameter.function.language.special.self.python, variable.language.special.self.python - settings - - foreground - #d20f39 - fontStyle - italic - - - - name - python keyword flow/logical (for ... in) - scope - keyword.control.flow.python, keyword.operator.logical.python - settings - - foreground - #8839ef - - - - name - python storage type - scope - storage.type.function.python - settings - - foreground - #8839ef - - - - name - python function support - scope - support.token.decorator.python, meta.function.decorator.identifier.python - settings - - foreground - #04a5e5 - - - - name - python function calls - scope - meta.function-call.python - settings - - foreground - #1e66f5 - - - - name - python function decorators - scope - entity.name.function.decorator.python, punctuation.definition.decorator.python - settings - - foreground - #fe640b - fontStyle - italic - - - - name - python placeholder reset to normal string - scope - constant.character.format.placeholder.other.python - settings - - foreground - #ea76cb - - - - name - Python exception & builtins such as exit() - scope - support.type.exception.python, support.function.builtin.python - settings - - foreground - #fe640b - - - - name - entity.name.type - scope - support.type.python - settings - - foreground - #fe640b - - - - name - python constants (True/False) - scope - constant.language.python - settings - - foreground - #8839ef - - - - name - Arguments accessed later in the function body - scope - meta.indexed-name.python, meta.item-access.python - settings - - foreground - #e64553 - fontStyle - italic - - - - name - Python f-strings/binary/unicode storage types - scope - storage.type.string.python - settings - - foreground - #40a02b - fontStyle - italic - - - - name - Python type hints - scope - meta.function.parameters.python - settings - - fontStyle - - - - - name - Regex string begin/end in JS/TS - scope - string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end - settings - - foreground - #ea76cb - - - - name - Regex anchors (^, $) - scope - keyword.control.anchor.regexp - settings - - foreground - #8839ef - - - - name - Regex regular string match - scope - string.regexp.ts - settings - - foreground - #4c4f69 - - - - name - Regex group parenthesis & backreference (\1, \2, \3, ...) - scope - punctuation.definition.group.regexp, keyword.other.back-reference.regexp - settings - - foreground - #40a02b - - - - name - Regex character class [] - scope - punctuation.definition.character-class.regexp - settings - - foreground - #df8e1d - - - - name - Regex character classes (\d, \w, \s) - scope - constant.other.character-class.regexp - settings - - foreground - #ea76cb - - - - name - Regex range - scope - constant.other.character-class.range.regexp - settings - - foreground - #dc8a78 - - - - name - Regex quantifier - scope - keyword.operator.quantifier.regexp - settings - - foreground - #179299 - - - - name - Regex constant/numeric - scope - constant.character.numeric.regexp - settings - - foreground - #fe640b - - - - name - Regex lookaheads, negative lookaheads, lookbehinds, negative lookbehinds - scope - punctuation.definition.group.no-capture.regexp, meta.assertion.look-ahead.regexp, meta.assertion.negative-look-ahead.regexp - settings - - foreground - #1e66f5 - - - - name - Rust attribute - scope - meta.annotation.rust, meta.annotation.rust punctuation, meta.attribute.rust, punctuation.definition.attribute.rust - settings - - foreground - #df8e1d - fontStyle - italic - - - - name - Rust attribute strings - scope - meta.attribute.rust string.quoted.double.rust, meta.attribute.rust string.quoted.single.char.rust - settings - - fontStyle - - - - - name - Rust keyword - scope - entity.name.function.macro.rules.rust, storage.type.module.rust, storage.modifier.rust, storage.type.struct.rust, storage.type.enum.rust, storage.type.trait.rust, storage.type.union.rust, storage.type.impl.rust, storage.type.rust, storage.type.function.rust, storage.type.type.rust - settings - - foreground - #8839ef - fontStyle - - - - - name - Rust u/i32, u/i64, etc. - scope - entity.name.type.numeric.rust - settings - - foreground - #8839ef - fontStyle - - - - - name - Rust generic - scope - meta.generic.rust - settings - - foreground - #fe640b - - - - name - Rust impl - scope - entity.name.impl.rust - settings - - foreground - #df8e1d - fontStyle - italic - - - - name - Rust module - scope - entity.name.module.rust - settings - - foreground - #fe640b - - - - name - Rust trait - scope - entity.name.trait.rust - settings - - foreground - #df8e1d - fontStyle - italic - - - - name - Rust struct - scope - storage.type.source.rust - settings - - foreground - #df8e1d - - - - name - Rust union - scope - entity.name.union.rust - settings - - foreground - #df8e1d - - - - name - Rust enum member - scope - meta.enum.rust storage.type.source.rust - settings - - foreground - #179299 - - - - name - Rust macro - scope - support.macro.rust, meta.macro.rust support.function.rust, entity.name.function.macro.rust - settings - - foreground - #1e66f5 - fontStyle - italic - - - - name - Rust lifetime - scope - storage.modifier.lifetime.rust, entity.name.type.lifetime - settings - - foreground - #1e66f5 - fontStyle - italic - - - - name - Rust string formatting - scope - string.quoted.double.rust constant.other.placeholder.rust - settings - - foreground - #ea76cb - - - - name - Rust return type generic - scope - meta.function.return-type.rust meta.generic.rust storage.type.rust - settings - - foreground - #4c4f69 - - - - name - Rust functions - scope - meta.function.call.rust - settings - - foreground - #1e66f5 - - - - name - Rust angle brackets - scope - punctuation.brackets.angle.rust - settings - - foreground - #04a5e5 - - - - name - Rust constants - scope - constant.other.caps.rust - settings - - foreground - #fe640b - - - - name - Rust function parameters - scope - meta.function.definition.rust variable.other.rust - settings - - foreground - #e64553 - - - - name - Rust closure variables - scope - meta.function.call.rust variable.other.rust - settings - - foreground - #4c4f69 - - - - name - Rust self - scope - variable.language.self.rust - settings - - foreground - #d20f39 - - - - name - Rust metavariable names - scope - variable.other.metavariable.name.rust, meta.macro.metavariable.rust keyword.operator.macro.dollar.rust - settings - - foreground - #ea76cb - - - - name - Shell shebang - scope - comment.line.shebang, comment.line.shebang punctuation.definition.comment, comment.line.shebang, punctuation.definition.comment.shebang.shell, meta.shebang.shell - settings - - foreground - #ea76cb - fontStyle - italic - - - - name - Shell shebang command - scope - comment.line.shebang constant.language - settings - - foreground - #179299 - fontStyle - italic - - - - name - Shell interpolated command - scope - meta.function-call.arguments.shell punctuation.definition.variable.shell, meta.function-call.arguments.shell punctuation.section.interpolation, meta.function-call.arguments.shell punctuation.definition.variable.shell, meta.function-call.arguments.shell punctuation.section.interpolation - settings - - foreground - #d20f39 - - - - name - Shell interpolated command variable - scope - meta.string meta.interpolation.parameter.shell variable.other.readwrite - settings - - foreground - #fe640b - fontStyle - italic - - - - scope - source.shell punctuation.section.interpolation, punctuation.definition.evaluation.backticks.shell - settings - - foreground - #179299 - - - - name - Shell EOF - scope - entity.name.tag.heredoc.shell - settings - - foreground - #8839ef - - - - name - Shell quoted variable - scope - string.quoted.double.shell variable.other.normal.shell - settings - - foreground - #4c4f69 - - - - name - JSON Keys - scope - source.json meta.mapping.key string - settings - - foreground - #1e66f5 - - - - name - JSON key surrounding quotes - scope - source.json meta.mapping.key punctuation.definition.string.begin, source.json meta.mapping.key punctuation.definition.string.end - settings - - foreground - #7c7f93 - - - - scope - markup.heading.synopsis.man, markup.heading.title.man, markup.heading.other.man, markup.heading.env.man - settings - - foreground - #8839ef - - - - scope - markup.heading.commands.man - settings - - foreground - #1e66f5 - - - - scope - markup.heading.env.man - settings - - foreground - #ea76cb - - - - name - Man page options - scope - entity.name - settings - - foreground - #179299 - - - - scope - markup.heading.1.markdown - settings - - foreground - #d20f39 - - - - scope - markup.heading.2.markdown - settings - - foreground - #fe640b - - - - scope - markup.heading.markdown - settings - - foreground - #df8e1d - - - - - \ No newline at end of file diff --git a/home/config/yazi/flavors/catppuccin-macchiato.yazi/flavor.toml b/home/config/yazi/flavors/catppuccin-macchiato.yazi/flavor.toml deleted file mode 100644 index f43d113..0000000 --- a/home/config/yazi/flavors/catppuccin-macchiato.yazi/flavor.toml +++ /dev/null @@ -1,173 +0,0 @@ -# vim:fileencoding=utf-8:foldmethod=marker - -# : Manager {{{ - -[manager] -cwd = { fg = "#8bd5ca" } - -# Hovered -hovered = { reversed = true } -preview_hovered = { underline = true } - -# Find -find_keyword = { fg = "#eed49f", bold = true, italic = true, underline = true } -find_position = { fg = "#f5bde6", bg = "reset", bold = true, italic = true } - -# Marker -marker_copied = { fg = "#a6da95", bg = "#a6da95" } -marker_cut = { fg = "#ed8796", bg = "#ed8796" } -marker_marked = { fg = "#8bd5ca", bg = "#8bd5ca" } -marker_selected = { fg = "#eed49f", bg = "#eed49f" } - -# Tab -tab_active = { reversed = true } -tab_inactive = {} -tab_width = 1 - -# Count -count_copied = { fg = "#24273a", bg = "#a6da95" } -count_cut = { fg = "#24273a", bg = "#ed8796" } -count_selected = { fg = "#24273a", bg = "#eed49f" } - -# Border -border_symbol = "│" -border_style = { fg = "#8087a2" } - -# : }}} - - -# : Mode {{{ - -[mode] - -normal_main = { fg = "#24273a", bg = "#8aadf4", bold = true } -normal_alt = { fg = "#8aadf4", bg = "#363a4f" } - -# Select mode -select_main = { fg = "#24273a", bg = "#8bd5ca", bold = true } -select_alt = { fg = "#8bd5ca", bg = "#363a4f" } - -# Unset mode -unset_main = { fg = "#24273a", bg = "#f0c6c6", bold = true } -unset_alt = { fg = "#f0c6c6", bg = "#363a4f" } - -# : }}} - - -# : Status bar {{{ - -[status] -separator_open = "" -separator_close = "" - -# Progress -progress_label = { fg = "#ffffff", bold = true } -progress_normal = { fg = "#8aadf4", bg = "#494d64" } -progress_error = { fg = "#ed8796", bg = "#494d64" } - -# Permissions -perm_sep = { fg = "#8087a2" } -perm_type = { fg = "#8aadf4" } -perm_read = { fg = "#eed49f" } -perm_write = { fg = "#ed8796" } -perm_exec = { fg = "#a6da95" } - -# : }}} - - -# : Pick {{{ - -[pick] -border = { fg = "#8aadf4" } -active = { fg = "#f5bde6", bold = true } -inactive = {} - -# : }}} - - -# : Input {{{ - -[input] -border = { fg = "#8aadf4" } -title = {} -value = {} -selected = { reversed = true } - -# : }}} - - -# : Completion {{{ - -[completion] -border = { fg = "#8aadf4" } - -# : }}} - - -# : Tasks {{{ - -[tasks] -border = { fg = "#8aadf4" } -title = {} -hovered = { fg = "#f5bde6", underline = true } - -# : }}} - - -# : Which {{{ - -[which] -mask = { bg = "#363a4f" } -cand = { fg = "#8bd5ca" } -rest = { fg = "#939ab7" } -desc = { fg = "#f5bde6" } -separator = "  " -separator_style = { fg = "#5b6078" } - -# : }}} - - -# : Help {{{ - -[help] -on = { fg = "#8bd5ca" } -run = { fg = "#f5bde6" } -hovered = { reversed = true, bold = true } -footer = { fg = "#363a4f", bg = "#cad3f5" } - -# : }}} - - -# : Notify {{{ - -[notify] -title_info = { fg = "#a6da95" } -title_warn = { fg = "#eed49f" } -title_error = { fg = "#ed8796" } - -# : }}} - - -# : File-specific styles {{{ - -[filetype] - -rules = [ - # Images - { mime = "image/*", fg = "#8bd5ca" }, - - # Media - { mime = "{audio,video}/*", fg = "#eed49f" }, - - # Archives - { mime = "application/{zip,rar,7z*,tar,gzip,xz,zstd,bzip*,lzma,compress,archive,cpio,arj,xar,ms-cab*}", fg = "#f5bde6" }, - - # Documents - { mime = "application/{pdf,doc,rtf}", fg = "#a6da95" }, - - # Fallback - { name = "*", fg = "#cad3f5" }, - { name = "*/", fg = "#8aadf4" } -] - -# : }}} diff --git a/home/config/yazi/flavors/catppuccin-macchiato.yazi/tmtheme.xml b/home/config/yazi/flavors/catppuccin-macchiato.yazi/tmtheme.xml deleted file mode 100644 index a3c0eaa..0000000 --- a/home/config/yazi/flavors/catppuccin-macchiato.yazi/tmtheme.xml +++ /dev/null @@ -1,2081 +0,0 @@ - - - - - name - Catppuccin Macchiato - semanticClass - theme.dark.catppuccin-macchiato - uuid - 02b2bdf3-9eb7-4396-bf04-f17f1468f99f - author - Catppuccin Org - colorSpaceName - sRGB - settings - - - settings - - background - #24273a - foreground - #cad3f5 - caret - #f4dbd6 - lineHighlight - #363a4f - misspelling - #ed8796 - accent - #c6a0f6 - selection - #939ab740 - activeGuide - #494d64 - findHighlight - #455c6d - gutterForeground - #8087a2 - - - - name - Basic text & variable names (incl. leading punctuation) - scope - text, source, variable.other.readwrite, punctuation.definition.variable - settings - - foreground - #cad3f5 - - - - name - Parentheses, Brackets, Braces - scope - punctuation - settings - - foreground - #939ab7 - fontStyle - - - - - name - Comments - scope - comment, punctuation.definition.comment - settings - - foreground - #6e738d - fontStyle - italic - - - - scope - string, punctuation.definition.string - settings - - foreground - #a6da95 - - - - scope - constant.character.escape - settings - - foreground - #f5bde6 - - - - name - Booleans, constants, numbers - scope - constant.numeric, variable.other.constant, entity.name.constant, constant.language.boolean, constant.language.false, constant.language.true, keyword.other.unit.user-defined, keyword.other.unit.suffix.floating-point - settings - - foreground - #f5a97f - - - - scope - keyword, keyword.operator.word, keyword.operator.new, variable.language.super, support.type.primitive, storage.type, storage.modifier, punctuation.definition.keyword - settings - - foreground - #c6a0f6 - fontStyle - - - - - scope - entity.name.tag.documentation - settings - - foreground - #c6a0f6 - - - - name - Punctuation - scope - keyword.operator, punctuation.accessor, punctuation.definition.generic, meta.function.closure punctuation.section.parameters, punctuation.definition.tag, punctuation.separator.key-value - settings - - foreground - #8bd5ca - - - - scope - entity.name.function, meta.function-call.method, support.function, support.function.misc, variable.function - settings - - foreground - #8aadf4 - fontStyle - italic - - - - name - Classes - scope - entity.name.class, entity.other.inherited-class, support.class, meta.function-call.constructor, entity.name.struct - settings - - foreground - #eed49f - fontStyle - italic - - - - name - Enum - scope - entity.name.enum - settings - - foreground - #eed49f - fontStyle - italic - - - - name - Enum member - scope - meta.enum variable.other.readwrite, variable.other.enummember - settings - - foreground - #8bd5ca - - - - name - Object properties - scope - meta.property.object - settings - - foreground - #8bd5ca - - - - name - Types - scope - meta.type, meta.type-alias, support.type, entity.name.type - settings - - foreground - #eed49f - fontStyle - italic - - - - name - Decorators - scope - meta.annotation variable.function, meta.annotation variable.annotation.function, meta.annotation punctuation.definition.annotation, meta.decorator, punctuation.decorator - settings - - foreground - #f5a97f - - - - scope - variable.parameter, meta.function.parameters - settings - - foreground - #ee99a0 - fontStyle - italic - - - - name - Built-ins - scope - constant.language, support.function.builtin - settings - - foreground - #ed8796 - - - - scope - entity.other.attribute-name.documentation - settings - - foreground - #ed8796 - - - - name - Preprocessor directives - scope - keyword.control.directive, punctuation.definition.directive - settings - - foreground - #eed49f - - - - name - Type parameters - scope - punctuation.definition.typeparameters - settings - - foreground - #91d7e3 - - - - name - Namespaces - scope - entity.name.namespace - settings - - foreground - #eed49f - - - - name - Property names (left hand assignments in json/yaml/css) - scope - support.type.property-name.css - settings - - foreground - #8aadf4 - fontStyle - - - - - name - This/Self keyword - scope - variable.language.this, variable.language.this punctuation.definition.variable - settings - - foreground - #ed8796 - - - - name - Object properties - scope - variable.object.property - settings - - foreground - #cad3f5 - - - - name - String template interpolation - scope - string.template variable, string variable - settings - - foreground - #cad3f5 - - - - name - `new` as bold - scope - keyword.operator.new - settings - - fontStyle - bold - - - - name - C++ extern keyword - scope - storage.modifier.specifier.extern.cpp - settings - - foreground - #c6a0f6 - - - - name - C++ scope resolution - scope - entity.name.scope-resolution.template.call.cpp, entity.name.scope-resolution.parameter.cpp, entity.name.scope-resolution.cpp, entity.name.scope-resolution.function.definition.cpp - settings - - foreground - #eed49f - - - - name - C++ doc keywords - scope - storage.type.class.doxygen - settings - - fontStyle - - - - - name - C++ operators - scope - storage.modifier.reference.cpp - settings - - foreground - #8bd5ca - - - - name - C# Interpolated Strings - scope - meta.interpolation.cs - settings - - foreground - #cad3f5 - - - - name - C# xml-style docs - scope - comment.block.documentation.cs - settings - - foreground - #cad3f5 - - - - name - Classes, reflecting the className color in JSX - scope - source.css entity.other.attribute-name.class.css, entity.other.attribute-name.parent-selector.css punctuation.definition.entity.css - settings - - foreground - #eed49f - - - - name - Operators - scope - punctuation.separator.operator.css - settings - - foreground - #8bd5ca - - - - name - Pseudo classes - scope - source.css entity.other.attribute-name.pseudo-class - settings - - foreground - #8bd5ca - - - - scope - source.css constant.other.unicode-range - settings - - foreground - #f5a97f - - - - scope - source.css variable.parameter.url - settings - - foreground - #a6da95 - fontStyle - - - - - name - CSS vendored property names - scope - support.type.vendored.property-name - settings - - foreground - #91d7e3 - - - - name - Less/SCSS right-hand variables (@/$-prefixed) - scope - source.css meta.property-value variable, source.css meta.property-value variable.other.less, source.css meta.property-value variable.other.less punctuation.definition.variable.less, meta.definition.variable.scss - settings - - foreground - #ee99a0 - - - - name - CSS variables (--prefixed) - scope - source.css meta.property-list variable, meta.property-list variable.other.less, meta.property-list variable.other.less punctuation.definition.variable.less - settings - - foreground - #8aadf4 - - - - name - CSS Percentage values, styled the same as numbers - scope - keyword.other.unit.percentage.css - settings - - foreground - #f5a97f - - - - name - CSS Attribute selectors, styled the same as strings - scope - source.css meta.attribute-selector - settings - - foreground - #a6da95 - - - - name - JSON/YAML keys, other left-hand assignments - scope - keyword.other.definition.ini, punctuation.support.type.property-name.json, support.type.property-name.json, punctuation.support.type.property-name.toml, support.type.property-name.toml, entity.name.tag.yaml, punctuation.support.type.property-name.yaml, support.type.property-name.yaml - settings - - foreground - #8aadf4 - fontStyle - - - - - name - JSON/YAML constants - scope - constant.language.json, constant.language.yaml - settings - - foreground - #f5a97f - - - - name - YAML anchors - scope - entity.name.type.anchor.yaml, variable.other.alias.yaml - settings - - foreground - #eed49f - fontStyle - - - - - name - TOML tables / ini groups - scope - support.type.property-name.table, entity.name.section.group-title.ini - settings - - foreground - #eed49f - - - - name - TOML dates - scope - constant.other.time.datetime.offset.toml - settings - - foreground - #f5bde6 - - - - name - YAML anchor puctuation - scope - punctuation.definition.anchor.yaml, punctuation.definition.alias.yaml - settings - - foreground - #f5bde6 - - - - name - YAML triple dashes - scope - entity.other.document.begin.yaml - settings - - foreground - #f5bde6 - - - - name - Markup Diff - scope - markup.changed.diff - settings - - foreground - #f5a97f - - - - name - Diff - scope - meta.diff.header.from-file, meta.diff.header.to-file, punctuation.definition.from-file.diff, punctuation.definition.to-file.diff - settings - - foreground - #8aadf4 - - - - name - Diff Inserted - scope - markup.inserted.diff - settings - - foreground - #a6da95 - - - - name - Diff Deleted - scope - markup.deleted.diff - settings - - foreground - #ed8796 - - - - name - dotenv left-hand side assignments - scope - variable.other.env - settings - - foreground - #8aadf4 - - - - name - dotenv reference to existing env variable - scope - string.quoted variable.other.env - settings - - foreground - #cad3f5 - - - - name - GDScript functions - scope - support.function.builtin.gdscript - settings - - foreground - #8aadf4 - - - - name - GDScript constants - scope - constant.language.gdscript - settings - - foreground - #f5a97f - - - - name - Comment keywords - scope - comment meta.annotation.go - settings - - foreground - #ee99a0 - - - - name - go:embed, go:build, etc. - scope - comment meta.annotation.parameters.go - settings - - foreground - #f5a97f - - - - name - Go constants (nil, true, false) - scope - constant.language.go - settings - - foreground - #f5a97f - - - - name - GraphQL variables - scope - variable.graphql - settings - - foreground - #cad3f5 - - - - name - GraphQL aliases - scope - string.unquoted.alias.graphql - settings - - foreground - #f0c6c6 - - - - name - GraphQL enum members - scope - constant.character.enum.graphql - settings - - foreground - #8bd5ca - - - - name - GraphQL field in types - scope - meta.objectvalues.graphql constant.object.key.graphql string.unquoted.graphql - settings - - foreground - #f0c6c6 - - - - name - HTML/XML DOCTYPE as keyword - scope - keyword.other.doctype, meta.tag.sgml.doctype punctuation.definition.tag, meta.tag.metadata.doctype entity.name.tag, meta.tag.metadata.doctype punctuation.definition.tag - settings - - foreground - #c6a0f6 - - - - name - HTML/XML-like <tags/> - scope - entity.name.tag - settings - - foreground - #8aadf4 - fontStyle - - - - - name - Special characters like &amp; - scope - text.html constant.character.entity, text.html constant.character.entity punctuation, constant.character.entity.xml, constant.character.entity.xml punctuation, constant.character.entity.js.jsx, constant.charactger.entity.js.jsx punctuation, constant.character.entity.tsx, constant.character.entity.tsx punctuation - settings - - foreground - #ed8796 - - - - name - HTML/XML tag attribute values - scope - entity.other.attribute-name - settings - - foreground - #eed49f - - - - name - Components - scope - support.class.component, support.class.component.jsx, support.class.component.tsx, support.class.component.vue - settings - - foreground - #f5bde6 - fontStyle - - - - - name - Annotations - scope - punctuation.definition.annotation, storage.type.annotation - settings - - foreground - #f5a97f - - - - name - Java enums - scope - constant.other.enum.java - settings - - foreground - #8bd5ca - - - - name - Java imports - scope - storage.modifier.import.java - settings - - foreground - #cad3f5 - - - - name - Javadoc - scope - comment.block.javadoc.java keyword.other.documentation.javadoc.java - settings - - fontStyle - - - - - name - Exported Variable - scope - meta.export variable.other.readwrite.js - settings - - foreground - #ee99a0 - - - - name - JS/TS constants & properties - scope - variable.other.constant.js, variable.other.constant.ts, variable.other.property.js, variable.other.property.ts - settings - - foreground - #cad3f5 - - - - name - JSDoc; these are mainly params, so styled as such - scope - variable.other.jsdoc, comment.block.documentation variable.other - settings - - foreground - #ee99a0 - fontStyle - - - - - name - JSDoc keywords - scope - storage.type.class.jsdoc - settings - - fontStyle - - - - - scope - support.type.object.console.js - settings - - foreground - #cad3f5 - - - - name - Node constants as keywords (module, etc.) - scope - support.constant.node, support.type.object.module.js - settings - - foreground - #c6a0f6 - - - - name - implements as keyword - scope - storage.modifier.implements - settings - - foreground - #c6a0f6 - - - - name - Builtin types - scope - constant.language.null.js, constant.language.null.ts, constant.language.undefined.js, constant.language.undefined.ts, support.type.builtin.ts - settings - - foreground - #c6a0f6 - - - - scope - variable.parameter.generic - settings - - foreground - #eed49f - - - - name - Arrow functions - scope - keyword.declaration.function.arrow.js, storage.type.function.arrow.ts - settings - - foreground - #8bd5ca - - - - name - Decorator punctuations (decorators inherit from blue functions, instead of styleguide peach) - scope - punctuation.decorator.ts - settings - - foreground - #8aadf4 - fontStyle - italic - - - - name - Extra JS/TS keywords - scope - keyword.operator.expression.in.js, keyword.operator.expression.in.ts, keyword.operator.expression.infer.ts, keyword.operator.expression.instanceof.js, keyword.operator.expression.instanceof.ts, keyword.operator.expression.is, keyword.operator.expression.keyof.ts, keyword.operator.expression.of.js, keyword.operator.expression.of.ts, keyword.operator.expression.typeof.ts - settings - - foreground - #c6a0f6 - - - - name - Julia macros - scope - support.function.macro.julia - settings - - foreground - #8bd5ca - fontStyle - italic - - - - name - Julia language constants (true, false) - scope - constant.language.julia - settings - - foreground - #f5a97f - - - - name - Julia other constants (these seem to be arguments inside arrays) - scope - constant.other.symbol.julia - settings - - foreground - #ee99a0 - - - - name - LaTeX preamble - scope - text.tex keyword.control.preamble - settings - - foreground - #8bd5ca - - - - name - LaTeX be functions - scope - text.tex support.function.be - settings - - foreground - #91d7e3 - - - - name - LaTeX math - scope - constant.other.general.math.tex - settings - - foreground - #f0c6c6 - - - - name - Lua docstring keywords - scope - comment.line.double-dash.documentation.lua storage.type.annotation.lua - settings - - foreground - #c6a0f6 - fontStyle - - - - - name - Lua docstring variables - scope - comment.line.double-dash.documentation.lua entity.name.variable.lua, comment.line.double-dash.documentation.lua variable.lua - settings - - foreground - #cad3f5 - - - - scope - heading.1.markdown punctuation.definition.heading.markdown, heading.1.markdown, markup.heading.atx.1.mdx, markup.heading.atx.1.mdx punctuation.definition.heading.mdx, markup.heading.setext.1.markdown, markup.heading.heading-0.asciidoc - settings - - foreground - #ed8796 - - - - scope - heading.2.markdown punctuation.definition.heading.markdown, heading.2.markdown, markup.heading.atx.2.mdx, markup.heading.atx.2.mdx punctuation.definition.heading.mdx, markup.heading.setext.2.markdown, markup.heading.heading-1.asciidoc - settings - - foreground - #f5a97f - - - - scope - heading.3.markdown punctuation.definition.heading.markdown, heading.3.markdown, markup.heading.atx.3.mdx, markup.heading.atx.3.mdx punctuation.definition.heading.mdx, markup.heading.heading-2.asciidoc - settings - - foreground - #eed49f - - - - scope - heading.4.markdown punctuation.definition.heading.markdown, heading.4.markdown, markup.heading.atx.4.mdx, markup.heading.atx.4.mdx punctuation.definition.heading.mdx, markup.heading.heading-3.asciidoc - settings - - foreground - #a6da95 - - - - scope - heading.5.markdown punctuation.definition.heading.markdown, heading.5.markdown, markup.heading.atx.5.mdx, markup.heading.atx.5.mdx punctuation.definition.heading.mdx, markup.heading.heading-4.asciidoc - settings - - foreground - #8aadf4 - - - - scope - heading.6.markdown punctuation.definition.heading.markdown, heading.6.markdown, markup.heading.atx.6.mdx, markup.heading.atx.6.mdx punctuation.definition.heading.mdx, markup.heading.heading-5.asciidoc - settings - - foreground - #c6a0f6 - - - - scope - markup.bold - settings - - foreground - #ed8796 - fontStyle - bold - - - - scope - markup.italic - settings - - foreground - #ed8796 - fontStyle - italic - - - - scope - markup.strikethrough - settings - - foreground - #a5adcb - fontStyle - strikethrough - - - - name - Markdown auto links - scope - punctuation.definition.link, markup.underline.link - settings - - foreground - #8aadf4 - - - - name - Markdown links - scope - text.html.markdown punctuation.definition.link.title, string.other.link.title.markdown, markup.link, punctuation.definition.constant.markdown, constant.other.reference.link.markdown, markup.substitution.attribute-reference - settings - - foreground - #b7bdf8 - - - - name - Markdown code spans - scope - punctuation.definition.raw.markdown, markup.inline.raw.string.markdown, markup.raw.block.markdown - settings - - foreground - #a6da95 - - - - name - Markdown triple backtick language identifier - scope - fenced_code.block.language - settings - - foreground - #91d7e3 - - - - name - Markdown triple backticks - scope - markup.fenced_code.block punctuation.definition, markup.raw support.asciidoc - settings - - foreground - #939ab7 - - - - name - Markdown quotes - scope - markup.quote, punctuation.definition.quote.begin - settings - - foreground - #f5bde6 - - - - name - Markdown separators - scope - meta.separator.markdown - settings - - foreground - #8bd5ca - - - - name - Markdown list bullets - scope - punctuation.definition.list.begin.markdown, markup.list.bullet - settings - - foreground - #8bd5ca - - - - name - Nix attribute names - scope - entity.other.attribute-name.multipart.nix, entity.other.attribute-name.single.nix - settings - - foreground - #8aadf4 - - - - name - Nix parameter names - scope - variable.parameter.name.nix - settings - - foreground - #cad3f5 - fontStyle - - - - - name - Nix interpolated parameter names - scope - meta.embedded variable.parameter.name.nix - settings - - foreground - #b7bdf8 - fontStyle - - - - - name - Nix paths - scope - string.unquoted.path.nix - settings - - foreground - #f5bde6 - fontStyle - - - - - name - PHP Attributes - scope - support.attribute.builtin, meta.attribute.php - settings - - foreground - #eed49f - - - - name - PHP Parameters (needed for the leading dollar sign) - scope - meta.function.parameters.php punctuation.definition.variable.php - settings - - foreground - #ee99a0 - - - - name - PHP Constants (null, __FILE__, etc.) - scope - constant.language.php - settings - - foreground - #c6a0f6 - - - - name - PHP functions - scope - text.html.php support.function - settings - - foreground - #91d7e3 - - - - name - PHPdoc keywords - scope - keyword.other.phpdoc.php - settings - - fontStyle - - - - - name - Python argument functions reset to text, otherwise they inherit blue from function-call - scope - support.variable.magic.python, meta.function-call.arguments.python - settings - - foreground - #cad3f5 - - - - name - Python double underscore functions - scope - support.function.magic.python - settings - - foreground - #91d7e3 - fontStyle - italic - - - - name - Python `self` keyword - scope - variable.parameter.function.language.special.self.python, variable.language.special.self.python - settings - - foreground - #ed8796 - fontStyle - italic - - - - name - python keyword flow/logical (for ... in) - scope - keyword.control.flow.python, keyword.operator.logical.python - settings - - foreground - #c6a0f6 - - - - name - python storage type - scope - storage.type.function.python - settings - - foreground - #c6a0f6 - - - - name - python function support - scope - support.token.decorator.python, meta.function.decorator.identifier.python - settings - - foreground - #91d7e3 - - - - name - python function calls - scope - meta.function-call.python - settings - - foreground - #8aadf4 - - - - name - python function decorators - scope - entity.name.function.decorator.python, punctuation.definition.decorator.python - settings - - foreground - #f5a97f - fontStyle - italic - - - - name - python placeholder reset to normal string - scope - constant.character.format.placeholder.other.python - settings - - foreground - #f5bde6 - - - - name - Python exception & builtins such as exit() - scope - support.type.exception.python, support.function.builtin.python - settings - - foreground - #f5a97f - - - - name - entity.name.type - scope - support.type.python - settings - - foreground - #f5a97f - - - - name - python constants (True/False) - scope - constant.language.python - settings - - foreground - #c6a0f6 - - - - name - Arguments accessed later in the function body - scope - meta.indexed-name.python, meta.item-access.python - settings - - foreground - #ee99a0 - fontStyle - italic - - - - name - Python f-strings/binary/unicode storage types - scope - storage.type.string.python - settings - - foreground - #a6da95 - fontStyle - italic - - - - name - Python type hints - scope - meta.function.parameters.python - settings - - fontStyle - - - - - name - Regex string begin/end in JS/TS - scope - string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end - settings - - foreground - #f5bde6 - - - - name - Regex anchors (^, $) - scope - keyword.control.anchor.regexp - settings - - foreground - #c6a0f6 - - - - name - Regex regular string match - scope - string.regexp.ts - settings - - foreground - #cad3f5 - - - - name - Regex group parenthesis & backreference (\1, \2, \3, ...) - scope - punctuation.definition.group.regexp, keyword.other.back-reference.regexp - settings - - foreground - #a6da95 - - - - name - Regex character class [] - scope - punctuation.definition.character-class.regexp - settings - - foreground - #eed49f - - - - name - Regex character classes (\d, \w, \s) - scope - constant.other.character-class.regexp - settings - - foreground - #f5bde6 - - - - name - Regex range - scope - constant.other.character-class.range.regexp - settings - - foreground - #f4dbd6 - - - - name - Regex quantifier - scope - keyword.operator.quantifier.regexp - settings - - foreground - #8bd5ca - - - - name - Regex constant/numeric - scope - constant.character.numeric.regexp - settings - - foreground - #f5a97f - - - - name - Regex lookaheads, negative lookaheads, lookbehinds, negative lookbehinds - scope - punctuation.definition.group.no-capture.regexp, meta.assertion.look-ahead.regexp, meta.assertion.negative-look-ahead.regexp - settings - - foreground - #8aadf4 - - - - name - Rust attribute - scope - meta.annotation.rust, meta.annotation.rust punctuation, meta.attribute.rust, punctuation.definition.attribute.rust - settings - - foreground - #eed49f - fontStyle - italic - - - - name - Rust attribute strings - scope - meta.attribute.rust string.quoted.double.rust, meta.attribute.rust string.quoted.single.char.rust - settings - - fontStyle - - - - - name - Rust keyword - scope - entity.name.function.macro.rules.rust, storage.type.module.rust, storage.modifier.rust, storage.type.struct.rust, storage.type.enum.rust, storage.type.trait.rust, storage.type.union.rust, storage.type.impl.rust, storage.type.rust, storage.type.function.rust, storage.type.type.rust - settings - - foreground - #c6a0f6 - fontStyle - - - - - name - Rust u/i32, u/i64, etc. - scope - entity.name.type.numeric.rust - settings - - foreground - #c6a0f6 - fontStyle - - - - - name - Rust generic - scope - meta.generic.rust - settings - - foreground - #f5a97f - - - - name - Rust impl - scope - entity.name.impl.rust - settings - - foreground - #eed49f - fontStyle - italic - - - - name - Rust module - scope - entity.name.module.rust - settings - - foreground - #f5a97f - - - - name - Rust trait - scope - entity.name.trait.rust - settings - - foreground - #eed49f - fontStyle - italic - - - - name - Rust struct - scope - storage.type.source.rust - settings - - foreground - #eed49f - - - - name - Rust union - scope - entity.name.union.rust - settings - - foreground - #eed49f - - - - name - Rust enum member - scope - meta.enum.rust storage.type.source.rust - settings - - foreground - #8bd5ca - - - - name - Rust macro - scope - support.macro.rust, meta.macro.rust support.function.rust, entity.name.function.macro.rust - settings - - foreground - #8aadf4 - fontStyle - italic - - - - name - Rust lifetime - scope - storage.modifier.lifetime.rust, entity.name.type.lifetime - settings - - foreground - #8aadf4 - fontStyle - italic - - - - name - Rust string formatting - scope - string.quoted.double.rust constant.other.placeholder.rust - settings - - foreground - #f5bde6 - - - - name - Rust return type generic - scope - meta.function.return-type.rust meta.generic.rust storage.type.rust - settings - - foreground - #cad3f5 - - - - name - Rust functions - scope - meta.function.call.rust - settings - - foreground - #8aadf4 - - - - name - Rust angle brackets - scope - punctuation.brackets.angle.rust - settings - - foreground - #91d7e3 - - - - name - Rust constants - scope - constant.other.caps.rust - settings - - foreground - #f5a97f - - - - name - Rust function parameters - scope - meta.function.definition.rust variable.other.rust - settings - - foreground - #ee99a0 - - - - name - Rust closure variables - scope - meta.function.call.rust variable.other.rust - settings - - foreground - #cad3f5 - - - - name - Rust self - scope - variable.language.self.rust - settings - - foreground - #ed8796 - - - - name - Rust metavariable names - scope - variable.other.metavariable.name.rust, meta.macro.metavariable.rust keyword.operator.macro.dollar.rust - settings - - foreground - #f5bde6 - - - - name - Shell shebang - scope - comment.line.shebang, comment.line.shebang punctuation.definition.comment, comment.line.shebang, punctuation.definition.comment.shebang.shell, meta.shebang.shell - settings - - foreground - #f5bde6 - fontStyle - italic - - - - name - Shell shebang command - scope - comment.line.shebang constant.language - settings - - foreground - #8bd5ca - fontStyle - italic - - - - name - Shell interpolated command - scope - meta.function-call.arguments.shell punctuation.definition.variable.shell, meta.function-call.arguments.shell punctuation.section.interpolation, meta.function-call.arguments.shell punctuation.definition.variable.shell, meta.function-call.arguments.shell punctuation.section.interpolation - settings - - foreground - #ed8796 - - - - name - Shell interpolated command variable - scope - meta.string meta.interpolation.parameter.shell variable.other.readwrite - settings - - foreground - #f5a97f - fontStyle - italic - - - - scope - source.shell punctuation.section.interpolation, punctuation.definition.evaluation.backticks.shell - settings - - foreground - #8bd5ca - - - - name - Shell EOF - scope - entity.name.tag.heredoc.shell - settings - - foreground - #c6a0f6 - - - - name - Shell quoted variable - scope - string.quoted.double.shell variable.other.normal.shell - settings - - foreground - #cad3f5 - - - - name - JSON Keys - scope - source.json meta.mapping.key string - settings - - foreground - #8aadf4 - - - - name - JSON key surrounding quotes - scope - source.json meta.mapping.key punctuation.definition.string.begin, source.json meta.mapping.key punctuation.definition.string.end - settings - - foreground - #939ab7 - - - - scope - markup.heading.synopsis.man, markup.heading.title.man, markup.heading.other.man, markup.heading.env.man - settings - - foreground - #c6a0f6 - - - - scope - markup.heading.commands.man - settings - - foreground - #8aadf4 - - - - scope - markup.heading.env.man - settings - - foreground - #f5bde6 - - - - name - Man page options - scope - entity.name - settings - - foreground - #8bd5ca - - - - scope - markup.heading.1.markdown - settings - - foreground - #ed8796 - - - - scope - markup.heading.2.markdown - settings - - foreground - #f5a97f - - - - scope - markup.heading.markdown - settings - - foreground - #eed49f - - - - - diff --git a/home/config/yazi/flavors/catppuccin-mocha.yazi/flavor.toml b/home/config/yazi/flavors/catppuccin-mocha.yazi/flavor.toml deleted file mode 100644 index 9b59b4c..0000000 --- a/home/config/yazi/flavors/catppuccin-mocha.yazi/flavor.toml +++ /dev/null @@ -1,173 +0,0 @@ -# vim:fileencoding=utf-8:foldmethod=marker - -# : Manager {{{ - -[manager] -cwd = { fg = "#94e2d5" } - -# Hovered -hovered = { reversed = true } -preview_hovered = { underline = true } - -# Find -find_keyword = { fg = "#f9e2af", bold = true, italic = true, underline = true } -find_position = { fg = "#f5c2e7", bg = "reset", bold = true, italic = true } - -# Marker -marker_copied = { fg = "#a6e3a1", bg = "#a6e3a1" } -marker_cut = { fg = "#f38ba8", bg = "#f38ba8" } -marker_marked = { fg = "#94e2d5", bg = "#94e2d5" } -marker_selected = { fg = "#f9e2af", bg = "#f9e2af" } - -# Tab -tab_active = { reversed = true } -tab_inactive = {} -tab_width = 1 - -# Count -count_copied = { fg = "#1e1e2e", bg = "#a6e3a1" } -count_cut = { fg = "#1e1e2e", bg = "#f38ba8" } -count_selected = { fg = "#1e1e2e", bg = "#f9e2af" } - -# Border -border_symbol = "│" -border_style = { fg = "#7f849c" } - -# : }}} - - -# : Mode {{{ - -[mode] - -normal_main = { fg = "#1e1e2e", bg = "#89b4fa", bold = true } -normal_alt = { fg = "#89b4fa", bg = "#313244" } - -# Select mode -select_main = { fg = "#1e1e2e", bg = "#94e2d5", bold = true } -select_alt = { fg = "#94e2d5", bg = "#313244" } - -# Unset mode -unset_main = { fg = "#1e1e2e", bg = "#f2cdcd", bold = true } -unset_alt = { fg = "#f2cdcd", bg = "#313244" } - -# : }}} - - -# : Status bar {{{ - -[status] -separator_open = "" -separator_close = "" - -# Progress -progress_label = { fg = "#ffffff", bold = true } -progress_normal = { fg = "#89b4fa", bg = "#45475a" } -progress_error = { fg = "#f38ba8", bg = "#45475a" } - -# Permissions -perm_sep = { fg = "#7f849c" } -perm_type = { fg = "#89b4fa" } -perm_read = { fg = "#f9e2af" } -perm_write = { fg = "#f38ba8" } -perm_exec = { fg = "#a6e3a1" } - -# : }}} - - -# : Pick {{{ - -[pick] -border = { fg = "#89b4fa" } -active = { fg = "#f5c2e7", bold = true } -inactive = {} - -# : }}} - - -# : Input {{{ - -[input] -border = { fg = "#89b4fa" } -title = {} -value = {} -selected = { reversed = true } - -# : }}} - - -# : Completion {{{ - -[completion] -border = { fg = "#89b4fa" } - -# : }}} - - -# : Tasks {{{ - -[tasks] -border = { fg = "#89b4fa" } -title = {} -hovered = { fg = "#f5c2e7", underline = true } - -# : }}} - - -# : Which {{{ - -[which] -mask = { bg = "#313244" } -cand = { fg = "#94e2d5" } -rest = { fg = "#9399b2" } -desc = { fg = "#f5c2e7" } -separator = "  " -separator_style = { fg = "#585b70" } - -# : }}} - - -# : Help {{{ - -[help] -on = { fg = "#94e2d5" } -run = { fg = "#f5c2e7" } -hovered = { reversed = true, bold = true } -footer = { fg = "#313244", bg = "#cdd6f4" } - -# : }}} - - -# : Notify {{{ - -[notify] -title_info = { fg = "#a6e3a1" } -title_warn = { fg = "#f9e2af" } -title_error = { fg = "#f38ba8" } - -# : }}} - - -# : File-specific styles {{{ - -[filetype] - -rules = [ - # Images - { mime = "image/*", fg = "#94e2d5" }, - - # Media - { mime = "{audio,video}/*", fg = "#f9e2af" }, - - # Archives - { mime = "application/{zip,rar,7z*,tar,gzip,xz,zstd,bzip*,lzma,compress,archive,cpio,arj,xar,ms-cab*}", fg = "#f5c2e7" }, - - # Documents - { mime = "application/{pdf,doc,rtf}", fg = "#a6e3a1" }, - - # Fallback - { name = "*", fg = "#cdd6f4" }, - { name = "*/", fg = "#89b4fa" } -] - -# : }}} diff --git a/home/config/yazi/flavors/catppuccin-mocha.yazi/tmtheme.xml b/home/config/yazi/flavors/catppuccin-mocha.yazi/tmtheme.xml deleted file mode 100644 index 6bd0f29..0000000 --- a/home/config/yazi/flavors/catppuccin-mocha.yazi/tmtheme.xml +++ /dev/null @@ -1,2081 +0,0 @@ - - - - - name - Catppuccin Mocha - semanticClass - theme.dark.catppuccin-mocha - uuid - 627ce890-fabb-4d39-9819-7be71f4bdca7 - author - Catppuccin Org - colorSpaceName - sRGB - settings - - - settings - - background - #1e1e2e - foreground - #cdd6f4 - caret - #f5e0dc - lineHighlight - #313244 - misspelling - #f38ba8 - accent - #cba6f7 - selection - #9399b240 - activeGuide - #45475a - findHighlight - #3e5767 - gutterForeground - #7f849c - - - - name - Basic text & variable names (incl. leading punctuation) - scope - text, source, variable.other.readwrite, punctuation.definition.variable - settings - - foreground - #cdd6f4 - - - - name - Parentheses, Brackets, Braces - scope - punctuation - settings - - foreground - #9399b2 - fontStyle - - - - - name - Comments - scope - comment, punctuation.definition.comment - settings - - foreground - #6c7086 - fontStyle - italic - - - - scope - string, punctuation.definition.string - settings - - foreground - #a6e3a1 - - - - scope - constant.character.escape - settings - - foreground - #f5c2e7 - - - - name - Booleans, constants, numbers - scope - constant.numeric, variable.other.constant, entity.name.constant, constant.language.boolean, constant.language.false, constant.language.true, keyword.other.unit.user-defined, keyword.other.unit.suffix.floating-point - settings - - foreground - #fab387 - - - - scope - keyword, keyword.operator.word, keyword.operator.new, variable.language.super, support.type.primitive, storage.type, storage.modifier, punctuation.definition.keyword - settings - - foreground - #cba6f7 - fontStyle - - - - - scope - entity.name.tag.documentation - settings - - foreground - #cba6f7 - - - - name - Punctuation - scope - keyword.operator, punctuation.accessor, punctuation.definition.generic, meta.function.closure punctuation.section.parameters, punctuation.definition.tag, punctuation.separator.key-value - settings - - foreground - #94e2d5 - - - - scope - entity.name.function, meta.function-call.method, support.function, support.function.misc, variable.function - settings - - foreground - #89b4fa - fontStyle - italic - - - - name - Classes - scope - entity.name.class, entity.other.inherited-class, support.class, meta.function-call.constructor, entity.name.struct - settings - - foreground - #f9e2af - fontStyle - italic - - - - name - Enum - scope - entity.name.enum - settings - - foreground - #f9e2af - fontStyle - italic - - - - name - Enum member - scope - meta.enum variable.other.readwrite, variable.other.enummember - settings - - foreground - #94e2d5 - - - - name - Object properties - scope - meta.property.object - settings - - foreground - #94e2d5 - - - - name - Types - scope - meta.type, meta.type-alias, support.type, entity.name.type - settings - - foreground - #f9e2af - fontStyle - italic - - - - name - Decorators - scope - meta.annotation variable.function, meta.annotation variable.annotation.function, meta.annotation punctuation.definition.annotation, meta.decorator, punctuation.decorator - settings - - foreground - #fab387 - - - - scope - variable.parameter, meta.function.parameters - settings - - foreground - #eba0ac - fontStyle - italic - - - - name - Built-ins - scope - constant.language, support.function.builtin - settings - - foreground - #f38ba8 - - - - scope - entity.other.attribute-name.documentation - settings - - foreground - #f38ba8 - - - - name - Preprocessor directives - scope - keyword.control.directive, punctuation.definition.directive - settings - - foreground - #f9e2af - - - - name - Type parameters - scope - punctuation.definition.typeparameters - settings - - foreground - #89dceb - - - - name - Namespaces - scope - entity.name.namespace - settings - - foreground - #f9e2af - - - - name - Property names (left hand assignments in json/yaml/css) - scope - support.type.property-name.css - settings - - foreground - #89b4fa - fontStyle - - - - - name - This/Self keyword - scope - variable.language.this, variable.language.this punctuation.definition.variable - settings - - foreground - #f38ba8 - - - - name - Object properties - scope - variable.object.property - settings - - foreground - #cdd6f4 - - - - name - String template interpolation - scope - string.template variable, string variable - settings - - foreground - #cdd6f4 - - - - name - `new` as bold - scope - keyword.operator.new - settings - - fontStyle - bold - - - - name - C++ extern keyword - scope - storage.modifier.specifier.extern.cpp - settings - - foreground - #cba6f7 - - - - name - C++ scope resolution - scope - entity.name.scope-resolution.template.call.cpp, entity.name.scope-resolution.parameter.cpp, entity.name.scope-resolution.cpp, entity.name.scope-resolution.function.definition.cpp - settings - - foreground - #f9e2af - - - - name - C++ doc keywords - scope - storage.type.class.doxygen - settings - - fontStyle - - - - - name - C++ operators - scope - storage.modifier.reference.cpp - settings - - foreground - #94e2d5 - - - - name - C# Interpolated Strings - scope - meta.interpolation.cs - settings - - foreground - #cdd6f4 - - - - name - C# xml-style docs - scope - comment.block.documentation.cs - settings - - foreground - #cdd6f4 - - - - name - Classes, reflecting the className color in JSX - scope - source.css entity.other.attribute-name.class.css, entity.other.attribute-name.parent-selector.css punctuation.definition.entity.css - settings - - foreground - #f9e2af - - - - name - Operators - scope - punctuation.separator.operator.css - settings - - foreground - #94e2d5 - - - - name - Pseudo classes - scope - source.css entity.other.attribute-name.pseudo-class - settings - - foreground - #94e2d5 - - - - scope - source.css constant.other.unicode-range - settings - - foreground - #fab387 - - - - scope - source.css variable.parameter.url - settings - - foreground - #a6e3a1 - fontStyle - - - - - name - CSS vendored property names - scope - support.type.vendored.property-name - settings - - foreground - #89dceb - - - - name - Less/SCSS right-hand variables (@/$-prefixed) - scope - source.css meta.property-value variable, source.css meta.property-value variable.other.less, source.css meta.property-value variable.other.less punctuation.definition.variable.less, meta.definition.variable.scss - settings - - foreground - #eba0ac - - - - name - CSS variables (--prefixed) - scope - source.css meta.property-list variable, meta.property-list variable.other.less, meta.property-list variable.other.less punctuation.definition.variable.less - settings - - foreground - #89b4fa - - - - name - CSS Percentage values, styled the same as numbers - scope - keyword.other.unit.percentage.css - settings - - foreground - #fab387 - - - - name - CSS Attribute selectors, styled the same as strings - scope - source.css meta.attribute-selector - settings - - foreground - #a6e3a1 - - - - name - JSON/YAML keys, other left-hand assignments - scope - keyword.other.definition.ini, punctuation.support.type.property-name.json, support.type.property-name.json, punctuation.support.type.property-name.toml, support.type.property-name.toml, entity.name.tag.yaml, punctuation.support.type.property-name.yaml, support.type.property-name.yaml - settings - - foreground - #89b4fa - fontStyle - - - - - name - JSON/YAML constants - scope - constant.language.json, constant.language.yaml - settings - - foreground - #fab387 - - - - name - YAML anchors - scope - entity.name.type.anchor.yaml, variable.other.alias.yaml - settings - - foreground - #f9e2af - fontStyle - - - - - name - TOML tables / ini groups - scope - support.type.property-name.table, entity.name.section.group-title.ini - settings - - foreground - #f9e2af - - - - name - TOML dates - scope - constant.other.time.datetime.offset.toml - settings - - foreground - #f5c2e7 - - - - name - YAML anchor puctuation - scope - punctuation.definition.anchor.yaml, punctuation.definition.alias.yaml - settings - - foreground - #f5c2e7 - - - - name - YAML triple dashes - scope - entity.other.document.begin.yaml - settings - - foreground - #f5c2e7 - - - - name - Markup Diff - scope - markup.changed.diff - settings - - foreground - #fab387 - - - - name - Diff - scope - meta.diff.header.from-file, meta.diff.header.to-file, punctuation.definition.from-file.diff, punctuation.definition.to-file.diff - settings - - foreground - #89b4fa - - - - name - Diff Inserted - scope - markup.inserted.diff - settings - - foreground - #a6e3a1 - - - - name - Diff Deleted - scope - markup.deleted.diff - settings - - foreground - #f38ba8 - - - - name - dotenv left-hand side assignments - scope - variable.other.env - settings - - foreground - #89b4fa - - - - name - dotenv reference to existing env variable - scope - string.quoted variable.other.env - settings - - foreground - #cdd6f4 - - - - name - GDScript functions - scope - support.function.builtin.gdscript - settings - - foreground - #89b4fa - - - - name - GDScript constants - scope - constant.language.gdscript - settings - - foreground - #fab387 - - - - name - Comment keywords - scope - comment meta.annotation.go - settings - - foreground - #eba0ac - - - - name - go:embed, go:build, etc. - scope - comment meta.annotation.parameters.go - settings - - foreground - #fab387 - - - - name - Go constants (nil, true, false) - scope - constant.language.go - settings - - foreground - #fab387 - - - - name - GraphQL variables - scope - variable.graphql - settings - - foreground - #cdd6f4 - - - - name - GraphQL aliases - scope - string.unquoted.alias.graphql - settings - - foreground - #f2cdcd - - - - name - GraphQL enum members - scope - constant.character.enum.graphql - settings - - foreground - #94e2d5 - - - - name - GraphQL field in types - scope - meta.objectvalues.graphql constant.object.key.graphql string.unquoted.graphql - settings - - foreground - #f2cdcd - - - - name - HTML/XML DOCTYPE as keyword - scope - keyword.other.doctype, meta.tag.sgml.doctype punctuation.definition.tag, meta.tag.metadata.doctype entity.name.tag, meta.tag.metadata.doctype punctuation.definition.tag - settings - - foreground - #cba6f7 - - - - name - HTML/XML-like <tags/> - scope - entity.name.tag - settings - - foreground - #89b4fa - fontStyle - - - - - name - Special characters like &amp; - scope - text.html constant.character.entity, text.html constant.character.entity punctuation, constant.character.entity.xml, constant.character.entity.xml punctuation, constant.character.entity.js.jsx, constant.charactger.entity.js.jsx punctuation, constant.character.entity.tsx, constant.character.entity.tsx punctuation - settings - - foreground - #f38ba8 - - - - name - HTML/XML tag attribute values - scope - entity.other.attribute-name - settings - - foreground - #f9e2af - - - - name - Components - scope - support.class.component, support.class.component.jsx, support.class.component.tsx, support.class.component.vue - settings - - foreground - #f5c2e7 - fontStyle - - - - - name - Annotations - scope - punctuation.definition.annotation, storage.type.annotation - settings - - foreground - #fab387 - - - - name - Java enums - scope - constant.other.enum.java - settings - - foreground - #94e2d5 - - - - name - Java imports - scope - storage.modifier.import.java - settings - - foreground - #cdd6f4 - - - - name - Javadoc - scope - comment.block.javadoc.java keyword.other.documentation.javadoc.java - settings - - fontStyle - - - - - name - Exported Variable - scope - meta.export variable.other.readwrite.js - settings - - foreground - #eba0ac - - - - name - JS/TS constants & properties - scope - variable.other.constant.js, variable.other.constant.ts, variable.other.property.js, variable.other.property.ts - settings - - foreground - #cdd6f4 - - - - name - JSDoc; these are mainly params, so styled as such - scope - variable.other.jsdoc, comment.block.documentation variable.other - settings - - foreground - #eba0ac - fontStyle - - - - - name - JSDoc keywords - scope - storage.type.class.jsdoc - settings - - fontStyle - - - - - scope - support.type.object.console.js - settings - - foreground - #cdd6f4 - - - - name - Node constants as keywords (module, etc.) - scope - support.constant.node, support.type.object.module.js - settings - - foreground - #cba6f7 - - - - name - implements as keyword - scope - storage.modifier.implements - settings - - foreground - #cba6f7 - - - - name - Builtin types - scope - constant.language.null.js, constant.language.null.ts, constant.language.undefined.js, constant.language.undefined.ts, support.type.builtin.ts - settings - - foreground - #cba6f7 - - - - scope - variable.parameter.generic - settings - - foreground - #f9e2af - - - - name - Arrow functions - scope - keyword.declaration.function.arrow.js, storage.type.function.arrow.ts - settings - - foreground - #94e2d5 - - - - name - Decorator punctuations (decorators inherit from blue functions, instead of styleguide peach) - scope - punctuation.decorator.ts - settings - - foreground - #89b4fa - fontStyle - italic - - - - name - Extra JS/TS keywords - scope - keyword.operator.expression.in.js, keyword.operator.expression.in.ts, keyword.operator.expression.infer.ts, keyword.operator.expression.instanceof.js, keyword.operator.expression.instanceof.ts, keyword.operator.expression.is, keyword.operator.expression.keyof.ts, keyword.operator.expression.of.js, keyword.operator.expression.of.ts, keyword.operator.expression.typeof.ts - settings - - foreground - #cba6f7 - - - - name - Julia macros - scope - support.function.macro.julia - settings - - foreground - #94e2d5 - fontStyle - italic - - - - name - Julia language constants (true, false) - scope - constant.language.julia - settings - - foreground - #fab387 - - - - name - Julia other constants (these seem to be arguments inside arrays) - scope - constant.other.symbol.julia - settings - - foreground - #eba0ac - - - - name - LaTeX preamble - scope - text.tex keyword.control.preamble - settings - - foreground - #94e2d5 - - - - name - LaTeX be functions - scope - text.tex support.function.be - settings - - foreground - #89dceb - - - - name - LaTeX math - scope - constant.other.general.math.tex - settings - - foreground - #f2cdcd - - - - name - Lua docstring keywords - scope - comment.line.double-dash.documentation.lua storage.type.annotation.lua - settings - - foreground - #cba6f7 - fontStyle - - - - - name - Lua docstring variables - scope - comment.line.double-dash.documentation.lua entity.name.variable.lua, comment.line.double-dash.documentation.lua variable.lua - settings - - foreground - #cdd6f4 - - - - scope - heading.1.markdown punctuation.definition.heading.markdown, heading.1.markdown, markup.heading.atx.1.mdx, markup.heading.atx.1.mdx punctuation.definition.heading.mdx, markup.heading.setext.1.markdown, markup.heading.heading-0.asciidoc - settings - - foreground - #f38ba8 - - - - scope - heading.2.markdown punctuation.definition.heading.markdown, heading.2.markdown, markup.heading.atx.2.mdx, markup.heading.atx.2.mdx punctuation.definition.heading.mdx, markup.heading.setext.2.markdown, markup.heading.heading-1.asciidoc - settings - - foreground - #fab387 - - - - scope - heading.3.markdown punctuation.definition.heading.markdown, heading.3.markdown, markup.heading.atx.3.mdx, markup.heading.atx.3.mdx punctuation.definition.heading.mdx, markup.heading.heading-2.asciidoc - settings - - foreground - #f9e2af - - - - scope - heading.4.markdown punctuation.definition.heading.markdown, heading.4.markdown, markup.heading.atx.4.mdx, markup.heading.atx.4.mdx punctuation.definition.heading.mdx, markup.heading.heading-3.asciidoc - settings - - foreground - #a6e3a1 - - - - scope - heading.5.markdown punctuation.definition.heading.markdown, heading.5.markdown, markup.heading.atx.5.mdx, markup.heading.atx.5.mdx punctuation.definition.heading.mdx, markup.heading.heading-4.asciidoc - settings - - foreground - #89b4fa - - - - scope - heading.6.markdown punctuation.definition.heading.markdown, heading.6.markdown, markup.heading.atx.6.mdx, markup.heading.atx.6.mdx punctuation.definition.heading.mdx, markup.heading.heading-5.asciidoc - settings - - foreground - #cba6f7 - - - - scope - markup.bold - settings - - foreground - #f38ba8 - fontStyle - bold - - - - scope - markup.italic - settings - - foreground - #f38ba8 - fontStyle - italic - - - - scope - markup.strikethrough - settings - - foreground - #a6adc8 - fontStyle - strikethrough - - - - name - Markdown auto links - scope - punctuation.definition.link, markup.underline.link - settings - - foreground - #89b4fa - - - - name - Markdown links - scope - text.html.markdown punctuation.definition.link.title, string.other.link.title.markdown, markup.link, punctuation.definition.constant.markdown, constant.other.reference.link.markdown, markup.substitution.attribute-reference - settings - - foreground - #b4befe - - - - name - Markdown code spans - scope - punctuation.definition.raw.markdown, markup.inline.raw.string.markdown, markup.raw.block.markdown - settings - - foreground - #a6e3a1 - - - - name - Markdown triple backtick language identifier - scope - fenced_code.block.language - settings - - foreground - #89dceb - - - - name - Markdown triple backticks - scope - markup.fenced_code.block punctuation.definition, markup.raw support.asciidoc - settings - - foreground - #9399b2 - - - - name - Markdown quotes - scope - markup.quote, punctuation.definition.quote.begin - settings - - foreground - #f5c2e7 - - - - name - Markdown separators - scope - meta.separator.markdown - settings - - foreground - #94e2d5 - - - - name - Markdown list bullets - scope - punctuation.definition.list.begin.markdown, markup.list.bullet - settings - - foreground - #94e2d5 - - - - name - Nix attribute names - scope - entity.other.attribute-name.multipart.nix, entity.other.attribute-name.single.nix - settings - - foreground - #89b4fa - - - - name - Nix parameter names - scope - variable.parameter.name.nix - settings - - foreground - #cdd6f4 - fontStyle - - - - - name - Nix interpolated parameter names - scope - meta.embedded variable.parameter.name.nix - settings - - foreground - #b4befe - fontStyle - - - - - name - Nix paths - scope - string.unquoted.path.nix - settings - - foreground - #f5c2e7 - fontStyle - - - - - name - PHP Attributes - scope - support.attribute.builtin, meta.attribute.php - settings - - foreground - #f9e2af - - - - name - PHP Parameters (needed for the leading dollar sign) - scope - meta.function.parameters.php punctuation.definition.variable.php - settings - - foreground - #eba0ac - - - - name - PHP Constants (null, __FILE__, etc.) - scope - constant.language.php - settings - - foreground - #cba6f7 - - - - name - PHP functions - scope - text.html.php support.function - settings - - foreground - #89dceb - - - - name - PHPdoc keywords - scope - keyword.other.phpdoc.php - settings - - fontStyle - - - - - name - Python argument functions reset to text, otherwise they inherit blue from function-call - scope - support.variable.magic.python, meta.function-call.arguments.python - settings - - foreground - #cdd6f4 - - - - name - Python double underscore functions - scope - support.function.magic.python - settings - - foreground - #89dceb - fontStyle - italic - - - - name - Python `self` keyword - scope - variable.parameter.function.language.special.self.python, variable.language.special.self.python - settings - - foreground - #f38ba8 - fontStyle - italic - - - - name - python keyword flow/logical (for ... in) - scope - keyword.control.flow.python, keyword.operator.logical.python - settings - - foreground - #cba6f7 - - - - name - python storage type - scope - storage.type.function.python - settings - - foreground - #cba6f7 - - - - name - python function support - scope - support.token.decorator.python, meta.function.decorator.identifier.python - settings - - foreground - #89dceb - - - - name - python function calls - scope - meta.function-call.python - settings - - foreground - #89b4fa - - - - name - python function decorators - scope - entity.name.function.decorator.python, punctuation.definition.decorator.python - settings - - foreground - #fab387 - fontStyle - italic - - - - name - python placeholder reset to normal string - scope - constant.character.format.placeholder.other.python - settings - - foreground - #f5c2e7 - - - - name - Python exception & builtins such as exit() - scope - support.type.exception.python, support.function.builtin.python - settings - - foreground - #fab387 - - - - name - entity.name.type - scope - support.type.python - settings - - foreground - #fab387 - - - - name - python constants (True/False) - scope - constant.language.python - settings - - foreground - #cba6f7 - - - - name - Arguments accessed later in the function body - scope - meta.indexed-name.python, meta.item-access.python - settings - - foreground - #eba0ac - fontStyle - italic - - - - name - Python f-strings/binary/unicode storage types - scope - storage.type.string.python - settings - - foreground - #a6e3a1 - fontStyle - italic - - - - name - Python type hints - scope - meta.function.parameters.python - settings - - fontStyle - - - - - name - Regex string begin/end in JS/TS - scope - string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end - settings - - foreground - #f5c2e7 - - - - name - Regex anchors (^, $) - scope - keyword.control.anchor.regexp - settings - - foreground - #cba6f7 - - - - name - Regex regular string match - scope - string.regexp.ts - settings - - foreground - #cdd6f4 - - - - name - Regex group parenthesis & backreference (\1, \2, \3, ...) - scope - punctuation.definition.group.regexp, keyword.other.back-reference.regexp - settings - - foreground - #a6e3a1 - - - - name - Regex character class [] - scope - punctuation.definition.character-class.regexp - settings - - foreground - #f9e2af - - - - name - Regex character classes (\d, \w, \s) - scope - constant.other.character-class.regexp - settings - - foreground - #f5c2e7 - - - - name - Regex range - scope - constant.other.character-class.range.regexp - settings - - foreground - #f5e0dc - - - - name - Regex quantifier - scope - keyword.operator.quantifier.regexp - settings - - foreground - #94e2d5 - - - - name - Regex constant/numeric - scope - constant.character.numeric.regexp - settings - - foreground - #fab387 - - - - name - Regex lookaheads, negative lookaheads, lookbehinds, negative lookbehinds - scope - punctuation.definition.group.no-capture.regexp, meta.assertion.look-ahead.regexp, meta.assertion.negative-look-ahead.regexp - settings - - foreground - #89b4fa - - - - name - Rust attribute - scope - meta.annotation.rust, meta.annotation.rust punctuation, meta.attribute.rust, punctuation.definition.attribute.rust - settings - - foreground - #f9e2af - fontStyle - italic - - - - name - Rust attribute strings - scope - meta.attribute.rust string.quoted.double.rust, meta.attribute.rust string.quoted.single.char.rust - settings - - fontStyle - - - - - name - Rust keyword - scope - entity.name.function.macro.rules.rust, storage.type.module.rust, storage.modifier.rust, storage.type.struct.rust, storage.type.enum.rust, storage.type.trait.rust, storage.type.union.rust, storage.type.impl.rust, storage.type.rust, storage.type.function.rust, storage.type.type.rust - settings - - foreground - #cba6f7 - fontStyle - - - - - name - Rust u/i32, u/i64, etc. - scope - entity.name.type.numeric.rust - settings - - foreground - #cba6f7 - fontStyle - - - - - name - Rust generic - scope - meta.generic.rust - settings - - foreground - #fab387 - - - - name - Rust impl - scope - entity.name.impl.rust - settings - - foreground - #f9e2af - fontStyle - italic - - - - name - Rust module - scope - entity.name.module.rust - settings - - foreground - #fab387 - - - - name - Rust trait - scope - entity.name.trait.rust - settings - - foreground - #f9e2af - fontStyle - italic - - - - name - Rust struct - scope - storage.type.source.rust - settings - - foreground - #f9e2af - - - - name - Rust union - scope - entity.name.union.rust - settings - - foreground - #f9e2af - - - - name - Rust enum member - scope - meta.enum.rust storage.type.source.rust - settings - - foreground - #94e2d5 - - - - name - Rust macro - scope - support.macro.rust, meta.macro.rust support.function.rust, entity.name.function.macro.rust - settings - - foreground - #89b4fa - fontStyle - italic - - - - name - Rust lifetime - scope - storage.modifier.lifetime.rust, entity.name.type.lifetime - settings - - foreground - #89b4fa - fontStyle - italic - - - - name - Rust string formatting - scope - string.quoted.double.rust constant.other.placeholder.rust - settings - - foreground - #f5c2e7 - - - - name - Rust return type generic - scope - meta.function.return-type.rust meta.generic.rust storage.type.rust - settings - - foreground - #cdd6f4 - - - - name - Rust functions - scope - meta.function.call.rust - settings - - foreground - #89b4fa - - - - name - Rust angle brackets - scope - punctuation.brackets.angle.rust - settings - - foreground - #89dceb - - - - name - Rust constants - scope - constant.other.caps.rust - settings - - foreground - #fab387 - - - - name - Rust function parameters - scope - meta.function.definition.rust variable.other.rust - settings - - foreground - #eba0ac - - - - name - Rust closure variables - scope - meta.function.call.rust variable.other.rust - settings - - foreground - #cdd6f4 - - - - name - Rust self - scope - variable.language.self.rust - settings - - foreground - #f38ba8 - - - - name - Rust metavariable names - scope - variable.other.metavariable.name.rust, meta.macro.metavariable.rust keyword.operator.macro.dollar.rust - settings - - foreground - #f5c2e7 - - - - name - Shell shebang - scope - comment.line.shebang, comment.line.shebang punctuation.definition.comment, comment.line.shebang, punctuation.definition.comment.shebang.shell, meta.shebang.shell - settings - - foreground - #f5c2e7 - fontStyle - italic - - - - name - Shell shebang command - scope - comment.line.shebang constant.language - settings - - foreground - #94e2d5 - fontStyle - italic - - - - name - Shell interpolated command - scope - meta.function-call.arguments.shell punctuation.definition.variable.shell, meta.function-call.arguments.shell punctuation.section.interpolation, meta.function-call.arguments.shell punctuation.definition.variable.shell, meta.function-call.arguments.shell punctuation.section.interpolation - settings - - foreground - #f38ba8 - - - - name - Shell interpolated command variable - scope - meta.string meta.interpolation.parameter.shell variable.other.readwrite - settings - - foreground - #fab387 - fontStyle - italic - - - - scope - source.shell punctuation.section.interpolation, punctuation.definition.evaluation.backticks.shell - settings - - foreground - #94e2d5 - - - - name - Shell EOF - scope - entity.name.tag.heredoc.shell - settings - - foreground - #cba6f7 - - - - name - Shell quoted variable - scope - string.quoted.double.shell variable.other.normal.shell - settings - - foreground - #cdd6f4 - - - - name - JSON Keys - scope - source.json meta.mapping.key string - settings - - foreground - #89b4fa - - - - name - JSON key surrounding quotes - scope - source.json meta.mapping.key punctuation.definition.string.begin, source.json meta.mapping.key punctuation.definition.string.end - settings - - foreground - #9399b2 - - - - scope - markup.heading.synopsis.man, markup.heading.title.man, markup.heading.other.man, markup.heading.env.man - settings - - foreground - #cba6f7 - - - - scope - markup.heading.commands.man - settings - - foreground - #89b4fa - - - - scope - markup.heading.env.man - settings - - foreground - #f5c2e7 - - - - name - Man page options - scope - entity.name - settings - - foreground - #94e2d5 - - - - scope - markup.heading.1.markdown - settings - - foreground - #f38ba8 - - - - scope - markup.heading.2.markdown - settings - - foreground - #fab387 - - - - scope - markup.heading.markdown - settings - - foreground - #f9e2af - - - - - \ No newline at end of file diff --git a/home/config/yazi/flavors/dracula.yazi/flavor.toml b/home/config/yazi/flavors/dracula.yazi/flavor.toml deleted file mode 100644 index 15cc66e..0000000 --- a/home/config/yazi/flavors/dracula.yazi/flavor.toml +++ /dev/null @@ -1,173 +0,0 @@ -# vim:fileencoding=utf-8:foldmethod=marker - -# : Manager {{{ - -[manager] -cwd = { fg = "#8be9fd" } - -# Hovered -hovered = { reversed = true } -preview_hovered = { underline = true } - -# Find -find_keyword = { fg = "#f1fa8c", bold = true, italic = true, underline = true } -find_position = { fg = "#ff79c6", bg = "reset", bold = true, italic = true } - -# Marker -marker_copied = { fg = "#50fa7b", bg = "#50fa7b" } -marker_cut = { fg = "#ff5555", bg = "#ff5555" } -marker_marked = { fg = "#8be9fd", bg = "#8be9fd" } -marker_selected = { fg = "#f1fa8c", bg = "#f1fa8c" } - -# Tab -tab_active = { reversed = true } -tab_inactive = {} -tab_width = 1 - -# Count -count_copied = { fg = "#282a36", bg = "#50fa7b" } -count_cut = { fg = "#282a36", bg = "#ff5555" } -count_selected = { fg = "#282a36", bg = "#f1fa8c" } - -# Border -border_symbol = "│" -border_style = { fg = "#7282b5" } - -# : }}} - - -# : Mode {{{ - -[mode] - -normal_main = { fg = "#282a36", bg = "#bd93f9", bold = true } -normal_alt = { fg = "#bd93f9", bg = "#44475a" } - -# Select mode -select_main = { fg = "#282a36", bg = "#8be9fd", bold = true } -select_alt = { fg = "#8be9fd", bg = "#44475a" } - -# Unset mode -unset_main = { fg = "#282a36", bg = "#ffb86c", bold = true } -unset_alt = { fg = "#ffb86c", bg = "#44475a" } - -# : }}} - - -# : Status bar {{{ - -[status] -separator_open = "" -separator_close = "" - -# Progress -progress_label = { fg = "#ffffff", bold = true } -progress_normal = { fg = "#bd93f9", bg = "#63667d" } -progress_error = { fg = "#ff5555", bg = "#63667d" } - -# Permissions -perm_sep = { fg = "#7282b5" } -perm_type = { fg = "#bd93f9" } -perm_read = { fg = "#f1fa8c" } -perm_write = { fg = "#ff5555" } -perm_exec = { fg = "#50fa7b" } - -# : }}} - - -# : Pick {{{ - -[pick] -border = { fg = "#bd93f9" } -active = { fg = "#ff79c6", bold = true } -inactive = {} - -# : }}} - - -# : Input {{{ - -[input] -border = { fg = "#bd93f9" } -title = {} -value = {} -selected = { reversed = true } - -# : }}} - - -# : Completion {{{ - -[completion] -border = { fg = "#bd93f9" } - -# : }}} - - -# : Tasks {{{ - -[tasks] -border = { fg = "#bd93f9" } -title = {} -hovered = { fg = "#ff79c6", underline = true } - -# : }}} - - -# : Which {{{ - -[which] -mask = { bg = "#44475a" } -cand = { fg = "#8be9fd" } -rest = { fg = "#8998c9" } -desc = { fg = "#ff79c6" } -separator = "  " -separator_style = { fg = "#83869c" } - -# : }}} - - -# : Help {{{ - -[help] -on = { fg = "#8be9fd" } -run = { fg = "#ff79c6" } -hovered = { reversed = true, bold = true } -footer = { fg = "#44475a", bg = "#f8f8f2" } - -# : }}} - - -# : Notify {{{ - -[notify] -title_info = { fg = "#50fa7b" } -title_warn = { fg = "#f1fa8c" } -title_error = { fg = "#ff5555" } - -# : }}} - - -# : File-specific styles {{{ - -[filetype] - -rules = [ - # Images - { mime = "image/*", fg = "#8be9fd" }, - - # Media - { mime = "{audio,video}/*", fg = "#f1fa8c" }, - - # Archives - { mime = "application/{zip,rar,7z*,tar,gzip,xz,zstd,bzip*,lzma,compress,archive,cpio,arj,xar,ms-cab*}", fg = "#ff79c6" }, - - # Documents - { mime = "application/{pdf,doc,rtf}", fg = "#50fa7b" }, - - # Fallback - { name = "*", fg = "#f8f8f2" }, - { name = "*/", fg = "#bd93f9" } -] - -# : }}} diff --git a/home/config/yazi/flavors/dracula.yazi/tmtheme.xml b/home/config/yazi/flavors/dracula.yazi/tmtheme.xml deleted file mode 100644 index c3434ec..0000000 --- a/home/config/yazi/flavors/dracula.yazi/tmtheme.xml +++ /dev/null @@ -1,940 +0,0 @@ - - - - - - - - name - Dracula - settings - - - settings - - background - #282a36 - caret - #f8f8f0 - block_caret - #999a9e - foreground - #f8f8f2 - invisibles - #3B3A32 - lineHighlight - #44475a - selection - #44475a - findHighlight - #effb7b - findHighlightForeground - #000000 - selectionBorder - #222218 - activeGuide - #9D550FB0 - bracketsForeground - #F8F8F2A5 - bracketsOptions - underline - bracketContentsForeground - #F8F8F2A5 - bracketContentsOptions - underline - tagsOptions - stippled_underline - - - - name - Comment - scope - comment - settings - - foreground - #6272a4 - fontStyle - - - - - name - String - scope - string - settings - - foreground - #f1fa8c - - - - name - Number - scope - constant.numeric - settings - - foreground - #bd93f9 - - - - name - Built-in constant - scope - constant.language - settings - - foreground - #bd93f9 - - - - name - User-defined constant - scope - constant.character, constant.other - settings - - foreground - #bd93f9 - - - - name - Variable - scope - variable - settings - - fontStyle - - - - - name - Ruby's @variable - scope - variable.other.readwrite.instance - settings - - fontStyle - - foreground - #ffb86c - - - - name - String interpolation - scope - constant.character.escaped, constant.character.escape, string source, string source.ruby - settings - - fontStyle - - foreground - #ff79c6 - - - - name - Ruby Regexp - scope - source.ruby string.regexp.classic.ruby,source.ruby string.regexp.mod-r.ruby - settings - - fontStyle - - foreground - #ff5555 - - - - name - Keyword - scope - keyword - settings - - foreground - #ff79c6 - - - - name - Storage - scope - storage - settings - - fontStyle - - foreground - #ff79c6 - - - - name - Storage type - scope - storage.type - settings - - fontStyle - italic - foreground - #8be9fd - - - - name - Storage Type Namespace - scope - storage.type.namespace - settings - - fontStyle - italic - foreground - #8be9fd - - - - name - Storage Type Class - scope - storage.type.class - settings - - fontStyle - italic - foreground - #ff79c6 - - - - name - Class name - scope - entity.name.class - settings - - fontStyle - underline - foreground - #8be9fd - - - - name - Meta Path - scope - meta.path - settings - - fontStyle - underline - foreground - #66d9ef - - - - name - Inherited class - scope - entity.other.inherited-class - settings - - fontStyle - italic underline - foreground - #8be9fd - - - - name - Function name - scope - entity.name.function - settings - - fontStyle - - foreground - #50fa7b - - - - name - Function argument - scope - variable.parameter - settings - - fontStyle - italic - foreground - #ffb86c - - - - name - Tag name - scope - entity.name.tag - settings - - fontStyle - - foreground - #ff79c6 - - - - name - Tag attribute - scope - entity.other.attribute-name - settings - - fontStyle - - foreground - #50fa7b - - - - name - Library function - scope - support.function - settings - - fontStyle - - foreground - #8be9fd - - - - name - Library constant - scope - support.constant - settings - - fontStyle - - foreground - #6be5fd - - - - name - Library class/type - scope - support.type, support.class - settings - - fontStyle - italic - foreground - #66d9ef - - - - name - Library variable - scope - support.other.variable - settings - - fontStyle - - - - - name - Support Other Namespace - scope - support.other.namespace - settings - - fontStyle - italic - foreground - #66d9ef - - - - name - Invalid - scope - invalid - settings - - background - #ff79c6 - fontStyle - - foreground - #F8F8F0 - - - - name - Invalid deprecated - scope - invalid.deprecated - settings - - background - #bd93f9 - foreground - #F8F8F0 - - - - name - JSON String - scope - meta.structure.dictionary.json string.quoted.double.json - settings - - foreground - #CFCFC2 - - - - name - diff.header - scope - meta.diff, meta.diff.header - settings - - foreground - #6272a4 - - - - name - diff.deleted - scope - markup.deleted - settings - - foreground - #ff79c6 - - - - name - diff.inserted - scope - markup.inserted - settings - - foreground - #50fa7b - - - - name - diff.changed - scope - markup.changed - settings - - foreground - #E6DB74 - - - - scope - constant.numeric.line-number.find-in-files - match - settings - - foreground - #bd93f9 - - - - scope - entity.name.filename - settings - - foreground - #E6DB74 - - - - scope - message.error - settings - - foreground - #F83333 - - - - name - JSON Punctuation - scope - punctuation.definition.string.begin.json - meta.structure.dictionary.value.json, punctuation.definition.string.end.json - meta.structure.dictionary.value.json - settings - - foreground - #EEEEEE - - - - name - JSON Structure - scope - meta.structure.dictionary.json string.quoted.double.json - settings - - foreground - #8be9fd - - - - name - JSON String - scope - meta.structure.dictionary.value.json string.quoted.double.json - settings - - foreground - #f1fa8c - - - - name - JSON: 6 deep - scope - meta meta meta meta meta meta meta.structure.dictionary.value string - settings - - foreground - #50fa7b - - - - name - JSON: 5 deep - scope - meta meta meta meta meta meta.structure.dictionary.value string - settings - - foreground - #ffb86c - - - - name - JSON: 4 deep - scope - meta meta meta meta meta.structure.dictionary.value string - settings - - foreground - #ff79c6 - - - - name - JSON: 3 deep - scope - meta meta meta meta.structure.dictionary.value string - settings - - foreground - #bd93f9 - - - - name - JSON: 2 deep - scope - meta meta meta.structure.dictionary.value string - settings - - foreground - #50fa7b - - - - name - JSON: 1 deep - scope - meta meta.structure.dictionary.value string - settings - - foreground - #ffb86c - - - - - - name - Markup: strike - scope - markup.strike - settings - - fontStyle - italic - foreground - #FFB86C - - - - name - Markup: bold - scope - markup.bold - settings - - fontStyle - bold - foreground - #FFB86C - - - - name - Markup: italic - scope - markup.italic - settings - - fontStyle - italic - foreground - #FFB86C - - - - name - Markdown: heading - scope - markup.heading - settings - - foreground - #8BE9FD - - - - name - Markdown: List Items Punctuation - scope - punctuation.definition.list_item.markdown - settings - - foreground - #FF79C6 - - - - name - Markdown: Blockquote - scope - markup.quote - settings - - fontStyle - italic - foreground - #6272A4 - - - - name - Markdown: Blockquote Punctuation - scope - punctuation.definition.blockquote.markdown - settings - - fontStyle - italic - background - #6272A4 - foreground - #6272A4 - - - - name - Markdown: Separator - scope - meta.separator - settings - - foreground - #6272A4 - - - - name - Markup: raw inline - scope - text.html.markdown markup.raw.inline - settings - - foreground - #50FA7B - - - - name - Markup: underline - scope - markup.underline - settings - - fontStyle - underline - foreground - #BD93F9 - - - - name - Markup: Raw block - scope - markup.raw.block - settings - - foreground - #CFCFC2 - - - - name - Markdown: Raw Block fenced source - scope - markup.raw.block.fenced.markdown source - settings - - foreground - #F8F8F2 - - - - name - Markdown: Fenced Bode Block - scope - punctuation.definition.fenced.markdown, variable.language.fenced.markdown - settings - - fontStyle - italic - foreground - #6272A4 - - - - name - Markdown: Fenced Language - scope - variable.language.fenced.markdown - settings - - fontStyle - italic - foreground - #6272A4 - - - - name - Punctuation Accessor - scope - punctuation.accessor - settings - - foreground - #FF79C6 - - - - name - Meta Function Return Type - scope - meta.function.return-type - settings - - foreground - #FF79C6 - - - - name - Punctuation Section Block Begin - scope - punctuation.section.block.begin - settings - - foreground - #ffffff - - - - name - Punctuation Section Block End - scope - punctuation.section.block.end - settings - - foreground - #ffffff - - - - name - Punctuation Section Embedded Begin - scope - punctuation.section.embedded.begin - settings - - foreground - #ff79c6 - - - - name - Punctuation Section Embedded End - scope - punctuation.section.embedded.end - settings - - foreground - #ff79c6 - - - - name - Punctuation Separator Namespace - scope - punctuation.separator.namespace - settings - - foreground - #ff79c6 - - - - name - Variable Function - scope - variable.function - settings - - foreground - #50fa7b - - - - name - Variable Other - scope - variable.other - settings - - foreground - #ffffff - - - - name - Variable Language - scope - variable.language - settings - - foreground - #bd93f9 - - - - name - Entity Name Module Ruby - scope - entity.name.module.ruby - settings - - foreground - #8be9fd - - - - name - Entity Name Constant Ruby - scope - entity.name.constant.ruby - settings - - foreground - #bd93f9 - - - - name - Support Function Builtin Ruby - scope - support.function.builtin.ruby - settings - - foreground - #ffffff - - - - name - Storage Type Namespace CS - scope - storage.type.namespace.cs - settings - - foreground - #ff79c6 - - - - name - Entity Name Namespace CS - scope - entity.name.namespace.cs - settings - - foreground - #8be9fd - - - - uuid - 83091B89-765E-4F0D-9275-0EC6CB084126 - colorSpaceName - sRGB - semanticClass - theme.dracula - author - Zeno Rocha - - diff --git a/home/config/yazi/flavors/gruvbox-dark.yazi/flavor.toml b/home/config/yazi/flavors/gruvbox-dark.yazi/flavor.toml deleted file mode 100644 index d10dc14..0000000 --- a/home/config/yazi/flavors/gruvbox-dark.yazi/flavor.toml +++ /dev/null @@ -1,146 +0,0 @@ -# vim:fileencoding=utf-8:foldmethod=marker - -# : Manager {{{ - -[manager] -cwd = { fg = "#83a598" } - -# Hovered -hovered = { reversed = true, bold = true } -# hovered = { bg = "#3c3836", bold = true } -preview_hovered = { underline = true } - -# Find -find_keyword = { fg = "#b8bb26", italic = true } -find_position = { fg = "#fe8019", bg = "reset", italic = true } - -# Marker -marker_copied = { fg = "#8ec07c", bg = "#8ec07c" } -marker_cut = { fg = "#d3869b", bg = "#d3869b" } -marker_marked = { fg = "#83a598", bg = "#83a598" } -marker_selected = { fg = "#fbf1c7", bg = "#fbf1c7" } - -# Tab -tab_active = { fg = "#282828", bg = "#a89984" } -tab_inactive = { fg = "#a89984", bg = "#504945" } -tab_width = 1 - -# Count -count_copied = { fg = "#282828", bg = "#8ec07c" } -count_cut = { fg = "#282828", bg = "#d3869b" } -count_selected = { fg = "#282828", bg = "#fbf1c7" } - -# Border -border_symbol = "│" -border_style = { fg = "#665c54" } - -# : }}} - -# : Status {{{ - -[status] -separator_open = "\ue0be" -separator_close = "\ue0b8" -separator_style = { fg = "#3c3836", bg = "#3c3836" } - -# Mode -mode_normal = { fg = "#282828", bg = "#a89984", bold = true } -mode_select = { fg = "#282828", bg = "#fe8019", bold = true } -mode_unset = { fg = "#282828", bg = "#b8bb26", bold = true } - -# Progress -progress_label = { fg = "#ebdbb2", bold = true } -progress_normal = { fg = "#504945", bg = "#3c3836" } -progress_error = { fg = "#fb4934", bg = "#3c3836" } - -# Permissions -permissions_t = { fg = "#504945" } -permissions_r = { fg = "#b8bb26" } -permissions_w = { fg = "#fb4934" } -permissions_x = { fg = "#b8bb26" } -permissions_s = { fg = "#665c54" } - -# : }}} - -# : Select {{{ - -[select] -border = { fg = "#458588" } -active = { fg = "#d3869b", bold = true } -inactive = {} - -# : }}} - -# : Input {{{ - -[input] -border = { fg = "#ebdbb2" } -title = {} -value = {} -selected = { reversed = true } - -# : }}} - -# : Tasks {{{ - -[tasks] -border = { fg = "#504945" } -title = {} -hovered = { underline = true } - -# : }}} - -# : Which {{{ - -[which] -mask = { bg = "#3c3836" } -cand = { fg = "#83a598" } -rest = { fg = "#928374" } -desc = { fg = "#fe8019" } -separator = "  " -separator_style = { fg = "#504945" } - -# : }}} - -# : Help {{{ - -[help] -on = { fg = "#83a598" } -run = { fg = "#d3869b" } -hovered = { reversed = true, bold = true } -footer = { fg = "#3c3836", bg = "#a89984" } - -# : }}} - -# : Notify {{{ - -[notify] -title_info = { fg = "#8ec07c" } -title_warn = { fg = "#fbf1c7" } -title_error = { fg = "#d3869b" } - -# : }}} - -# : File-specific styles {{{ - -[filetype] -rules = [ - # Images - { mime = "image/*", fg = "#d3869b" }, - - # Media - { mime = "{audio,video}/*", fg = "#fabd2f" }, - - # Archives - { mime = "application/*zip", fg = "#fb4934" }, - { mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", fg = "#fb4934" }, - - # Documents - { mime = "application/{pdf,doc,rtf,vnd.*}", fg = "#689d6a" }, - - # Fallback - { name = "*", fg = "#ebdbb2" }, - { name = "*/", fg = "#83a598" }, -] - -# : }}} diff --git a/home/config/yazi/flavors/gruvbox-dark.yazi/tmtheme.xml b/home/config/yazi/flavors/gruvbox-dark.yazi/tmtheme.xml deleted file mode 100644 index 59c1ecd..0000000 --- a/home/config/yazi/flavors/gruvbox-dark.yazi/tmtheme.xml +++ /dev/null @@ -1,1509 +0,0 @@ - - - - - comment - Based on gruvbox for Vim (https://github.com/morhetz/gruvbox) - originalAuthor - Pavel Pertsev (https://github.com/morhetz) - author - Brian Reilly (https://github.com/Briles/gruvbox) - name - gruvbox (Dark) (Medium) - colorSpaceName - sRGB - settings - - - settings - - background - #222222 - caret - #a89984 - foreground - #ebdbb280 - invisibles - #ebdbb226 - lineHighlight - #3c3836 - selection - #3c3836 - inactiveSelection - #3c3836 - guide - #ebdbb226 - activeGuide - #ebdbb280 - stackGuide - #ebdbb240 - bracketContentsOptions - underline - bracketContentsForeground - #bdae93 - bracketsOptions - underline - bracketsForeground - #bdae93 - gutterForeground - #928374 - highlight - #fbf1c7 - highlightForeground - #fbf1c7 - findHighlight - #d79921 - findHighlightForeground - #222222 - tagsOptions - underline - selectionBorder - #3c3836 - popupCss - - html { - background-color: #1b1b1b; - color: #fbf1c7; - padding: 12px; - } - - a { - color: #8ec07c; - } - - .error, .deleted { - color: #fb4934; - } - - .success, .inserted, .name { - color: #b8bb26; - } - - .warning, .modified { - color: #fabd2f; - } - - .type { - color: #fabd2f; - font-style: italic; - } - - .param { - color: #fbf1c7; - } - - .current { - text-decoration: underline; - } - - - - - name - Text and Source Base Colors - scope - meta.group, meta.method-call.source.cs, meta.method.attribute.source.cs, meta.method.body.java, meta.method.body.source.cs, meta.method.source.cs, none, source, text - settings - - foreground - #fbf1c7 - - - - name - Punctuation - scope - entity.quasi.element meta.group.braces, keyword.operator keyword.operator.neon, keyword.operator operator.neon, keyword.operator.accessor, keyword.other.accessor, meta.attribute-selector keyword.operator.stylus, meta.brace, meta.delimiter, meta.group.braces, meta.punctuation.separator, meta.separator, punctuation - settings - - foreground - #fbf1c7 - - - - name - Comments - scope - comment, comment text, markup.strikethrough, punctuation.definition.comment, punctuation.whitespace.comment, string.comment, text.cancelled - settings - - fontStyle - italic - foreground - #928374 - - - - name - Keywords Inside Comments - scope - comment.keyword, comment.keyword.punctuation - settings - - foreground - #d5c4a1 - - - - name - DocBlockr & Other Keywords Inside Comments - scope - comment.parameter, comment.punctuation, comment.string, comment.type, keyword.other.phpdoc.php, punctuation.definition.keyword.javadoc, source.groovy keyword.other.documentation, source.java keyword.other.documentation, storage.type.annotation.coffeescript, storage.type.class.jsdoc - settings - - foreground - #bdae93 - - - - name - Entity - scope - constant.language.name, entity.name.type, entity.other.inherited-class - settings - - foreground - #fabd2f - - - - name - Template String Punctuation - scope - constant.other.placeholder, entity.name.tag.mustache, entity.tag.tagbraces, punctuation.definition.string.template, punctuation.definition.template-expression, punctuation.quasi, punctuation.section.embedded, string.interpolated, variable.other.interpolation.scss - settings - - foreground - #8ec07c - - - - name - Keywords - scope - js.embedded.control.flow keyword.operator.js, keyword, keyword.control, keyword.operator.logical.python, meta.at-rule.media support.function.misc, meta.prolog.haml, meta.tag.sgml.doctype.html, storage.type.function.jade, storage.type.function.pug, storage.type.import.haxe, storage.type.import.include.jade, storage.type.import.include.pug, support.keyword.timing-direction, variable.documentroot - settings - - foreground - #fb4934 - - - - name - CSS At-Rule Punctuation (@) & At-Rule Vendor Prefixes - scope - keyword.control.at-rule support.type.property-vendor, punctuation.definition.keyword - settings - - foreground - #cc241d - - - - name - Operators - scope - keyword.control.new, keyword.control.operator, keyword.operator, keyword.other.arrow, keyword.other.double-colon, punctuation.operator - settings - - foreground - #8ec07c - - - - name - Constants Punctuation - scope - constant.other.color punctuation.definition.constant, constant.other.symbol punctuation.definition.constant, constant.other.unit, keyword.other.unit, punctuation.section.flowtype, support.constant.unicode-range.prefix - settings - - foreground - #b16286 - - - - name - Storage - scope - storage, storage.type.annotation, storage.type.primitive - settings - - foreground - #fb4934 - - - - scope - storage.modifier.import, storage.modifier.package, storage.type.import, variable.import, variable.package - settings - - foreground - #fbf1c7 - - - - name - Function Keyword - scope - entity.quasi.tag.name, meta.function storage.type.matlab, storage.type.function - settings - - foreground - #8ec07c - - - - name - Variables - scope - entity.name.val.declaration, entity.name.variable, meta.definition.variable, storage.type.variable, support.type.custom-property, support.type.variable-name, variable, variable.interpolation variable, variable.other.interpolation variable, variable.parameter.dosbatch, variable.parameter.output.function.matlab, variable.parameter.sass - settings - - foreground - #83a598 - - - - name - Variable - Punctuation - scope - keyword.other.custom-property.prefix, punctuation.definition.custom-property, punctuation.definition.variable, support.constant.custom-property-name.prefix, variable.interpolation, variable.other.dollar punctuation.dollar, variable.other.object.dollar punctuation.dollar - settings - - foreground - #458588 - - - - name - Function Declaration - Punctuation - scope - entity.name.function punctuation.dollar - settings - - foreground - #98971a - - - - name - Object Properties - scope - meta.property.object - settings - - foreground - #fbf1c7 - - - - name - Object Literal Properties - scope - constant.other.object.key string, meta.object-literal.key - settings - - foreground - #fbf1c7 - - - - name - Parameters - scope - meta.parameters, variable.parameter - settings - - foreground - #fbf1c7 - - - - name - SASS Import URL - scope - variable.parameter.url - settings - - foreground - #b8bb26 - - - - name - Language Constants - scope - constant, constant.numeric, constant.other, constant.other.color, constant.other.symbol, support.constant, support.constant.color, support.constant.font-name, support.constant.media, support.constant.prototype, variable.language - settings - - foreground - #d3869b - - - - name - Language Constants Punctuation - scope - variable.language punctuation.definition.variable - settings - - foreground - #b16286 - - - - name - User-Defined Constants - scope - entity.name.constant, variable.other.constant - settings - - foreground - #fabd2f - - - - name - Escaped Characters - scope - constant.character.escape, constant.character.escaped, constant.character.quoted, constant.other.character-class.escape - settings - - foreground - #fb4934 - - - - name - Invalids and Illegals - scope - invalid - settings - - foreground - #fbf1c7 - background - #fb4934 - - - - name - Inner Scopes of Invalids and Illegals - scope - invalid keyword.other.custom-property.prefix, invalid support.type.custom-property.name - settings - - foreground - #fbf1c7 - - - - name - Errors - scope - message.error - settings - - foreground - #fb4934 - - - - name - Strings - scope - meta.object-literal.key string, string - settings - - foreground - #b8bb26 - - - - name - JSON Keys - scope - meta.structure.dictionary.key.json string - settings - - foreground - #83a598 - - - - name - Regular Expressions Text - scope - source.regexp, string.regexp - settings - - foreground - #b8bb26 - - - - name - Regular Expressions Start & End Punctuation - scope - string.regexp punctuation.definition.string - settings - - foreground - #bdae93 - - - - name - Regular Expressions Character Class Punctuation ([]) - scope - keyword.control.set.regexp, punctuation.definition.character-class, string.regexp.character-class.ruby - settings - - foreground - #d3869b - - - - name - Regular Expressions Capturing Group - scope - string.regexp.group - settings - - foreground - #fbf1c7 - - - - name - Regular Expressions Assertions - scope - constant.other.assertion.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.group.capture.regexp - settings - - foreground - #83a598 - - - - name - Regular Expressions Character Class - scope - constant.other.character-class.escape.backslash.regexp, keyword.control.character-class.regexp, string.regexp.character-class constant.character.escape - settings - - foreground - #fabd2f - - - - name - Regular Expressions Quantifiers & Operators - scope - string.regexp.arbitrary-repetition, string.regexp.arbitrary-repetition punctuation - settings - - foreground - #8ec07c - - - - name - Hyperlinks - scope - constant.other.reference.link, string.other.link - settings - - foreground - #8ec07c - - - - name - Hyperlink Punctuation - scope - meta.image.inline punctuation.definition.string, meta.link.inline punctuation.definition.string, meta.link.reference punctuation.definition.constant, meta.link.reference.literal punctuation.definition.constant, meta.link.reference.literal punctuation.definition.string - settings - - foreground - #689d6a - - - - name - Markup Tag Punctuation - scope - punctuation.definition.tag - settings - - foreground - #83a598 - - - - name - Markdown Heading - scope - markup.heading - settings - - foreground - #b8bb26 - - - - name - Markdown Heading Punctuation - scope - punctuation.definition.heading, punctuation.definition.identity - settings - - foreground - #98971a - - - - name - Markdown Bold Text - scope - markup.bold - settings - - foreground - #fe8019 - fontStyle - bold - - - - name - Markdown Bold Text Punctuation - scope - punctuation.definition.bold - settings - - foreground - #d65d0e - fontStyle - bold - - - - name - Markdown Italic Text - scope - markup.italic - settings - - foreground - #fb4934 - fontStyle - italic - - - - name - Markdown Italic Text Punctuation - scope - punctuation.definition.italic - settings - - foreground - #cc241d - fontStyle - italic - - - - name - Markdown Inline Code - scope - markup.raw.inline - settings - - foreground - #fabd2f - - - - name - Markdown Inline Code Punctuation - scope - markup.raw.inline punctuation.definition.raw - settings - - foreground - #d79921 - - - - name - Markdown Quoted - scope - markup.quote - settings - - foreground - #d3869b - - - - name - Markdown Quoted Punctuation - scope - markup.quote punctuation.definition.blockquote - settings - - foreground - #b16286 - - - - name - Markdown List - scope - markup.list - settings - - foreground - #83a598 - - - - name - Markdown List Punctuation - scope - markup.list punctuation.definition.list_item - settings - - foreground - #458588 - - - - name - Markdown Separators - scope - meta.separator.markdown - settings - - foreground - #928374 - - - - name - Support - scope - meta.function-call.constructor variable.type, support.class, support.type, variable.other.class - settings - - foreground - #fabd2f - - - - name - Supporting Type - Dollar Punctuation - scope - support.class punctuation.dollar - settings - - foreground - #d79921 - - - - name - Function Calls - scope - entity.name.function.jade, entity.name.function.pug, keyword.other.special-method, meta.function-call variable.function, meta.function-call variable.other.dollar.only punctuation.dollar, support.function - settings - - foreground - #8ec07c - - - - name - Method Calls - scope - meta.function-call.method support.function, meta.function-call.method variable.function, meta.function-call.static variable.function, meta.method-call, meta.method-call support.function, meta.method-call variable.function, support.function.mutator - settings - - foreground - #689d6a - - - - name - Special Variables - scope - support.module - settings - - foreground - #d3869b - - - - name - Entities - scope - entity.name.accessor, entity.name.function, entity.name.label, entity.name.section - settings - - foreground - #b8bb26 - - - - name - Modules - scope - entity.name.module - settings - - foreground - #fe8019 - - - - name - HTML & CSS ID - scope - constant.id.tag, entity.name.tag.id, entity.other.attribute-name.id - settings - - foreground - #fe8019 - - - - name - HTML & CSS ID Punctuation (#) - scope - entity.other.attribute-name.id punctuation.definition.entity - settings - - foreground - #d65d0e - - - - name - HTML & CSS Class - scope - entity.name.tag.class, entity.other.attribute-name.class - settings - - foreground - #fabd2f - - - - name - HTML & CSS Class Punctuation (.) - scope - entity.other.attribute-name.class punctuation.definition.entity - settings - - foreground - #d79921 - - - - name - CSS Attribute Selector Attribute Name - scope - meta.attribute-selector entity.other.attribute-name - settings - - foreground - #d79921 - - - - name - HTML & XML Entity Punctuation - scope - constant.character.entity punctuation.definition.constant, constant.character.entity punctuation.definition.entity - settings - - foreground - #b16286 - - - - scope - entity.name.class, entity.name.type.class - settings - - foreground - #fabd2f - - - - name - Markup Tag - scope - entity.name.function.neon, entity.name.namespace.wildcard, entity.name.tag, entity.tag, keyword.control.untitled, keyword.doctype.xml, keyword.operator support.other.neon, punctuation.definition.prolog.haml, source.less keyword.control.html.elements - settings - - foreground - #83a598 - - - - name - HTML Attribute Names - scope - entity.name.attribute-name, entity.other.attribute-name, meta.section.attributes.haml constant.other.symbol.ruby - settings - - foreground - #fabd2f - - - - name - CSS Pseudo Elements/Classes & Vendor Prefixes - scope - entity.other.attribute-name.placeholder punctuation.definition.entity, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, entity.other.attribute-name.tag.pseudo-class, entity.other.attribute-name.tag.pseudo-element, entity.other.pseudo-class, entity.other.pseudo-element, support.type.vendor-prefix - settings - - foreground - #d79921 - - - - name - CSS Animations / Keyframes - scope - entity.function-name.stylus, entity.other.animation-keyframe.stylus, entity.other.animation-name, keyword.language.function.misc.stylus, meta.at-rule.keyframes entity.name.function, variable.other.animation-name - settings - - foreground - #8ec07c - - - - name - Author-Defined Names - scope - entity.other.namespace-prefix - settings - - foreground - #8ec07c - - - - scope - meta.class.body, meta.tag - settings - - foreground - #fbf1c7 - - - - name - Markdown Image & Hyperlink - scope - meta.image, meta.link - settings - - foreground - #d3869b - - - - name - Markdown Image & Hyperlink Punctuation - scope - meta.image punctuation.definition.metadata, meta.link punctuation.definition.metadata - settings - - foreground - #b16286 - - - - scope - meta.require - settings - - foreground - #b8bb26 - - - - name - Function Call Braces - scope - constant.name.attribute.tag.jade, constant.name.attribute.tag.pug, meta.brace.round, meta.function-call meta.group punctuation.definition.group, punctuation.definition.method-parameters, punctuation.definition.parameters - settings - - foreground - #bdae93 - - - - name - CSS Property Names - scope - meta.property-name, support.type.property-name, support.type.shape.definition support.constant.property-value - settings - - foreground - #b8bb26 - - - - name - CSS Property Name Vendor Prefixes - scope - meta.property-name support.type.vendor-prefix, support.type.property-name.media support.type.vendor-prefix - settings - - foreground - #98971a - - - - name - CSS Property Values - scope - constant.string.sass, meta.property-value, support.constant.property-value - settings - - foreground - #fbf1c7 - - - - name - CSS Property Value Vendor Prefixes - scope - meta.property-value support.type.vendor-prefix - settings - - foreground - #bdae93 - - - - name - Diff Foreground Text - scope - source.diff - settings - - foreground - #a89984 - - - - name - Diff Header Text From - scope - meta.diff.header.from-file - settings - - foreground - #83a598 - - - - name - Diff Header Text From Punctuation - scope - punctuation.definition.from-file - settings - - foreground - #458588 - - - - name - Diff Header Text To - scope - meta.diff.header.to-file - settings - - foreground - #d3869b - - - - name - Diff Header Text To Punctuation - scope - punctuation.definition.to-file - settings - - foreground - #b16286 - - - - name - Diff Additions & Deletions Stats - scope - meta.diff.range, meta.toc-list.line-number - settings - - foreground - #fabd2f - - - - name - Diff Additions & Deletions Stats Punctuation - scope - punctuation.definition.range.diff - settings - - foreground - #d79921 - - - - name - FiF Line Number - scope - constant.numeric.line-number - settings - - foreground - #928374 - - - - name - FiF Line Number Matched - scope - constant.numeric.line-number.match - settings - - foreground - #8ec07c - - - - name - FiF Filename - scope - entity.name.filename - settings - - foreground - #b8bb26 - - - - name - GitGutter & Diff Deleted - scope - markup.deleted, punctuation.definition.deleted - settings - - foreground - #fb4934 - - - - name - GitGutter & Diff Inserted - scope - markup.inserted, punctuation.definition.inserted - settings - - foreground - #b8bb26 - - - - name - GitGutter & Diff Changed - scope - markup.changed, punctuation.definition.changed - settings - - foreground - #fabd2f - - - - name - GitGutter ignored - scope - markup.ignored - settings - - foreground - #928374 - - - - name - GitGutter untracked - scope - markup.untracked - settings - - foreground - #928374 - - - - name - Bracket Tag - scope - brackethighlighter.tag - settings - - foreground - #bdae93 - - - - name - Bracket Curly - scope - brackethighlighter.curly - settings - - foreground - #bdae93 - - - - name - Bracket Round - scope - brackethighlighter.round - settings - - foreground - #bdae93 - - - - name - Bracket Square - scope - brackethighlighter.square - settings - - foreground - #bdae93 - - - - name - Bracket Angle - scope - brackethighlighter.angle - settings - - foreground - #bdae93 - - - - name - Bracket Quote - scope - brackethighlighter.quote - settings - - foreground - #bdae93 - - - - name - Bracket Unmatched - scope - brackethighlighter.unmatched - settings - - foreground - #fb4934 - - - - name - SublimeLinter Error - scope - sublimelinter.mark.error - settings - - foreground - #fb4934 - - - - name - SublimeLinter Gutter Mark - scope - sublimelinter.gutter-mark - settings - - foreground - #928374 - - - - name - SublimeLinter Warning - scope - sublimelinter.mark.warning - settings - - foreground - #fabd2f - - - - name - HexViewer Upper Byte Nibble - scope - raw.nibble.upper - settings - - foreground - #fbf1c7 - - - - name - HexViewer Lower Byte Nibble - scope - raw.nibble.lower - settings - - foreground - #fbf1c7 - - - - name - HexViewer Highlight - scope - hexviewer.highlight - settings - - foreground - #222222 - background - #fabd2f - - - - name - HexViewer Edited Highlight - scope - hexviewer.highlight.edited - settings - - foreground - #222222 - background - #fe8019 - - - - name - Raw New Line: Carriage Return - scope - glyph.carriage-return - settings - - foreground - #ebdbb226 - - - - name - Raw New Line: New Line Glyph - scope - glyph.new-line - settings - - foreground - #ebdbb226 - - - - name - PlainTasks: Header - scope - keyword.control.header.todo - settings - - foreground - #b8bb26 - background - #3a3a3a - - - - name - PlainTasks: Notes - scope - notes.todo - settings - - foreground - #bdae93 - - - - name - PlainTasks: Punctuation - scope - text.todo punctuation.definition.bold, text.todo punctuation.definition.italic - settings - - foreground - #7c6f64 - - - - name - PlainTasks: Task Pending - scope - meta.item.todo.pending - settings - - foreground - #fbf1c7 - - - - name - PlainTasks: Task Pending Punctuation - scope - punctuation.definition.bullet.pending.todo - settings - - foreground - #928374 - - - - name - PlainTasks: Task Completed Punctuation - scope - punctuation.definition.bullet.completed.todo - settings - - foreground - #8ec07c - - - - name - PlainTasks: Task Cancelled Punctuation - scope - punctuation.definition.bullet.cancelled.todo - settings - - foreground - #fb4934 - - - - name - PlainTasks: Tag Critical - scope - string.other.tag.todo.critical - settings - - foreground - #fb4934 - fontStyle - bold - - - - name - PlainTasks: Tag High - scope - string.other.tag.todo.high - settings - - foreground - #fe8019 - fontStyle - bold - - - - name - PlainTasks: Tag Low - scope - string.other.tag.todo.low - settings - - foreground - #83a598 - fontStyle - bold - - - - name - PlainTasks: Tag Today - scope - string.other.tag.todo.today - settings - - foreground - #fabd2f - fontStyle - bold - - - - name - PlainTasks: Tag - scope - meta.tag.todo - settings - - foreground - #d3869b - - - - name - PlainTasks: URL - scope - punctuation.definition.url, todo.url - settings - - foreground - #83a598 - - - - name - PlainTasks: Separator - scope - meta.punctuation.archive.todo, meta.punctuation.separator.todo - settings - - fontStyle - italic - foreground - #928374 - - - - - diff --git a/home/config/yazi/flavors/kanagawa-dragon.yazi/flavor.toml b/home/config/yazi/flavors/kanagawa-dragon.yazi/flavor.toml deleted file mode 100644 index 191a107..0000000 --- a/home/config/yazi/flavors/kanagawa-dragon.yazi/flavor.toml +++ /dev/null @@ -1,100 +0,0 @@ -# general -[manager] -marker_copied = { fg = "#87a987", bg = "#87a987" } # green -marker_cut = { fg = "#e46876", bg = "#e46876" } # red -marker_marked = { fg = "#a292a3", bg = "#a292a3" } # magenta -marker_selected = { fg = "#b6927b", bg = "#b6927b" } # cyan - -cwd = { fg = "#e6c384" } # yellow -hovered = { reversed = true } -preview_hovered = { reversed = true } - -tab_active = { reversed = true } -tab_inactive = {} -tab_width = 1 - -# default bg -count_copied = { fg = "#1f1f28", bg = "#87a987" } # green -count_cut = { fg = "#1f1f28", bg = "#e46876" } # red -count_selected = { fg = "#1f1f28", bg = "#e6c384" } # yellow - -border_symbol = "│" -border_style = { fg = "#c5c9c5"} # white - -# status-line -[status] -separator_open = "" -separator_close = "" -separator_style = { fg = "reset", bg = "#363646" } # light bg - -# default bg -mode_normal = { fg = "#1f1f28", bg = "#8ba4b0", bold = true } # blue -mode_select = { fg = "#1f1f28", bg = "#a292a3", bold = true } # magenta -mode_unset = { fg = "#1f1f28", bg = "#e6c384", bold = true } # yellow - -# blue - light bg -progress_label = { fg = "#8ba4b0", bg = "#363646", bold = true } -# light bg - default bg -progress_normal = { fg = "#363646", bg = "#1f1f28" } -progress_error = { fg = "#363646", bg = "#1f1f28" } - -permissions_t = { fg = "#87a987" } # green -permissions_r = { fg = "#e6c384" } # yellow -permissions_w = { fg = "#E46876" } # red -permissions_x = { fg = "#7aa89f" } # cyan -permissions_s = { fg = "#938aa9" } # magenta - -[select] -border = { fg = "#7fb4ca" } # blue -active = { fg = "#938aa9", bold = true } # magenta -inactive = {} - -[input] -border = { fg = "#7fb4ca" } # blue -title = {} -value = {} -selected = { reversed = true } - -[completion] -border = { fg = "#7fb4ca" } # blue -active = { reversed = true } -inactive = {} - -[tasks] -border = { fg = "#7fb4ca" } # blue -title = {} -hovered = { fg = "#938aa9" } # magenta - -[which] -cols = 2 -separator = " - " -separator_style = { fg = "#727169" } # darkgrey -mask = { bg = "#16161d" } # dark bg -rest = { fg = "#727169" } # darkgrey -cand = { fg = "#8ba4b0" } -desc = { fg = "#565666" } - -[help] -on = { fg = "#7aa89f" } # cyan -run = { fg = "#938aa9" } # magenta -desc = {} -hovered = { reversed = true, bold = true } -footer = { fg = "#090618", bg = "#c5c9c5" } # white - -[notify] -title_info = { fg = "#87a987" } # green -title_warn = { fg = "#e6c384" } # yellow -title_error = { fg = "#E46876" } # red - -# files -[filetype] -rules = [ - { mime = "image/*", fg = "#e6c384" }, - { mime = "{audio,video}/*", fg = "#a292a3" }, - { mime = "application/{,g}zip", fg = "#e46876" }, - { mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", fg = "#e46876" }, - { mime = "application/{pdf,doc,rtf,vnd.*}", fg = "#6a9589" }, - { name = "*", is = "orphan", fg = "#e46876" }, - { name = "*", is = "exec", fg = "#a292a3" }, - { name = "*/", fg = "#8ba4b0"} -] diff --git a/home/config/yazi/flavors/kanagawa-dragon.yazi/tmtheme.xml b/home/config/yazi/flavors/kanagawa-dragon.yazi/tmtheme.xml deleted file mode 100644 index 4a38718..0000000 --- a/home/config/yazi/flavors/kanagawa-dragon.yazi/tmtheme.xml +++ /dev/null @@ -1,448 +0,0 @@ - - - - - name - Kanagawa Dragon - settings - - - settings - - background - #1F1F28 - caret - #C8C093 - foreground - #c5c9c5 - invisibles - #54546D - lineHighlight - #2D4F67 - selection - #2D4F67 - findHighlight - #2D4F67 - selectionBorder - #222218 - gutterForeground - #54546D - - - - name - Comment - scope - comment - settings - - foreground - #a6a69c - - - - name - String - scope - string - settings - - foreground - #87a987 - - - - name - Number - scope - constant.numeric - settings - - foreground - #D27E99 - - - - name - Built-in constant - scope - constant.language - settings - - foreground - #b6927b - - - - name - User-defined constant - scope - constant.character, constant.other - settings - - foreground - #E6C384 - - - - name - Variable - scope - variable - settings - - fontStyle - #E6C384 - - - - name - Ruby's @variable - scope - variable.other.readwrite.instance - settings - - fontStyle - - foreground - #E6C384 - - - - name - String interpolation - scope - constant.character.escaped, constant.character.escape, string source, string source.ruby - settings - - fontStyle - - foreground - #c4b28a - - - - name - Keyword - scope - keyword - settings - - foreground - #E46876 - - - - name - Storage - scope - storage - settings - - fontStyle - - foreground - #a292a3 - - - - name - Storage type - scope - storage.type - settings - - foreground - #a292a3 - - - - name - Class name - scope - entity.name.class - settings - - foreground - #7AA89F - - - - name - Inherited class - scope - entity.other.inherited-class - settings - - foreground - #7AA89F - - - - name - Function name - scope - entity.name.function - settings - - fontStyle - - foreground - #8ba4b0 - - - - name - Function argument - scope - variable.parameter - settings - - foreground - #b8b4d0 - - - - name - Tag name - scope - entity.name.tag - settings - - fontStyle - - foreground - #7FB4CA - - - - name - Tag attribute - scope - entity.other.attribute-name - settings - - fontStyle - - foreground - #E6C384 - - - - name - Library function - scope - support.function - settings - - fontStyle - - foreground - #7FB4CA - - - - name - Library constant - scope - support.constant - settings - - fontStyle - - foreground - #7FB4CA - - - - name - Library class/type - scope - support.type, support.class - settings - - foreground - #7AA89F - - - - name - Library variable - scope - support.other.variable - settings - - foreground - #b6927b - - - - name - Invalid - scope - invalid - settings - - fontStyle - - foreground - #b98d7b - - - - name - Invalid deprecated - scope - invalid.deprecated - settings - - foreground - #717C7C - - - - name - JSON String - scope - meta.structure.dictionary.json string.quoted.double.json - settings - - foreground - #a292a3 - - - - name - diff.header - scope - meta.diff, meta.diff.header - settings - - foreground - #8ba4b0 - - - - name - diff.deleted - scope - markup.deleted - settings - - background - #43242B - - - - name - diff.inserted - scope - markup.inserted - settings - - background - #2B3328 - - - - name - diff.changed - scope - markup.changed - settings - - background - #49443C - - - - scope - constant.numeric.line-number.find-in-files - match - settings - - foreground - #54546D - - - - scope - entity.name.filename - settings - - foreground - #C8C093 - - - - scope - message.error - settings - - foreground - #E46876 - - - - name - JSON Punctuation - scope - punctuation.definition.string.begin.json - meta.structure.dictionary.value.json, punctuation.definition.string.end.json - meta.structure.dictionary.value.json - settings - - foreground - #9CABCA - - - - name - JSON Structure - scope - meta.structure.dictionary.json string.quoted.double.json - settings - - foreground - #a292a3 - - - - name - JSON String - scope - meta.structure.dictionary.value.json string.quoted.double.json - settings - - foreground - #ffffff - - - - name - Escape Characters - scope - constant.character.escape - settings - - foreground - #b98d7b - - - - name - Regular Expressions - scope - string.regexp - settings - - foreground - #E6C384 - - - - uuid - 592FC036-6BB7-4676-A2F5-2894D48C8E33 - colorSpaceName - sRGB - semanticClass - theme.dark.kanagawa-dragon - - diff --git a/home/config/yazi/flavors/sunset.yazi/flavor.toml b/home/config/yazi/flavors/sunset.yazi/flavor.toml deleted file mode 100644 index 53a9c73..0000000 --- a/home/config/yazi/flavors/sunset.yazi/flavor.toml +++ /dev/null @@ -1,159 +0,0 @@ -# : Manager {{{ - -[manager] -cwd = { fg = "#EBDBB2" } - -# Tab -tab_active = { fg = "#12202B", bg = "#E9C46A", bold = true} -tab_inactive = { fg = "#EBDBB2", bg = "#504945"} -tab_width = 1 - -# Find -find_keyword = { fg = "#2A9D8F", bold = true, italic = true, underline = true } -find_position = { fg = "#2A9D8F", bold = true, italic = true } - -# Marker -marker_copied = { fg = "#83A598", bg = "#83A598" } -marker_cut = { fg = "#264653", bg = "#264653" } -marker_marked = { fg = "#2A9D8F", bg = "#2A9D8F" } -marker_selected = { fg = "#E76551", bg = "#e76551" } - -# Count -count_copied = { fg = "#12202B", bg = "#83A598" } -count_cut = { fg = "#EBDBB2", bg = "#264653" } -count_selected = { fg = "#12202B", bg = "#E76551" } - -# Border -border_symbol = " " - -# : }}} - - -# : Status {{{ - -[status] -separator_open = "🭁" -separator_close = "🭠" -separator_style = { bg = "#12202B", fg = "#F4A261" } - -# Mode -mode_normal = { bg = "#F4A261", fg ="#08070C", bold = true } -mode_select = { bg = "#2A9D8F", fg ="#08070C", bold = true } -mode_unset = { bg = "#E76551", fg ="#08070C" ,bold = true } - -# Progress -progress_label = { bold = true } -progress_normal = { fg = "#E9C46A", bg = "#08070C" } -progress_error = { fg = "#E76551", bg = "#08070C" } - -# Permissions -permissions_t = { fg = "#E9C48A" } -permissions_w = { fg = "#E76551" } -permissions_x = { fg = "#2A9D8F" } -permissions_r = { fg = "#264653" } -permissions_s = { fg = "#EBDBB2" } - -# : }}} - - -# : Select {{{ - -[select] -border = { fg = "#E9C46A" } -active = { fg = "#E76551", bold = true } -inactive = {} - -# : }}} - - -# : Input {{{ - -[input] -border = { fg = "#E9C46A" } -value = { fg = "#EBDBB2"} - -# : }}} - - -# : Completion {{{ - -[completion] -border = { fg = "#E9C46A", bg = "#12202B" } - -# : }}} - - -# : Tasks {{{ - -[tasks] -border = { fg = "#E9C46A" } -title = {} -hovered = { fg = "#264653", underline = true } - -# : }}} - - -# : Which {{{ - -[which] -cols = 3 -mask = { bg = "#08070C" } -cand = { fg = "#E9C46A" } -rest = { fg = "#12202B" } -desc = { fg = "#EBDBB2" } -separator = " ▶ " -separator_style = { fg = "#EBDBB2" } - -# : }}} - - -# : Help {{{ - -[help] -on = { fg = "#E9C46A" } -run = { fg = "#83A598" } -footer = { fg = "#08070C", bg = "#EBDBB2" } - -# : }}} - - -# : Notify {{{ - -[notify] -title_info = { fg = "#83A598" } -title_warn = { fg = "#E9c46a" } -title_error = { fg = "#E76551" } - -# : }}} - - -# : File-specific styles {{{ - -[filetype] - -rules = [ - # Images - { mime = "image/*", fg = "#F4A261" }, - - # Media - { mime = "{audio,video}/*", fg = "#264653" }, - - # Archives - { mime = "application/{,g}zip", fg = "#E76551" }, - { mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", fg = "#E76551" }, - - # Documents - { mime = "application/{pdf,doc,rtf,vnd.*}", fg = "#83A588" }, - - - # Special files - { name = "*", is = "orphan", bg = "#504945" }, - { name = "*", is = "exec" , fg = "#2a9d8F" }, - - # Dummy files - { name = "*", is = "dummy", bg = "#504945" }, - { name = "*/", is = "dummy", bg = "#504950" }, - - # Fallback - { name = "*/", fg = "#e9c461" } -] diff --git a/home/config/yazi/flavors/sunset.yazi/tmtheme.xml b/home/config/yazi/flavors/sunset.yazi/tmtheme.xml deleted file mode 100755 index 7f9d02b..0000000 --- a/home/config/yazi/flavors/sunset.yazi/tmtheme.xml +++ /dev/null @@ -1,448 +0,0 @@ - - - - - name - Sunset - settings - - - settings - - background - #12202B - caret - #572B9F - foreground - #E9C46A - invisibles - #504945 - lineHighlight - #264653 - selection - #264653 - findHighlight - #264653 - selectionBorder - #222218 - gutterForeground - #504945 - - - - name - Comment - scope - comment - settings - - foreground - #727169 - - - - name - String - scope - string - settings - - foreground - #83A598 - - - - name - Number - scope - constant.numeric - settings - - foreground - #2A9D8F - - - - name - Built-in constant - scope - constant.language - settings - - foreground - #2A9D8F - - - - name - User-defined constant - scope - constant.character, constant.other - settings - - foreground - #2A9D8F - - - - name - Variable - scope - variable - settings - - fontStyle - #F4A261 - - - - name - Ruby's @variable - scope - variable.other.readwrite.instance - settings - - fontStyle - - foreground - #F4A261 - - - - name - String interpolation - scope - constant.character.escaped, constant.character.escape, string source, string source.ruby - settings - - fontStyle - - foreground - #491B4F - - - - name - Keyword - scope - keyword - settings - - foreground - #E76551 - - - - name - Storage - scope - storage - settings - - fontStyle - - foreground - #2A9D8F - - - - name - Storage type - scope - storage.type - settings - - foreground - #2A9D8F - - - - name - Class name - scope - entity.name.class - settings - - foreground - #264653 - - - - name - Inherited class - scope - entity.other.inherited-class - settings - - foreground - #E76551 - - - - name - Function name - scope - entity.name.function - settings - - fontStyle - - foreground - #75649D - - - - name - Function argument - scope - variable.parameter - settings - - foreground - #007966 - - - - name - Tag name - scope - entity.name.tag - settings - - fontStyle - - foreground - #F4A261 - - - - name - Tag attribute - scope - entity.other.attribute-name - settings - - fontStyle - - foreground - #E76551 - - - - name - Library function - scope - support.function - settings - - fontStyle - - foreground - #264653 - - - - name - Library constant - scope - support.constant - settings - - fontStyle - - foreground - #7FB4CA - - - - name - Library class/type - scope - support.type, support.class - settings - - foreground - #7AA89F - - - - name - Library variable - scope - support.other.variable - settings - - foreground - #EDCFB9 - - - - name - Invalid - scope - invalid - settings - - fontStyle - - foreground - #EDCFB9 - - - - name - Invalid deprecated - scope - invalid.deprecated - settings - - foreground - #717C7C - - - - name - JSON String - scope - meta.structure.dictionary.json string.quoted.double.json - settings - - foreground - #5F3A63 - - - - name - diff.header - scope - meta.diff, meta.diff.header - settings - - foreground - #E87E44 - - - - name - diff.deleted - scope - markup.deleted - settings - - background - #E87E44 - - - - name - diff.inserted - scope - markup.inserted - settings - - background - #504945 - - - - name - diff.changed - scope - markup.changed - settings - - background - #504830 - - - - scope - constant.numeric.line-number.find-in-files - match - settings - - foreground - #50546D - - - - scope - entity.name.filename - settings - - foreground - #019879 - - - - scope - message.error - settings - - foreground - #F01501 - - - - name - JSON Punctuation - scope - punctuation.definition.string.begin.json - meta.structure.dictionary.value.json, punctuation.definition.string.end.json - meta.structure.dictionary.value.json - settings - - foreground - #264653 - - - - name - JSON Structure - scope - meta.structure.dictionary.json string.quoted.double.json - settings - - foreground - #4A1B42 - - - - name - JSON String - scope - meta.structure.dictionary.value.json string.quoted.double.json - settings - - foreground - #ffffff - - - - name - Escape Characters - scope - constant.character.escape - settings - - foreground - #E76551 - - - - name - Regular Expressions - scope - string.regexp - settings - - foreground - #DE51AD - - - - uuid - 260540bf-9550-48ff-9b7c-dbf17b5ecd02 - colorSpaceName - sRGB - semanticClass - theme.dark.sunset - - diff --git a/home/config/yazi/keymap.toml b/home/config/yazi/keymap.toml deleted file mode 100644 index 7d57e0e..0000000 --- a/home/config/yazi/keymap.toml +++ /dev/null @@ -1,4 +0,0 @@ -[manager] -prepend_keymap = [{ on = ["c", "D"], run = ''' - shell 'ripdrag "$@" -x 2>/dev/null &' --confirm -''', desc = "Drag the file" }] diff --git a/home/config/yazi/theme.toml b/home/config/yazi/theme.toml deleted file mode 100644 index 0fe1103..0000000 --- a/home/config/yazi/theme.toml +++ /dev/null @@ -1,3 +0,0 @@ -[flavor] -dark = "kanagawa-dragon" -light = "kanagawa-dragon" diff --git a/home/user/config.nix b/home/user/config.nix index f8e6a2d..bc2e4a4 100644 --- a/home/user/config.nix +++ b/home/user/config.nix @@ -24,10 +24,6 @@ in recursive = true; source = "${configDir}/fcitx5"; }; - ".config/ghostty" = { - recursive = true; - source = "${configDir}/ghostty"; - }; ".face".source = "${configDir}/.face"; }; diff --git a/home/user/hypr/windowrule.nix b/home/user/hypr/windowrule.nix index 7493ea6..704f36c 100644 --- a/home/user/hypr/windowrule.nix +++ b/home/user/hypr/windowrule.nix @@ -1,3 +1,7 @@ +{ lib, settings }: +let + inherit (lib) optionalString; +in { windowrule = [ "pseudo, class:fcitx" @@ -34,11 +38,50 @@ "pin, class:^(vesktop)$,title:^(Discord Popout)$" "float, class:^(steam)$,title:^(Friends List)$" + # Media Control + "float, class: ^(org.pulseaudio.pavucontrol)$" + "pin, class: ^(org.pulseaudio.pavucontrol)$" + "animation slide top 20%, class: ^(org.pulseaudio.pavucontrol)$" + (optionalString ( + settings.personal.hostname == "dn-pre7780" + ) "move 1680 59, class: ^(org.pulseaudio.pavucontrol)$") + (optionalString ( + settings.personal.hostname == "dn-pre7780" + ) "size 868 561, class: ^(org.pulseaudio.pavucontrol)$") + + # Local Send (File Sharing) + "float, class: ^(localsend_app)$" + "pin, class: ^(localsend_app)$" + "animation slide right 20%, class: ^(localsend_app)$" + (optionalString ( + settings.personal.hostname == "dn-pre7780" + ) "size 523 1372, class: ^(localsend_app)$") + (optionalString ( + settings.personal.hostname == "dn-pre7780" + ) "move 2024 56, class: ^(localsend_app)$") + + # Airplay + "pseudo, class: ^(GStreamer)$" + "opacity 1.0, class: ^(GStreamer)$" + (optionalString (settings.personal.hostname == "dn-pre7780") "size 487 1055, class: ^(GStreamer)$") + + # Bluetooth + "float, class: ^(blueberry.py)$" + "pin, class: ^(blueberry.py)$" + (optionalString ( + settings.personal.hostname == "dn-pre7780" + ) "move 1943 59, class: ^(blueberry.py)$") + (optionalString ( + settings.personal.hostname == "dn-pre7780" + ) "size 605 763, class: ^(blueberry.py)$") + "animation slide top 20%, class: ^(blueberry.py)$" + # Steam "workspace: 7 silent, class: ^(steam)$" "workspace: unset, class: ^(steam)$, floating: 1" + # steam game - "workspace: 7 silent, initialClass: steam_app_*" + "workspace: 7 silent, class: ^(steam_app_)(.*)" # Line "workspace: 2, initialTitle: ^(LINE)$" @@ -48,7 +91,7 @@ "workspace: 3, initialClass: ^(vlc), floating: 0" # vesktop - "workspace: 2 silent, initialClass: ^(vesktop), floating: 0" + "workspace: 4 silent, initialClass: ^(vesktop), floating: 0" ]; layerrule = [ diff --git a/home/user/hyprland.nix b/home/user/hyprland.nix index a090f54..6b696ea 100644 --- a/home/user/hyprland.nix +++ b/home/user/hyprland.nix @@ -19,7 +19,7 @@ let }; mainMod = "SUPER"; window = import ./hypr/window.nix; - windowrule = import ./hypr/windowrule.nix; + windowrule = import ./hypr/windowrule.nix { inherit lib settings; }; input = import ./hypr/input.nix; plugins = import ./hypr/plugin.nix; cursorName = "catppuccin-macchiato-lavender-cursors"; @@ -31,19 +31,19 @@ let wallpapers = [ (pkgs.fetchurl { - url = "http://files.net.dn/dennis-yu-fVadSuPPE8M-unsplash.jpg"; + url = "https://files.net.dn/dennis-yu-fVadSuPPE8M-unsplash.jpg"; hash = "sha256-YCusefLnTntOZAh2fIoWuJbm1+iE+RNeWTbn22UDjSU="; }) (pkgs.fetchurl { - url = "http://files.net.dn/karsten-winegeart-LZRZJam4Avg-unsplash.jpg"; + url = "https://files.net.dn/karsten-winegeart-LZRZJam4Avg-unsplash.jpg"; hash = "sha256-NpJhRJRiFCFmdDP/8FDmzIBellSdJ1Y6Pz63QJzkPMk="; }) (pkgs.fetchurl { - url = "http://files.net.dn/nick-design-q3s4a7FZgjY-unsplash.jpg"; + url = "https://files.net.dn/nick-design-q3s4a7FZgjY-unsplash.jpg"; hash = "sha256-kJajqRuf+ZMTaORKKK4A+8MNzGd2SHjMcRYnq9T8LmA="; }) (pkgs.fetchurl { - url = "http://files.net.dn/oleg-demakov-zEIApnww3fU-unsplash.jpg"; + url = "https://files.net.dn/oleg-demakov-zEIApnww3fU-unsplash.jpg"; hash = "sha256-79JRnxJdCZOh2u8+5LcUDGjzwE1mMM2ZHrKLn36wd40="; }) "$HOME/.config/wallpapers/wall.png" @@ -77,6 +77,7 @@ in home.packages = with pkgs; [ mpvpaper # Video Wallpaper hyprcursor + libnotify ]; wayland.windowManager.hyprland = { @@ -148,18 +149,7 @@ in # === hyprlock === # programs.hyprlock = { enable = true; - package = ( - pkgs.hyprlock.overrideAttrs ( - final: prev: { - src = pkgs.fetchFromGitHub { - owner = "hyprwm"; - repo = "hyprlock"; - rev = "da1d076d849fc0f298c1d287bddd04802bf7d0f9"; - hash = "sha256-IypoV7crmhQ4llD0n4qqO4XTRNAAbHfA+2oiTiq2qpk="; - }; - } - ) - ); + package = inputs.hyprlock.packages.${system}.default; importantPrefixes = [ "$" "monitor" @@ -363,7 +353,15 @@ in programs.waybar = { enable = true; style = ../../home/config/waybar/style.css; - settings = import ../../home/config/waybar/config.nix { inherit terminal osConfig wallRand; }; + settings = import ../../home/config/waybar/config.nix { + inherit + terminal + osConfig + wallRand + pkgs + lib + ; + }; systemd = { enable = true; target = "graphical-session.target"; @@ -523,7 +521,7 @@ in .widget-title>button:hover { background: @borderc; - color: #282828; + color: @textc; } .widget-label { @@ -532,7 +530,7 @@ in .widget-label>label { font-size: 1rem; - color: @textc; + color: @borderc; } .widget-mpris { diff --git a/home/user/packages.nix b/home/user/packages.nix index 1046407..2aa927c 100644 --- a/home/user/packages.nix +++ b/home/user/packages.nix @@ -6,6 +6,9 @@ osConfig, ... }: +let + inherit (lib) optional; +in { programs.poetry = { enable = true; @@ -15,11 +18,38 @@ }; }; + programs.ghostty = { + enable = true; + installBatSyntax = true; + enableFishIntegration = true; + package = inputs.ghostty.packages.${system}.default; + settings = { + font-family = "CaskaydiaCove Nerd Font Mono"; + font-size = 15; + theme = "Espresso"; + unfocused-split-opacity = 0.85; + desktop-notifications = false; + + wait-after-command = false; + shell-integration = "detect"; + window-theme = "dark"; + + confirm-close-surface = false; + window-decoration = false; + + mouse-hide-while-typing = true; + + keybind = [ "ctrl+shift+zero=toggle_tab_overview" ]; + + clipboard-read = "allow"; + clipboard-write = "allow"; + }; + }; + home.packages = with pkgs; [ - # Terminal - inputs.ghostty.packages.${system}.default + obsidian # Discord vesktop @@ -66,9 +96,7 @@ protonup ] else - [ - - ] + [ ] ); home.sessionVariables = lib.mkIf osConfig.programs.steam.enable { diff --git a/home/user/shell.nix b/home/user/shell.nix index 8af9488..af621fe 100644 --- a/home/user/shell.nix +++ b/home/user/shell.nix @@ -5,31 +5,12 @@ in { home.packages = with pkgs; [ # Shell - fishPlugins.done - fishPlugins.fzf-fish - fishPlugins.forgit - fishPlugins.hydro - fishPlugins.grc - grc # Colorize - zoxide # Dir jumper - starship # Shell theme - carapace # Autocomplete + grc ]; programs = { fish = { enable = true; - shellInit = '' - # Yazi - function y - set tmp (mktemp -t "yazi-cwd.XXXXXX") - yazi $argv --cwd-file="$tmp" - if set cwd (command cat -- "$tmp"); and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ] - builtin cd -- "$cwd" - end - rm -f -- "$tmp" - end - ''; interactiveShellInit = '' set fish_greeting # Disable greeting ''; @@ -38,6 +19,18 @@ in name = "grc"; src = pkgs.fishPlugins.grc.src; } + { + name = "fzf-fish"; + src = pkgs.fishPlugins.fzf-fish.src; + } + { + name = "forgit"; + src = pkgs.fishPlugins.forgit.src; + } + { + name = "hydro"; + src = pkgs.fishPlugins.hydro.src; + } ]; shellAliases = shellAlias; }; diff --git a/home/user/shellAlias.nix b/home/user/shellAlias.nix index 56334c5..a1ce546 100644 --- a/home/user/shellAlias.nix +++ b/home/user/shellAlias.nix @@ -3,7 +3,6 @@ ls = "exa --icons"; lp = "exa"; # Pure output cat = "bat"; - y = "yazi"; g = "git"; t = "tmux"; diff --git a/home/user/yazi.nix b/home/user/yazi.nix index 89b27c3..749ef1b 100644 --- a/home/user/yazi.nix +++ b/home/user/yazi.nix @@ -1,27 +1,166 @@ { inputs, + config, system, pkgs, + lib, ... }: +let + yaziPlugins = pkgs.fetchFromGitHub { + owner = "yazi-rs"; + repo = "plugins"; + rev = "86d28e4fb4f25f36cc501b8cb0badb37a6b14263"; + hash = "sha256-m/gJTDm0cVkIdcQ1ZJliPqBhNKoCW1FciLkuq7D1mxo="; + }; +in { programs = { yazi = { enable = true; package = inputs.yazi.packages.${system}.default; + shellWrapperName = "y"; enableFishIntegration = false; + + plugins = { + toggle-panel = ''${yaziPlugins}/toggle-panel.yazi''; + }; + + flavors = { + gruvbox-dark = pkgs.fetchFromGitHub { + owner = "bennyyip"; + repo = "gruvbox-dark.yazi"; + rev = "91fdfa70f6d593934e62aba1e449f4ec3d3ccc90"; + hash = "sha256-RWqyAdETD/EkDVGcnBPiMcw1mSd78Aayky9yoxSsry4="; + }; + }; + + theme = { + flavors = { + dark = "gruvbox-dark"; + light = "gruvbox-dark"; + }; + }; + + keymap = { + mgr = { + prepend_keymap = [ + # Toggle Maximize Preview + { + on = "T"; + run = "plugin toggle-pane max-preview"; + desc = "Show or hide the preview pane"; + } + # Copy selected files to the system clipboard while yanking + { + on = "y"; + run = [ + ''shell -- for path in "$@"; do echo "file://$path"; done | wl-copy -t text/uri-list'' + "yank" + ]; + } + # cd back to the root of the current Git repository + { + on = [ + "g" + "r" + ]; + run = ''shell -- ya emit cd "$(git rev-parse --show-toplevel)"''; + } + # Drag and Drop + { + on = [ + "c" + "D" + ]; + run = '' + shell '${pkgs.ripdrag.out}/bin/ripdrag "$@" -x 2>/dev/null &' --confirm + ''; + desc = "Drag the file"; + } + # Start terminal + { + on = [ "!" ]; + for = "unix"; + run = ''shell "$SHELL" --block''; + desc = "Open $SHELL here"; + } + ]; + }; + }; + + initLua = + # lua + '' + -- Show symlink in status bar + Status:children_add(function(self) + local h = self._current.hovered + if h and h.link_to then + return " -> " .. toString(h.link_to) + else + return "" + end + end, 3300, Status.LEFT) + + -- Show user/group of files in status bar + Status:children_add(function() + local h = cx.active.current.hovered + if not h or ya.target_family() ~= "unix" then + return "" + end + + return ui.Line { + ui.Span(ya.user_name(h.cha.uid) or tostring(h.cha.uid)):fg("magenta"), + ":", + ui.Span(ya.group_name(h.cha.gid) or tostring(h.cha.gid)):fg("magenta"), + " ", + } + end, 500, Status.RIGHT) + + -- Show username and hostname in header + Header:children_add(function() + if ya.target_family() ~= "unix" then + return "" + end + return ui.Span(ya.user_name() .. "@" .. ya.host_name() .. ":"):fg("blue") + end, 500, Header.LEFT) + ''; }; }; home.packages = with pkgs; [ - # Drag from yazi - ripdrag + ueberzugpp ]; - home.file = { - ".config/yazi" = { - recursive = true; - source = ../config/yazi; - }; - }; + # xdg.portal = { + # enable = lib.mkForce true; + # extraPortals = [ pkgs.xdg-desktop-portal-termfilechooser ]; + # config = { + # common.default = [ + # "hyprland" + # "gtk" + # ]; + # common = { + # "org.freedesktop.impl.portal.FileChooser" = "termfilechooser"; + # }; + # hyprland.default = [ + # "hyprland" + # "gtk" + # ]; + # hyprland."org.freedesktop.impl.portal.FileChooser" = [ "termfilechooser" ]; + # }; + # }; + + # xdg.configFile."xdg-desktop-portal-termfilechooser/config" = { + # force = true; + # text = '' + # [filechooser] + # cmd=TERMCMD='${config.programs.ghostty.package}/bin/ghostty --title=file_chooser -e "bash -c ${pkgs.xdg-desktop-portal-termfilechooser}/share/xdg-desktop-portal-termfilechooser/yazi-wrapper.sh"' + # default_dir=$HOME + # open_mode = suggested + # save_mode = last + # ''; + # }; + + # home.sessionVariables.TERMCMD = "${config.programs.ghostty.package}/bin/ghostty --title=file_chooser"; } diff --git a/system/dev/dn-pre7780/default.nix b/system/dev/dn-pre7780/default.nix index 344e993..4e030d9 100644 --- a/system/dev/dn-pre7780/default.nix +++ b/system/dev/dn-pre7780/default.nix @@ -19,6 +19,8 @@ ../../modules/virtualization.nix ../../modules/wine.nix ../../modules/wireguard.nix + ../../modules/localsend.nix + (import ../../modules/airplay.nix { hostname = "pre7780"; }) (import ../../modules/rustdesk-server.nix { relayHosts = [ "10.0.0.0/24" @@ -35,6 +37,14 @@ email = "danny@net.dn"; baseUrl = "https://bitwarden.net.dn"; }) + { + home.file.".steam/root/compatibilitytools.d/GE-Proton10-10" = { + source = fetchTarball { + url = "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton10-10/GE-Proton10-10.tar.gz"; + sha256 = "sha256:1vkj66x84yqmpqm857hjzmx1s02h2lffcbc60jdfqz9xj34dx5jc"; + }; + }; + } ]; }; }; diff --git a/system/modules/airplay.nix b/system/modules/airplay.nix index c049dbc..30dc3e6 100644 --- a/system/modules/airplay.nix +++ b/system/modules/airplay.nix @@ -1,4 +1,10 @@ -{ pkgs, ... }: +{ + hostname ? null, +}: +{ pkgs, lib, ... }: +let + inherit (lib) optionalString; +in { networking.firewall = { allowedTCPPorts = [ @@ -19,8 +25,12 @@ ]; systemd.user.services.uxplay = { + wantedBy = [ "multi-user.target" ]; + after = [ "networking-online.target" ]; serviceConfig = { - ExecStart = "${pkgs.uxplay}/bin/uxplay -p"; + ExecStart = "${pkgs.uxplay}/bin/uxplay ${ + optionalString (hostname != null) "-n ${hostname} -nh -hls 3" + } -p"; }; }; diff --git a/system/modules/localsend.nix b/system/modules/localsend.nix new file mode 100644 index 0000000..29ffb21 --- /dev/null +++ b/system/modules/localsend.nix @@ -0,0 +1,9 @@ +{ + ... +}: +{ + programs.localsend = { + enable = true; + openFirewall = true; + }; +} diff --git a/system/modules/mail-server.nix b/system/modules/mail-server.nix index d428c32..4e74b55 100644 --- a/system/modules/mail-server.nix +++ b/system/modules/mail-server.nix @@ -123,21 +123,20 @@ with builtins; }; postmasterAlias = "root"; - extraAliases = - '' - mailer-daemon: postmaster - nobody: root - hostmaster: root - usenet: root - news: root - webmaster: root - www: root - ftp: root - abuse: root - noc: root - security: root - '' - + extraAliases; + extraAliases = '' + mailer-daemon: postmaster + nobody: root + hostmaster: root + usenet: root + news: root + webmaster: root + www: root + ftp: root + abuse: root + noc: root + security: root + '' + + extraAliases; }; services.dovecot2 = {