Remove configuration for Dunst, Sway, Rofi and Yazi

This commit is contained in:
Fabio Scotto di Santolo
2025-07-09 09:10:13 +02:00
parent ece47e870c
commit 5bfdd3880b
27 changed files with 0 additions and 4152 deletions

View File

@@ -6,7 +6,6 @@ Below is a list of the software:
- Bash - Bash
- Bat - Bat
- Dunst
- Fastfetch - Fastfetch
- Fish - Fish
- Git - Git
@@ -19,12 +18,9 @@ Below is a list of the software:
- Moar - Moar
- Neovim/LazyVim - Neovim/LazyVim
- PowerShell - PowerShell
- Rofi
- Starship - Starship
- Sway
- Tmux - Tmux
- Vim - Vim
- Waybar - Waybar
- Yazi
- Zoxide - Zoxide
- Zsh - Zsh

View File

@@ -1,503 +0,0 @@
# See dunst(5) for all configuration options
[global]
### Display ###
# Which monitor should the notifications be displayed on.
monitor = 0
# Display notification on focused monitor. Possible modes are:
# mouse: follow mouse pointer
# keyboard: follow window with keyboard focus
# none: don't follow anything
#
# "keyboard" needs a window manager that exports the
# _NET_ACTIVE_WINDOW property.
# This should be the case for almost all modern window managers.
#
# If this option is set to mouse or keyboard, the monitor option
# will be ignored.
follow = none
### Geometry ###
# dynamic width from 0 to 300
# width = (0, 300)
# constant width of 300
width = 300
# The maximum height of a single notification, excluding the frame.
height = 300
# Position the notification in the top right corner
origin = top-right
# Offset from the origin
offset = 10x50
# Scale factor. It is auto-detected if value is 0.
scale = 0
# Maximum number of notification (0 means no limit)
notification_limit = 20
### Progress bar ###
# Turn on the progress bar. It appears when a progress hint is passed with
# for example dunstify -h int:value:12
progress_bar = true
# Set the progress bar height. This includes the frame, so make sure
# it's at least twice as big as the frame width.
progress_bar_height = 10
# Set the frame width of the progress bar
progress_bar_frame_width = 1
# Set the minimum width for the progress bar
progress_bar_min_width = 150
# Set the maximum width for the progress bar
progress_bar_max_width = 300
# Corner radius for the progress bar. 0 disables rounded corners.
progress_bar_corner_radius = 0
# Define which corners to round when drawing the progress bar. If progress_bar_corner_radius
# is set to 0 this option will be ignored.
progress_bar_corners = all
# Corner radius for the icon image.
icon_corner_radius = 0
# Define which corners to round when drawing the icon image. If icon_corner_radius
# is set to 0 this option will be ignored.
icon_corners = all
# Show how many messages are currently hidden (because of
# notification_limit).
indicate_hidden = yes
# The transparency of the window. Range: [0; 100].
# This option will only work if a compositing window manager is
# present (e.g. xcompmgr, compiz, etc.). (X11 only)
transparency = 0
# Draw a line of "separator_height" pixel height between two
# notifications.
# Set to 0 to disable.
# If gap_size is greater than 0, this setting will be ignored.
separator_height = 2
# Padding between text and separator.
padding = 8
# Horizontal padding.
horizontal_padding = 8
# Padding between text and icon.
text_icon_padding = 0
# Defines width in pixels of frame around the notification window.
# Set to 0 to disable.
frame_width = 3
# Defines color of the frame around the notification window.
frame_color = "#aaaaaa"
# Size of gap to display between notifications - requires a compositor.
# If value is greater than 0, separator_height will be ignored and a border
# of size frame_width will be drawn around each notification instead.
# Click events on gaps do not currently propagate to applications below.
gap_size = 0
# Define a color for the separator.
# possible values are:
# * auto: dunst tries to find a color fitting to the background;
# * foreground: use the same color as the foreground;
# * frame: use the same color as the frame;
# * anything else will be interpreted as a X color.
separator_color = frame
# Sort type.
# possible values are:
# * id: sort by id
# * urgency_ascending: sort by urgency (low then normal then critical)
# * urgency_descending: sort by urgency (critical then normal then low)
# * update: sort by update (most recent always at the top)
sort = yes
# Don't remove messages, if the user is idle (no mouse or keyboard input)
# for longer than idle_threshold seconds.
# Set to 0 to disable.
# A client can set the 'transient' hint to bypass this. See the rules
# section for how to disable this if necessary
# idle_threshold = 120
### Text ###
font = Monospace 8
# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
line_height = 0
# Possible values are:
# full: Allow a small subset of html markup in notifications:
# <b>bold</b>
# <i>italic</i>
# <s>strikethrough</s>
# <u>underline</u>
#
# For a complete reference see
# <https://docs.gtk.org/Pango/pango_markup.html>.
#
# strip: This setting is provided for compatibility with some broken
# clients that send markup even though it's not enabled on the
# server. Dunst will try to strip the markup but the parsing is
# simplistic so using this option outside of matching rules for
# specific applications *IS GREATLY DISCOURAGED*.
#
# no: Disable markup parsing, incoming notifications will be treated as
# plain text. Dunst will not advertise that it has the body-markup
# capability if this is set as a global setting.
#
# It's important to note that markup inside the format option will be parsed
# regardless of what this is set to.
markup = full
# The format of the message. Possible variables are:
# %a appname
# %s summary
# %b body
# %i iconname (including its path)
# %I iconname (without its path)
# %p progress value if set ([ 0%] to [100%]) or nothing
# %n progress value if set without any extra characters
# %% Literal %
# Markup is allowed
format = "<b>%s</b>\n%b"
# Alignment of message text.
# Possible values are "left", "center" and "right".
alignment = left
# Vertical alignment of message text and icon.
# Possible values are "top", "center" and "bottom".
vertical_alignment = center
# Show age of message if message is older than show_age_threshold
# seconds.
# Set to -1 to disable.
show_age_threshold = 60
# Specify where to make an ellipsis in long lines.
# Possible values are "start", "middle" and "end".
ellipsize = middle
# Ignore newlines '\n' in notifications.
ignore_newline = no
# Stack together notifications with the same content
stack_duplicates = true
# Hide the count of stacked notifications with the same content
hide_duplicate_count = false
# Display indicators for URLs (U) and actions (A).
show_indicators = yes
### Icons ###
# Recursive icon lookup. You can set a single theme, instead of having to
# define all lookup paths.
enable_recursive_icon_lookup = true
# Set icon theme (only used for recursive icon lookup)
icon_theme = Adwaita
# You can also set multiple icon themes, with the leftmost one being used first.
# icon_theme = "Adwaita, breeze"
# Align icons left/right/top/off
icon_position = left
# Scale small icons up to this size, set to 0 to disable. Helpful
# for e.g. small files or high-dpi screens. In case of conflict,
# max_icon_size takes precedence over this.
min_icon_size = 32
# Scale larger icons down to this size, set to 0 to disable
max_icon_size = 128
# Paths to default icons (only necessary when not using recursive icon lookup)
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
### History ###
# Should a notification popped up from history be sticky or timeout
# as if it would normally do.
sticky_history = yes
# Maximum amount of notifications kept in history
history_length = 20
### Misc/Advanced ###
# dmenu path.
dmenu = /usr/bin/dmenu -p dunst:
# Browser for opening urls in context menu.
browser = /usr/bin/xdg-open
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
# Define the title of the windows spawned by dunst (X11 only)
title = Dunst
# Define the class of the windows spawned by dunst (X11 only)
class = Dunst
# Define the corner radius of the notification window
# in pixel size. If the radius is 0, you have no rounded
# corners.
# The radius will be automatically lowered if it exceeds half of the
# notification height to avoid clipping text and/or icons.
corner_radius = 0
# Define which corners to round when drawing the window. If the corner radius
# is set to 0 this option will be ignored.
#
# Comma-separated list of the corners. The accepted corner values are bottom-right,
# bottom-left, top-right, top-left, top, bottom, left, right or all.
corners = all
# Ignore the dbus closeNotification message.
# Useful to enforce the timeout set by dunst configuration. Without this
# parameter, an application may close the notification sent before the
# user defined timeout.
ignore_dbusclose = false
### Wayland ###
# These settings are Wayland-specific. They have no effect when using X11
# Uncomment this if you want to let notifications appear under fullscreen
# applications (default: overlay)
# layer = top
# Set this to true to use X11 output on Wayland.
force_xwayland = false
### Legacy
# Use the Xinerama extension instead of RandR for multi-monitor support.
# This setting is provided for compatibility with older nVidia drivers that
# do not support RandR and using it on systems that support RandR is highly
# discouraged.
#
# By enabling this setting dunst will not be able to detect when a monitor
# is connected or disconnected which might break follow mode if the screen
# layout changes.
force_xinerama = false
### mouse
# Defines list of actions for each mouse event
# Possible values are:
# * none: Don't do anything.
# * do_action: Invoke the action determined by the action_name rule. If there is no
# such action, open the context menu.
# * open_url: If the notification has exactly one url, open it. If there are multiple
# ones, open the context menu.
# * close_current: Close current notification.
# * close_all: Close all notifications.
# * context: Open context menu for the notification.
# * context_all: Open context menu for all notifications.
# These values can be strung together for each mouse event, and
# will be executed in sequence.
mouse_left_click = close_current
mouse_middle_click = do_action, close_current
mouse_right_click = close_all
# Experimental features that may or may not work correctly. Do not expect them
# to have a consistent behaviour across releases.
[experimental]
# Calculate the dpi to use on a per-monitor basis.
# If this setting is enabled the Xft.dpi value will be ignored and instead
# dunst will attempt to calculate an appropriate dpi value for each monitor
# using the resolution and physical size. This might be useful in setups
# where there are multiple screens with very different dpi values.
per_monitor_dpi = false
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#222222"
foreground = "#888888"
timeout = 10
# Icon for notifications with low urgency, uncomment to enable
#default_icon = /path/to/icon
[urgency_normal]
background = "#285577"
foreground = "#ffffff"
timeout = 10
override_pause_level = 30
# Icon for notifications with normal urgency, uncomment to enable
#default_icon = /path/to/icon
[urgency_critical]
background = "#900000"
foreground = "#ffffff"
frame_color = "#ff0000"
timeout = 0
override_pause_level = 60
# Icon for notifications with critical urgency, uncomment to enable
#default_icon = /path/to/icon
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.
#
# Messages can be matched by
# appname (discouraged, see desktop_entry)
# body
# category
# desktop_entry
# icon
# match_transient
# msg_urgency
# stack_tag
# summary
#
# and you can override the
# background
# foreground
# format
# frame_color
# fullscreen
# new_icon
# set_stack_tag
# set_transient
# set_category
# timeout
# urgency
# icon_position
# skip_display
# history_ignore
# action_name
# word_wrap
# ellipsize
# alignment
# hide_text
# override_pause_level
#
# Shell-like globbing will get expanded.
#
# Instead of the appname filter, it's recommended to use the desktop_entry filter.
# GLib based applications export their desktop-entry name. In comparison to the appname,
# the desktop-entry won't get localized.
#
# You can also allow a notification to appear even when paused. Notification will appear whenever notification's override_pause_level >= dunst's paused level.
# This can be used to set partial pause modes, where more urgent notifications get through, but less urgent stay paused. To do that, you can override the following in the rules:
# override_pause_level = X
# SCRIPTING
# You can specify a script that gets run when the rule matches by
# setting the "script" option.
# The script will be called as follows:
# script appname summary body icon urgency
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
#
# NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules.
# Disable the transient hint so that idle_threshold cannot be bypassed from the
# client
#[transient_disable]
# match_transient = yes
# set_transient = no
#
# Make the handling of transient notifications more strict by making them not
# be placed in history.
#[transient_history_ignore]
# match_transient = yes
# history_ignore = yes
# fullscreen values
# show: show the notifications, regardless if there is a fullscreen window opened
# delay: displays the new notification, if there is no fullscreen window active
# If the notification is already drawn, it won't get undrawn.
# pushback: same as delay, but when switching into fullscreen, the notification will get
# withdrawn from screen again and will get delayed like a new notification
#[fullscreen_delay_everything]
# fullscreen = delay
#[fullscreen_show_critical]
# msg_urgency = critical
# fullscreen = show
#[espeak]
# summary = "*"
# script = dunst_espeak.sh
#[script-test]
# summary = "*script*"
# script = dunst_test.sh
#[ignore]
# # This notification will not be displayed
# summary = "foobar"
# skip_display = true
#[history-ignore]
# # This notification will not be saved in history
# summary = "foobar"
# history_ignore = yes
#[skip-display]
# # This notification will not be displayed, but will be included in the history
# summary = "foobar"
# skip_display = yes
#[signed_on]
# appname = Pidgin
# summary = "*signed on*"
# urgency = low
#
#[signed_off]
# appname = Pidgin
# summary = *signed off*
# urgency = low
#
#[says]
# appname = Pidgin
# summary = *says*
# urgency = critical
#
#[twitter]
# appname = Pidgin
# summary = *twitter.com*
# urgency = normal
#
#[stack-volumes]
# appname = "some_volume_notifiers"
# set_stack_tag = "volume"
#
# vim: ft=cfg
[global]
frame_color = "#8caaee"
separator_color= frame
[urgency_low]
background = "#303446"
foreground = "#c6d0f5"
[urgency_normal]
background = "#303446"
foreground = "#c6d0f5"
[urgency_critical]
background = "#303446"
foreground = "#c6d0f5"
frame_color = "#ef9f76"

View File

@@ -1,18 +0,0 @@
configuration{
modi: "run,drun,window";
icon-theme: "Oranchelo";
show-icons: true;
terminal: "alacritty";
drun-display-format: "{icon} {name}";
location: 0;
disable-history: false;
hide-scrollbar: true;
display-drun: "  Apps ";
display-run: "  Run ";
display-window: " 󰕰 Window";
display-Network: " 󰤨 Network";
sidebar-mode: true;
}
@theme "catppuccin-frappe"

View File

@@ -1,248 +0,0 @@
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
include ~/.config/sway/themes/catppuccin-frappe
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
# Home row direction keys, like vim
set $left h
set $down j
set $up k
set $right l
# Your preferred terminal emulator
set $term kitty
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
set $menu rofi -show drun
# Set my preferred browser
set $browser flatpak run org.mozilla.firefox
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
output * bg ~/.config/background fill
#
# Example configuration:
#
# output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
### Idle configuration
#
# Example configuration:
#
# exec swayidle -w \
# timeout 300 'swaylock -f -c 000000' \
# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
# before-sleep 'swaylock -f -c 000000'
#
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.
### Input configuration
#
# Example configuration:
#
# input "2:14:SynPS/2_Synaptics_TouchPad" {
# dwt enabled
# tap enabled
# natural_scroll enabled
# middle_emulation enabled
# }
#
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
# Window configurations
gaps outer 10
gaps inner 10
### Key bindings
#
# Basics:
#
# Start a terminal
bindsym $mod+Return exec $term
# Kill focused window
bindsym $mod+Shift+q kill
# Start your launcher
bindsym $mod+space exec $menu
bindsym $mod+b exec $browser
#bindsym $mod+R exec rofi -show run
bindsym $mod+Tab exec rofi -show window
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows.
# Change normal to inverse to use left mouse button for resizing and right
# mouse button for dragging.
floating_modifier $mod normal
# Reload the configuration file
bindsym $mod+Shift+c reload
# Exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
#
# Moving around:
#
# Move your focus around
bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
# Or use $mod+[up|down|left|right]
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# Move the focused window with the same, but add Shift
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
# Ditto, with arrow keys
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
#
# Workspaces:
#
# Switch to workspace
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
bindsym $mod+3 workspace number 3
bindsym $mod+4 workspace number 4
bindsym $mod+5 workspace number 5
bindsym $mod+6 workspace number 6
bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10
# Move focused container to workspace
bindsym $mod+Shift+1 move container to workspace number 1
bindsym $mod+Shift+2 move container to workspace number 2
bindsym $mod+Shift+3 move container to workspace number 3
bindsym $mod+Shift+4 move container to workspace number 4
bindsym $mod+Shift+5 move container to workspace number 5
bindsym $mod+Shift+6 move container to workspace number 6
bindsym $mod+Shift+7 move container to workspace number 7
bindsym $mod+Shift+8 move container to workspace number 8
bindsym $mod+Shift+9 move container to workspace number 9
bindsym $mod+Shift+0 move container to workspace number 10
# Note: workspaces can have any name you want, not just numbers.
# We just use 1-10 as the default.
#
# Layout stuff:
#
# You can "split" the current object of your focus with
# $mod+b or $mod+v, for horizontal and vertical splits
# respectively.
bindsym $mod+o splith
bindsym $mod+v splitv
# Switch the current container between different layout styles
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# Make the current focus fullscreen
bindsym $mod+f fullscreen
# Toggle the current focus between tiling and floating mode
bindsym $mod+Shift+space floating toggle
# Swap focus between the tiling area and the floating area
bindsym $mod+Alt+space focus mode_toggle
# Move focus to the parent container
bindsym $mod+a focus parent
#
# Scratchpad:
#
# Sway has a "scratchpad", which is a bag of holding for windows.
# You can send windows there and get them back later.
# Move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
bindsym $mod+minus scratchpad show
#
# Resizing containers:
#
mode "resize" {
# left will shrink the containers width
# right will grow the containers width
# up will shrink the containers height
# down will grow the containers height
bindsym $left resize shrink width 10px
bindsym $down resize grow height 10px
bindsym $up resize shrink height 10px
bindsym $right resize grow width 10px
# Ditto, with arrow keys
bindsym Left resize shrink width 10px
bindsym Down resize grow height 10px
bindsym Up resize shrink height 10px
bindsym Right resize grow width 10px
# Return to default mode
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
#
# Status Bar:
#
# Read `man 5 sway-bar` for more information about this section.
bar {
position top
swaybar_command waybar
# When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time.
status_command while date +'%Y-%m-%d %X'; do sleep 1; done
colors {
background $base
statusline $text
focused_statusline $text
focused_separator $base
focused_workspace $base $base $green
active_workspace $base $base $blue
inactive_workspace $base $base $surface1
urgent_workspace $base $base $surface1
binding_mode $base $base $surface1
}
}
# target title bg text indicator border
client.focused $lavender $base $text $rosewater $lavender
client.focused_inactive $overlay0 $base $text $rosewater $overlay0
client.unfocused $overlay0 $base $text $rosewater $overlay0
client.urgent $peach $base $peach $overlay0 $peach
client.placeholder $overlay0 $base $text $overlay0 $overlay0
client.background $base
include /etc/sway/config.d/*

View File

@@ -1,26 +0,0 @@
set $rosewater #f2d5cf
set $flamingo #eebebe
set $pink #f4b8e4
set $mauve #ca9ee6
set $red #e78284
set $maroon #ea999c
set $peach #ef9f76
set $yellow #e5c890
set $green #a6d189
set $teal #81c8be
set $sky #99d1db
set $sapphire #85c1dc
set $blue #8caaee
set $lavender #babbf1
set $text #c6d0f5
set $subtext1 #b5bfe2
set $subtext0 #a5adce
set $overlay2 #949cbb
set $overlay1 #838ba7
set $overlay0 #737994
set $surface2 #626880
set $surface1 #51576d
set $surface0 #414559
set $base #303446
set $mantle #292c3c
set $crust #232634

View File

@@ -1,26 +0,0 @@
set $rosewater #dc8a78
set $flamingo #dd7878
set $pink #ea76cb
set $mauve #8839ef
set $red #d20f39
set $maroon #e64553
set $peach #fe640b
set $yellow #df8e1d
set $green #40a02b
set $teal #179299
set $sky #04a5e5
set $sapphire #209fb5
set $blue #1e66f5
set $lavender #7287fd
set $text #4c4f69
set $subtext1 #5c5f77
set $subtext0 #6c6f85
set $overlay2 #7c7f93
set $overlay1 #8c8fa1
set $overlay0 #9ca0b0
set $surface2 #acb0be
set $surface1 #bcc0cc
set $surface0 #ccd0da
set $base #eff1f5
set $mantle #e6e9ef
set $crust #dce0e8

View File

@@ -1,26 +0,0 @@
set $rosewater #f4dbd6
set $flamingo #f0c6c6
set $pink #f5bde6
set $mauve #c6a0f6
set $red #ed8796
set $maroon #ee99a0
set $peach #f5a97f
set $yellow #eed49f
set $green #a6da95
set $teal #8bd5ca
set $sky #91d7e3
set $sapphire #7dc4e4
set $blue #8aadf4
set $lavender #b7bdf8
set $text #cad3f5
set $subtext1 #b8c0e0
set $subtext0 #a5adcb
set $overlay2 #939ab7
set $overlay1 #8087a2
set $overlay0 #6e738d
set $surface2 #5b6078
set $surface1 #494d64
set $surface0 #363a4f
set $base #24273a
set $mantle #1e2030
set $crust #181926

View File

@@ -1,26 +0,0 @@
set $rosewater #f5e0dc
set $flamingo #f2cdcd
set $pink #f5c2e7
set $mauve #cba6f7
set $red #f38ba8
set $maroon #eba0ac
set $peach #fab387
set $yellow #f9e2af
set $green #a6e3a1
set $teal #94e2d5
set $sky #89dceb
set $sapphire #74c7ec
set $blue #89b4fa
set $lavender #b4befe
set $text #cdd6f4
set $subtext1 #bac2de
set $subtext0 #a6adc8
set $overlay2 #9399b2
set $overlay1 #7f849c
set $overlay0 #6c7086
set $surface2 #585b70
set $surface1 #45475a
set $surface0 #313244
set $base #1e1e2e
set $mantle #181825
set $crust #11111b

View File

@@ -1,766 +0,0 @@
# A TOML linter such as https://taplo.tamasfe.dev/ can use this schema to validate your config.
# If you encounter any issues, please make an issue at https://github.com/yazi-rs/schemas.
"$schema" = "https://yazi-rs.github.io/schemas/keymap.json"
[manager]
keymap = [
{ on = [
"<Esc>",
], run = "escape", desc = "Exit visual mode, clear selected, or cancel search" },
{ on = [
"<C-[>",
], run = "escape", desc = "Exit visual mode, clear selected, or cancel search" },
{ on = [
"q",
], run = "quit", desc = "Exit the process" },
{ on = [
"Q",
], run = "quit --no-cwd-file", desc = "Exit the process without writing cwd-file" },
{ on = [
"<C-q>",
], run = "close", desc = "Close the current tab, or quit if it is last tab" },
{ on = [
"<C-z>",
], run = "suspend", desc = "Suspend the process" },
# Navigation
{ on = [
"k",
], run = "arrow -1", desc = "Move cursor up" },
{ on = [
"j",
], run = "arrow 1", desc = "Move cursor down" },
{ on = [
"K",
], run = "arrow -5", desc = "Move cursor up 5 lines" },
{ on = [
"J",
], run = "arrow 5", desc = "Move cursor down 5 lines" },
{ on = [
"<S-Up>",
], run = "arrow -5", desc = "Move cursor up 5 lines" },
{ on = [
"<S-Down>",
], run = "arrow 5", desc = "Move cursor down 5 lines" },
{ on = [
"<C-u>",
], run = "arrow -50%", desc = "Move cursor up half page" },
{ on = [
"<C-d>",
], run = "arrow 50%", desc = "Move cursor down half page" },
{ on = [
"<C-b>",
], run = "arrow -100%", desc = "Move cursor up one page" },
{ on = [
"<C-f>",
], run = "arrow 100%", desc = "Move cursor down one page" },
{ on = [
"<C-PageUp>",
], run = "arrow -50%", desc = "Move cursor up half page" },
{ on = [
"<C-PageDown>",
], run = "arrow 50%", desc = "Move cursor down half page" },
{ on = [
"<PageUp>",
], run = "arrow -100%", desc = "Move cursor up one page" },
{ on = [
"<PageDown>",
], run = "arrow 100%", desc = "Move cursor down one page" },
{ on = [
"h",
], run = "leave", desc = "Go back to the parent directory" },
{ on = [
"l",
], run = "enter", desc = "Enter the child directory" },
{ on = [
"H",
], run = "back", desc = "Go back to the previous directory" },
{ on = [
"L",
], run = "forward", desc = "Go forward to the next directory" },
{ on = [
"<A-k>",
], run = "seek -5", desc = "Seek up 5 units in the preview" },
{ on = [
"<A-j>",
], run = "seek 5", desc = "Seek down 5 units in the preview" },
{ on = [
"<A-PageUp>",
], run = "seek -5", desc = "Seek up 5 units in the preview" },
{ on = [
"<A-PageDown>",
], run = "seek 5", desc = "Seek down 5 units in the preview" },
{ on = [
"<Up>",
], run = "arrow -1", desc = "Move cursor up" },
{ on = [
"<Down>",
], run = "arrow 1", desc = "Move cursor down" },
{ on = [
"<Left>",
], run = "leave", desc = "Go back to the parent directory" },
{ on = [
"<Right>",
], run = "enter", desc = "Enter the child directory" },
{ on = [
"g",
"g",
], run = "arrow -99999999", desc = "Move cursor to the top" },
{ on = [
"G",
], run = "arrow 99999999", desc = "Move cursor to the bottom" },
# Selection
{ on = [
"<Space>",
], run = [
"select --state=none",
"arrow 1",
], desc = "Toggle the current selection state" },
{ on = [
"v",
], run = "visual_mode", desc = "Enter visual mode (selection mode)" },
{ on = [
"V",
], run = "visual_mode --unset", desc = "Enter visual mode (unset mode)" },
{ on = [
"<C-a>",
], run = "select_all --state=true", desc = "Select all files" },
{ on = [
"<C-r>",
], run = "select_all --state=none", desc = "Inverse selection of all files" },
# Operation
{ on = [
"o",
], run = "open", desc = "Open the selected files" },
{ on = [
"O",
], run = "open --interactive", desc = "Open the selected files interactively" },
{ on = [
"<Enter>",
], run = "open", desc = "Open the selected files" },
{ on = [
"<C-Enter>",
], run = "open --interactive", desc = "Open the selected files interactively" },
{ on = [
"y",
], run = "yank", desc = "Copy the selected files" },
{ on = [
"Y",
], run = "unyank", desc = "Cancel the yank status of files" },
{ on = [
"x",
], run = "yank --cut", desc = "Cut the selected files" },
{ on = [
"X",
], run = "unyank", desc = "Cancel the yank status of files" },
{ on = [
"p",
], run = "paste", desc = "Paste the files" },
{ on = [
"P",
], run = "paste --force", desc = "Paste the files (overwrite if the destination exists)" },
{ on = [
"-",
], run = "link", desc = "Symlink the absolute path of files" },
{ on = [
"_",
], run = "link --relative", desc = "Symlink the relative path of files" },
{ on = [
"d",
], run = "remove", desc = "Move the files to the trash" },
{ on = [
"D",
], run = "remove --permanently", desc = "Permanently delete the files" },
{ on = [
"a",
], run = "create", desc = "Create a file or directory (ends with / for directories)" },
{ on = [
"r",
], run = "rename --cursor=before_ext", desc = "Rename a file or directory" },
{ on = [
";",
], run = "shell", desc = "Run a shell command" },
{ on = [
":",
], run = "shell --block", desc = "Run a shell command (block the UI until the command finishes)" },
{ on = [
".",
], run = "hidden toggle", desc = "Toggle the visibility of hidden files" },
{ on = [
"s",
], run = "search fd", desc = "Search files by name using fd" },
{ on = [
"S",
], run = "search rg", desc = "Search files by content using ripgrep" },
{ on = [
"<C-s>",
], run = "search none", desc = "Cancel the ongoing search" },
{ on = [
"z",
], run = "plugin zoxide", desc = "Jump to a directory using zoxide" },
{ on = [
"Z",
], run = "plugin fzf", desc = "Jump to a directory, or reveal a file using fzf" },
# Linemode
{ on = [
"m",
"s",
], run = "linemode size", desc = "Set linemode to size" },
{ on = [
"m",
"p",
], run = "linemode permissions", desc = "Set linemode to permissions" },
{ on = [
"m",
"m",
], run = "linemode mtime", desc = "Set linemode to mtime" },
{ on = [
"m",
"n",
], run = "linemode none", desc = "Set linemode to none" },
# Copy
{ on = [
"c",
"c",
], run = "copy path", desc = "Copy the absolute path" },
{ on = [
"c",
"d",
], run = "copy dirname", desc = "Copy the path of the parent directory" },
{ on = [
"c",
"f",
], run = "copy filename", desc = "Copy the name of the file" },
{ on = [
"c",
"n",
], run = "copy name_without_ext", desc = "Copy the name of the file without the extension" },
# Filter
{ on = [
"f",
], run = "filter --smart", desc = "Filter the files" },
# Find
{ on = [
"/",
], run = "find --smart", desc = "Find next file" },
{ on = [
"?",
], run = "find --previous --smart", desc = "Find previous file" },
{ on = [
"n",
], run = "find_arrow", desc = "Go to next found file" },
{ on = [
"N",
], run = "find_arrow --previous", desc = "Go to previous found file" },
# Sorting
{ on = [
",",
"m",
], run = "sort modified --dir-first", desc = "Sort by modified time" },
{ on = [
",",
"M",
], run = "sort modified --reverse --dir-first", desc = "Sort by modified time (reverse)" },
{ on = [
",",
"c",
], run = "sort created --dir-first", desc = "Sort by created time" },
{ on = [
",",
"C",
], run = "sort created --reverse --dir-first", desc = "Sort by created time (reverse)" },
{ on = [
",",
"e",
], run = "sort extension --dir-first", desc = "Sort by extension" },
{ on = [
",",
"E",
], run = "sort extension --reverse --dir-first", desc = "Sort by extension (reverse)" },
{ on = [
",",
"a",
], run = "sort alphabetical --dir-first", desc = "Sort alphabetically" },
{ on = [
",",
"A",
], run = "sort alphabetical --reverse --dir-first", desc = "Sort alphabetically (reverse)" },
{ on = [
",",
"n",
], run = "sort natural --dir-first", desc = "Sort naturally" },
{ on = [
",",
"N",
], run = "sort natural --reverse --dir-first", desc = "Sort naturally (reverse)" },
{ on = [
",",
"s",
], run = "sort size --dir-first", desc = "Sort by size" },
{ on = [
",",
"S",
], run = "sort size --reverse --dir-first", desc = "Sort by size (reverse)" },
# Tabs
{ on = [
"t",
], run = "tab_create --current", desc = "Create a new tab using the current path" },
{ on = [
"1",
], run = "tab_switch 0", desc = "Switch to the first tab" },
{ on = [
"2",
], run = "tab_switch 1", desc = "Switch to the second tab" },
{ on = [
"3",
], run = "tab_switch 2", desc = "Switch to the third tab" },
{ on = [
"4",
], run = "tab_switch 3", desc = "Switch to the fourth tab" },
{ on = [
"5",
], run = "tab_switch 4", desc = "Switch to the fifth tab" },
{ on = [
"6",
], run = "tab_switch 5", desc = "Switch to the sixth tab" },
{ on = [
"7",
], run = "tab_switch 6", desc = "Switch to the seventh tab" },
{ on = [
"8",
], run = "tab_switch 7", desc = "Switch to the eighth tab" },
{ on = [
"9",
], run = "tab_switch 8", desc = "Switch to the ninth tab" },
{ on = [
"[",
], run = "tab_switch -1 --relative", desc = "Switch to the previous tab" },
{ on = [
"]",
], run = "tab_switch 1 --relative", desc = "Switch to the next tab" },
{ on = [
"{",
], run = "tab_swap -1", desc = "Swap the current tab with the previous tab" },
{ on = [
"}",
], run = "tab_swap 1", desc = "Swap the current tab with the next tab" },
# Tasks
{ on = [
"w",
], run = "tasks_show", desc = "Show the tasks manager" },
# Goto
{ on = [
"g",
"h",
], run = "cd ~", desc = "Go to the home directory" },
{ on = [
"g",
"c",
], run = "cd ~/.config", desc = "Go to the config directory" },
{ on = [
"g",
"d",
], run = "cd ~/Downloads", desc = "Go to the downloads directory" },
{ on = [
"g",
"t",
], run = "cd /tmp", desc = "Go to the temporary directory" },
{ on = [
"g",
"<Space>",
], run = "cd --interactive", desc = "Go to a directory interactively" },
# Help
{ on = [
"~",
], run = "help", desc = "Open help" },
]
prepend_keymap = []
[tasks]
keymap = [
{ on = [
"<Esc>",
], run = "close", desc = "Hide the task manager" },
{ on = [
"<C-[>",
], run = "close", desc = "Hide the task manager" },
{ on = [
"<C-q>",
], run = "close", desc = "Hide the task manager" },
{ on = [
"w",
], run = "close", desc = "Hide the task manager" },
{ on = [
"k",
], run = "arrow -1", desc = "Move cursor up" },
{ on = [
"j",
], run = "arrow 1", desc = "Move cursor down" },
{ on = [
"<Up>",
], run = "arrow -1", desc = "Move cursor up" },
{ on = [
"<Down>",
], run = "arrow 1", desc = "Move cursor down" },
{ on = [
"<Enter>",
], run = "inspect", desc = "Inspect the task" },
{ on = [
"x",
], run = "cancel", desc = "Cancel the task" },
{ on = [
"~",
], run = "help", desc = "Open help" },
]
[select]
keymap = [
{ on = [
"<Esc>",
], run = "close", desc = "Cancel selection" },
{ on = [
"<C-[>",
], run = "close", desc = "Cancel selection" },
{ on = [
"<C-q>",
], run = "close", desc = "Cancel selection" },
{ on = [
"<Enter>",
], run = "close --submit", desc = "Submit the selection" },
{ on = [
"k",
], run = "arrow -1", desc = "Move cursor up" },
{ on = [
"j",
], run = "arrow 1", desc = "Move cursor down" },
{ on = [
"K",
], run = "arrow -5", desc = "Move cursor up 5 lines" },
{ on = [
"J",
], run = "arrow 5", desc = "Move cursor down 5 lines" },
{ on = [
"<Up>",
], run = "arrow -1", desc = "Move cursor up" },
{ on = [
"<Down>",
], run = "arrow 1", desc = "Move cursor down" },
{ on = [
"<S-Up>",
], run = "arrow -5", desc = "Move cursor up 5 lines" },
{ on = [
"<S-Down>",
], run = "arrow 5", desc = "Move cursor down 5 lines" },
{ on = [
"~",
], run = "help", desc = "Open help" },
]
[input]
keymap = [
{ on = [
"<C-q>",
], run = "close", desc = "Cancel input" },
{ on = [
"<Enter>",
], run = "close --submit", desc = "Submit the input" },
{ on = [
"<Esc>",
], run = "escape", desc = "Go back the normal mode, or cancel input" },
{ on = [
"<C-[>",
], run = "escape", desc = "Go back the normal mode, or cancel input" },
# Mode
{ on = [
"i",
], run = "insert", desc = "Enter insert mode" },
{ on = [
"a",
], run = "insert --append", desc = "Enter append mode" },
{ on = [
"I",
], run = [
"move -999",
"insert",
], desc = "Move to the BOL, and enter insert mode" },
{ on = [
"A",
], run = [
"move 999",
"insert --append",
], desc = "Move to the EOL, and enter append mode" },
{ on = [
"v",
], run = "visual", desc = "Enter visual mode" },
{ on = [
"V",
], run = [
"move -999",
"visual",
"move 999",
], desc = "Enter visual mode and select all" },
# Character-wise movement
{ on = [
"h",
], run = "move -1", desc = "Move back a character" },
{ on = [
"l",
], run = "move 1", desc = "Move forward a character" },
{ on = [
"<Left>",
], run = "move -1", desc = "Move back a character" },
{ on = [
"<Right>",
], run = "move 1", desc = "Move forward a character" },
{ on = [
"<C-b>",
], run = "move -1", desc = "Move back a character" },
{ on = [
"<C-f>",
], run = "move 1", desc = "Move forward a character" },
# Word-wise movement
{ on = [
"b",
], run = "backward", desc = "Move back to the start of the current or previous word" },
{ on = [
"w",
], run = "forward", desc = "Move forward to the start of the next word" },
{ on = [
"e",
], run = "forward --end-of-word", desc = "Move forward to the end of the current or next word" },
{ on = [
"<A-b>",
], run = "backward", desc = "Move back to the start of the current or previous word" },
{ on = [
"<A-f>",
], run = "forward --end-of-word", desc = "Move forward to the end of the current or next word" },
# Line-wise movement
{ on = [
"0",
], run = "move -999", desc = "Move to the BOL" },
{ on = [
"$",
], run = "move 999", desc = "Move to the EOL" },
{ on = [
"<C-a>",
], run = "move -999", desc = "Move to the BOL" },
{ on = [
"<C-e>",
], run = "move 999", desc = "Move to the EOL" },
{ on = [
"<Home>",
], run = "move -999", desc = "Move to the BOL" },
{ on = [
"<End>",
], run = "move 999", desc = "Move to the EOL" },
# Delete
{ on = [
"<Backspace>",
], run = "backspace", desc = "Delete the character before the cursor" },
{ on = [
"<Delete>",
], run = "backspace --under", desc = "Delete the character under the cursor" },
{ on = [
"<C-h>",
], run = "backspace", desc = "Delete the character before the cursor" },
{ on = [
"<C-d>",
], run = "backspace --under", desc = "Delete the character under the cursor" },
# Kill
{ on = [
"<C-u>",
], run = "kill bol", desc = "Kill backwards to the BOL" },
{ on = [
"<C-k>",
], run = "kill eol", desc = "Kill forwards to the EOL" },
{ on = [
"<C-w>",
], run = "kill backward", desc = "Kill backwards to the start of the current word" },
{ on = [
"<A-d>",
], run = "kill forward", desc = "Kill forwards to the end of the current word" },
# Cut/Yank/Paste
{ on = [
"d",
], run = "delete --cut", desc = "Cut the selected characters" },
{ on = [
"D",
], run = [
"delete --cut",
"move 999",
], desc = "Cut until the EOL" },
{ on = [
"c",
], run = "delete --cut --insert", desc = "Cut the selected characters, and enter insert mode" },
{ on = [
"C",
], run = [
"delete --cut --insert",
"move 999",
], desc = "Cut until the EOL, and enter insert mode" },
{ on = [
"x",
], run = [
"delete --cut",
"move 1 --in-operating",
], desc = "Cut the current character" },
{ on = [
"y",
], run = "yank", desc = "Copy the selected characters" },
{ on = [
"p",
], run = "paste", desc = "Paste the copied characters after the cursor" },
{ on = [
"P",
], run = "paste --before", desc = "Paste the copied characters before the cursor" },
# Undo/Redo
{ on = [
"u",
], run = "undo", desc = "Undo the last operation" },
{ on = [
"<C-r>",
], run = "redo", desc = "Redo the last operation" },
# Help
{ on = [
"~",
], run = "help", desc = "Open help" },
]
[completion]
keymap = [
{ on = [
"<C-q>",
], run = "close", desc = "Cancel completion" },
{ on = [
"<Tab>",
], run = "close --submit", desc = "Submit the completion" },
{ on = [
"<Enter>",
], run = [
"close --submit",
"close_input --submit",
], desc = "Submit the completion and input" },
{ on = [
"<A-k>",
], run = "arrow -1", desc = "Move cursor up" },
{ on = [
"<A-j>",
], run = "arrow 1", desc = "Move cursor down" },
{ on = [
"<Up>",
], run = "arrow -1", desc = "Move cursor up" },
{ on = [
"<Down>",
], run = "arrow 1", desc = "Move cursor down" },
{ on = [
"<C-p>",
], run = "arrow -1", desc = "Move cursor up" },
{ on = [
"<C-n>",
], run = "arrow 1", desc = "Move cursor down" },
{ on = [
"~",
], run = "help", desc = "Open help" },
]
[help]
keymap = [
{ on = [
"<Esc>",
], run = "escape", desc = "Clear the filter, or hide the help" },
{ on = [
"<C-[>",
], run = "escape", desc = "Clear the filter, or hide the help" },
{ on = [
"q",
], run = "close", desc = "Exit the process" },
{ on = [
"<C-q>",
], run = "close", desc = "Hide the help" },
# Navigation
{ on = [
"k",
], run = "arrow -1", desc = "Move cursor up" },
{ on = [
"j",
], run = "arrow 1", desc = "Move cursor down" },
{ on = [
"K",
], run = "arrow -5", desc = "Move cursor up 5 lines" },
{ on = [
"J",
], run = "arrow 5", desc = "Move cursor down 5 lines" },
{ on = [
"<Up>",
], run = "arrow -1", desc = "Move cursor up" },
{ on = [
"<Down>",
], run = "arrow 1", desc = "Move cursor down" },
{ on = [
"<S-Up>",
], run = "arrow -5", desc = "Move cursor up 5 lines" },
{ on = [
"<S-Down>",
], run = "arrow 5", desc = "Move cursor down 5 lines" },
# Filtering
{ on = [
"/",
], run = "filter", desc = "Apply a filter for the help items" },
]

View File

@@ -1,21 +0,0 @@
MIT License
Copyright (c) 2024 Sonico98
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -1,32 +0,0 @@
# exifaudio.yazi
Preview audio metadata and cover on [Yazi](https://github.com/sxyazi/yazi).
![image](https://github.com/Sonico98/exifaudio.yazi/assets/61394886/53c1492c-9f05-4c80-a4e7-94fb36f35ca9)
## Installation
```sh
# Linux/macOS
git clone https://github.com/Sonico98/exifaudio.yazi.git ~/.config/yazi/plugins/exifaudio.yazi
# Windows
git clone https://github.com/Sonico98/exifaudio.yazi.git %AppData%\yazi\config\plugins\exifaudio.yazi
```
## Usage
Add the following to your `yazi.toml`:
```toml
[plugin]
prepend_previewers = [
{ mime = "audio/*", run = "exifaudio"}
]
```
Make sure you have [exiftool](https://exiftool.org/) installed and in your `PATH`.
## Thanks
Thanks to [sxyazi](https://github.com/sxyazi) for the PDF previewer code, on which this previewer is based on.

View File

@@ -1,139 +0,0 @@
local M = {}
function M:peek()
local cache = ya.file_cache(self)
if not cache then
return
end
local child = Command("exiftool")
:args({
"-q", "-q", "-S", "-Title", "-SortName",
"-TitleSort", "-TitleSortOrder", "-Artist",
"-SortArtist", "-ArtistSort", "-PerformerSortOrder",
"-Album", "-SortAlbum", "-AlbumSort", "-AlbumSortOrder",
"-AlbumArtist", "-SortAlbumArtist", "-AlbumArtistSort",
"-AlbumArtistSortOrder", "-Genre", "-TrackNumber",
"-Year", "-Duration", "-SampleRate",
"-AudioSampleRate", "-AudioBitrate", "-AvgBitrate",
"-Channels", "-AudioChannels", tostring(self.file.url),
})
:stdout(Command.PIPED)
:stderr(Command.NULL)
:spawn()
local limit = self.area.h
local i, metadata = 0, {}
repeat
local next, event = child:read_line()
if event == 1 then
return self:fallback_to_builtin()
elseif event ~= 0 then
break
end
i = i + 1
if i > self.skip then
local m_title, m_tag = prettify(next)
local ti = ui.Span(m_title):bold()
local ta = ui.Span(m_tag)
table.insert(metadata, ui.Line{ti, ta})
table.insert(metadata, ui.Line{})
end
until i >= self.skip + limit
local p = ui.Paragraph(self.area, metadata):wrap(ui.Paragraph.WRAP)
ya.preview_widgets(self, { p })
local cover_width = self.area.w / 2 - 5
local cover_height = (self.area.h / 4) + 3
local bottom_right = ui.Rect {
x = self.area.right - cover_width,
y = self.area.bottom - cover_height,
w = cover_width,
h = cover_height,
}
if self:preload() == 1 then
ya.image_show(cache, bottom_right)
end
end
function prettify(metadata)
local substitutions = {
Sortname = "Sort Title:",
SortName = "Sort Title:",
TitleSort = "Sort Title:",
TitleSortOrder = "Sort Title:",
ArtistSort = "Sort Artist:",
SortArtist = "Sort Artist:",
Artist = "Artist:",
ARTIST = "Artist:",
PerformerSortOrder = "Sort Artist:",
SortAlbumArtist = "Sort Album Artist:",
AlbumArtistSortOrder = "Sort Album Artist:",
AlbumArtistSort = "Sort Album Artist:",
AlbumSortOrder = "Sort Album:",
AlbumSort = "Sort Album:",
SortAlbum = "Sort Album:",
Album = "Album:",
ALBUM = "Album:",
AlbumArtist = "Album Artist:",
Genre = "Genre:",
GENRE = "Genre:",
TrackNumber = "Track Number:",
Year = "Year:",
Duration = "Duration:",
AudioBitrate = "Bitrate:",
AvgBitrate = "Average Bitrate:",
AudioSampleRate = "Sample Rate:",
SampleRate = "Sample Rate:",
AudioChannels = "Channels:"
}
for k, v in pairs(substitutions) do
metadata = metadata:gsub(tostring(k)..":", v, 1)
end
-- Separate the tag title from the tag data
local t={}
for str in string.gmatch(metadata , "([^"..":".."]+)") do
table.insert(t, str)
end
-- Add back semicolon to title, rejoin tag data if it happened to contain a semicolon
return t[1]..":", table.concat(t, ":", 2)
end
function M:seek(units)
local h = cx.active.current.hovered
if h and h.url == self.file.url then
ya.manager_emit("peek", {
tostring(math.max(0, cx.active.preview.skip + units)),
only_if = tostring(self.file.url),
})
end
end
function M:preload()
local cache = ya.file_cache(self)
if not cache or fs.cha(cache) then
return 1
end
local output = Command("exiftool")
:args({ "-b", "-CoverArt", "-Picture", tostring(self.file.url) })
:stdout(Command.PIPED)
:stderr(Command.PIPED)
:output()
if not output then
return 0
end
return fs.write(cache, output.stdout) and 1 or 2
end
return M

View File

@@ -1,7 +0,0 @@
Copyright © 2024 Reledia <reledia@prontonmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@@ -1,22 +0,0 @@
# hexyl.yazi
Preview any file on [Yazi](https://github.com/sxyazi/yazi) using [hexyl](https://github.com/sharkdp/hexyl). To install, clone the repo inside your `~/.config/yazi/plugins/`:
```bash
git clone https://github.com/Reledia/hexyl.yazi.git
```
then include it in your `yazi.toml` to use:
```toml
[plugin]
append_previewers = [
{ name = "*", run = "hexyl" },
]
```
Make sure you have [hexyl](https://github.com/sharkdp/hexyl) installed, and can be found in `PATH`.
## Preview
![preview.png](https://raw.githubusercontent.com/Reledia/hexyl.yazi/main/image.png)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 807 KiB

View File

@@ -1,67 +0,0 @@
local M = {}
function M:peek()
local child
local l = self.file.cha.length
if l == 0 then
child = Command("hexyl")
:args({
tostring(self.file.url),
})
:stdout(Command.PIPED)
:stderr(Command.PIPED)
:spawn()
else
child = Command("hexyl")
:args({
"--border",
"none",
"--terminal-width",
tostring(self.area.w),
tostring(self.file.url),
})
:stdout(Command.PIPED)
:stderr(Command.PIPED)
:spawn()
end
local limit = self.area.h
local i, lines = 0, ""
repeat
local next, event = child:read_line()
if event == 1 then
ya.err(tostring(event))
elseif event ~= 0 then
break
end
i = i + 1
if i > self.skip then
lines = lines .. next
end
until i >= self.skip + limit
child:start_kill()
if self.skip > 0 and i < self.skip + limit then
ya.manager_emit(
"peek",
{ tostring(math.max(0, i - limit)), only_if = tostring(self.file.url), upper_bound = "" }
)
else
lines = lines:gsub("\t", string.rep(" ", PREVIEW.tab_size))
ya.preview_widgets(self, { ui.Paragraph.parse(self.area, lines) })
end
end
function M:seek(units)
local h = cx.active.current.hovered
if h and h.url == self.file.url then
local step = math.floor(units * self.area.h / 10)
ya.manager_emit("peek", {
tostring(math.max(0, cx.active.preview.skip + step)),
only_if = tostring(self.file.url),
})
end
end
return M

View File

@@ -1,7 +0,0 @@
Copyright © 2024 Reledia <reledia@prontonmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@@ -1,26 +0,0 @@
# miller.yazi
[Miller](https://github.com/johnkerl/miller) now in [yazi](https://github.com/sxyazi/yazi). To install, clone the repo inside `~/.config/yazi/plugins/`:
```toml
[plugin]
prepend_previewers = [
{ mime = "text/csv", run = "miller"},
]
```
## Preview
![preview](https://github.com/Reledia/miller.yazi/blob/main/preview.png?raw=true)
## Color
To change colors of keys and values, edit the `init.lua` file after the `--key-color` and `--value-color` flags. To view a list of possible colors, use `mlr --list-color-names`. Make sure to have miller installed and inside your PATH.
## Other types of file
To adapt this plugin to the other format supported from miller (like json):
- copy the plugin folder
- change the name of the copied folder into miller_(fmt)
- change the `--icsv` flag inside `init.lua` to `--i(fmt)`
- add the correct mime/name rule into `prepend_previewers` and the exec as `miller_(fmt)`

View File

@@ -1,59 +0,0 @@
local M = {}
function M:peek()
local child = Command("mlr")
:args({
"--icsv",
"--opprint",
"-C",
"--key-color",
"darkcyan",
"--value-color",
"grey70",
"cat",
tostring(self.file.url),
})
:stdout(Command.PIPED)
:stderr(Command.PIPED)
:spawn()
local limit = self.area.h
local i, lines = 0, ""
repeat
local next, event = child:read_line()
if event == 1 then
ya.err(tostring(event))
elseif event ~= 0 then
break
end
i = i + 1
if i > self.skip then
lines = lines .. next
end
until i >= self.skip + limit
child:start_kill()
if self.skip > 0 and i < self.skip + limit then
ya.manager_emit(
"peek",
{ tostring(math.max(0, i - limit)), only_if = tostring(self.file.url), upper_bound = "" }
)
else
lines = lines:gsub("\t", string.rep(" ", PREVIEW.tab_size))
ya.preview_widgets(self, { ui.Paragraph.parse(self.area, lines) })
end
end
function M:seek(units)
local h = cx.active.current.hovered
if h and h.url == self.file.url then
local step = math.floor(units * self.area.h / 10)
ya.manager_emit("peek", {
tostring(math.max(0, cx.active.preview.skip + step)),
only_if = tostring(self.file.url),
})
end
end
return M

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

View File

@@ -1,665 +0,0 @@
[mgr]
cwd = { fg = "#81c8be" }
# Hovered
hovered = { fg = "#303446", bg = "#8caaee" }
preview_hovered = { underline = true }
# Find
find_keyword = { fg = "#e5c890", italic = true }
find_position = { fg = "#f4b8e4", bg = "reset", italic = true }
# Marker
marker_copied = { fg = "#a6d189", bg = "#a6d189" }
marker_cut = { fg = "#e78284", bg = "#e78284" }
marker_selected = { fg = "#8caaee", bg = "#8caaee" }
# Tab
tab_active = { fg = "#303446", bg = "#c6d0f5" }
tab_inactive = { fg = "#c6d0f5", bg = "#51576d" }
tab_width = 1
# Count
count_copied = { fg = "#303446", bg = "#a6d189" }
count_cut = { fg = "#303446", bg = "#e78284" }
count_selected = { fg = "#303446", bg = "#8caaee" }
# Border
border_symbol = "│"
border_style = { fg = "#838ba7" }
# Highlighting
syntect_theme = "~/.config/yazi/Catppuccin-frappe.tmTheme"
[status]
separator_open = ""
separator_close = ""
separator_style = { fg = "#51576d", bg = "#51576d" }
# Mode
mode_normal = { fg = "#303446", bg = "#8caaee", bold = true }
mode_select = { fg = "#303446", bg = "#a6d189", bold = true }
mode_unset = { fg = "#303446", bg = "#eebebe", bold = true }
# Progress
progress_label = { fg = "#ffffff", bold = true }
progress_normal = { fg = "#8caaee", bg = "#51576d" }
progress_error = { fg = "#e78284", bg = "#51576d" }
# Permissions
permissions_t = { fg = "#8caaee" }
permissions_r = { fg = "#e5c890" }
permissions_w = { fg = "#e78284" }
permissions_x = { fg = "#a6d189" }
permissions_s = { fg = "#838ba7" }
[input]
border = { fg = "#8caaee" }
title = {}
value = {}
selected = { reversed = true }
[select]
border = { fg = "#8caaee" }
active = { fg = "#f4b8e4" }
inactive = {}
[tasks]
border = { fg = "#8caaee" }
title = {}
hovered = { underline = true }
[which]
mask = { bg = "#414559" }
cand = { fg = "#81c8be" }
rest = { fg = "#949cbb" }
desc = { fg = "#f4b8e4" }
separator = "  "
separator_style = { fg = "#626880" }
[help]
on = { fg = "#f4b8e4" }
exec = { fg = "#81c8be" }
desc = { fg = "#949cbb" }
hovered = { bg = "#626880", bold = true }
footer = { fg = "#51576d", bg = "#c6d0f5" }
[filetype]
rules = [
# Images
{ mime = "image/*", fg = "#81c8be" },
# Videos
{ mime = "video/*", fg = "#e5c890" },
{ mime = "audio/*", fg = "#e5c890" },
# Archives
{ mime = "application/zip", fg = "#f4b8e4" },
{ mime = "application/gzip", fg = "#f4b8e4" },
{ mime = "application/x-tar", fg = "#f4b8e4" },
{ mime = "application/x-bzip", fg = "#f4b8e4" },
{ mime = "application/x-bzip2", fg = "#f4b8e4" },
{ mime = "application/x-7z-compressed", fg = "#f4b8e4" },
{ mime = "application/x-rar", fg = "#f4b8e4" },
# Fallback
{ name = "*", fg = "#c6d0f5" },
{ name = "*/", fg = "#8caaee" }
]
[icon]
prepend_rules = [
{ name = ".SRCINFO", text = "󰣇", fg = "#8caaee" },
{ name = ".Xauthority", text = "", fg = "#ef9f76" },
{ name = ".Xresources", text = "", fg = "#ef9f76" },
{ name = ".babelrc", text = "", fg = "#e5c890" },
{ name = ".bash_profile", text = "", fg = "#a6d189" },
{ name = ".bashrc", text = "", fg = "#a6d189" },
{ name = ".dockerignore", text = "󰡨", fg = "#8caaee" },
{ name = ".ds_store", text = "", fg = "#51576d" },
{ name = ".editorconfig", text = "", fg = "#f2d5cf" },
{ name = ".env", text = "", fg = "#e5c890" },
{ name = ".eslintignore", text = "", fg = "#51576d" },
{ name = ".eslintrc", text = "", fg = "#51576d" },
{ name = ".gitattributes", text = "", fg = "#e78284" },
{ name = ".gitconfig", text = "", fg = "#e78284" },
{ name = ".gitignore", text = "", fg = "#e78284" },
{ name = ".gitlab-ci.yml", text = "", fg = "#e78284" },
{ name = ".gitmodules", text = "", fg = "#e78284" },
{ name = ".gtkrc-2.0", text = "", fg = "#f2d5cf" },
{ name = ".gvimrc", text = "", fg = "#a6d189" },
{ name = ".justfile", text = "", fg = "#737994" },
{ name = ".luaurc", text = "", fg = "#8caaee" },
{ name = ".mailmap", text = "󰊢", fg = "#51576d" },
{ name = ".npmignore", text = "", fg = "#e78284" },
{ name = ".npmrc", text = "", fg = "#e78284" },
{ name = ".nvmrc", text = "", fg = "#a6d189" },
{ name = ".prettierrc", text = "", fg = "#8caaee" },
{ name = ".settings.json", text = "", fg = "#626880" },
{ name = ".vimrc", text = "", fg = "#a6d189" },
{ name = ".xinitrc", text = "", fg = "#ef9f76" },
{ name = ".xsession", text = "", fg = "#ef9f76" },
{ name = ".zprofile", text = "", fg = "#a6d189" },
{ name = ".zshenv", text = "", fg = "#a6d189" },
{ name = ".zshrc", text = "", fg = "#a6d189" },
{ name = "FreeCAD.conf", text = "", fg = "#e78284" },
{ name = "PKGBUILD", text = "", fg = "#8caaee" },
{ name = "PrusaSlicer.ini", text = "", fg = "#ef9f76" },
{ name = "PrusaSlicerGcodeViewer.ini", text = "", fg = "#ef9f76" },
{ name = "QtProject.conf", text = "", fg = "#a6d189" },
{ name = "R", text = "󰟔", fg = "#626880" },
{ name = "_gvimrc", text = "", fg = "#a6d189" },
{ name = "_vimrc", text = "", fg = "#a6d189" },
{ name = "avif", text = "", fg = "#ca9ee6" },
{ name = "brewfile", text = "", fg = "#292c3c" },
{ name = "bspwmrc", text = "", fg = "#232634" },
{ name = "build", text = "", fg = "#a6d189" },
{ name = "build.gradle", text = "", fg = "#51576d" },
{ name = "build.zig.zon", text = "", fg = "#ef9f76" },
{ name = "cantorrc", text = "", fg = "#8caaee" },
{ name = "checkhealth", text = "󰓙", fg = "#8caaee" },
{ name = "cmakelists.txt", text = "", fg = "#737994" },
{ name = "commit_editmsg", text = "", fg = "#e78284" },
{ name = "compose.yaml", text = "󰡨", fg = "#8caaee" },
{ name = "compose.yml", text = "󰡨", fg = "#8caaee" },
{ name = "config", text = "", fg = "#737994" },
{ name = "containerfile", text = "󰡨", fg = "#8caaee" },
{ name = "copying", text = "", fg = "#e5c890" },
{ name = "copying.lesser", text = "", fg = "#e5c890" },
{ name = "docker-compose.yaml", text = "󰡨", fg = "#8caaee" },
{ name = "docker-compose.yml", text = "󰡨", fg = "#8caaee" },
{ name = "dockerfile", text = "󰡨", fg = "#8caaee" },
{ name = "ext_typoscript_setup.txt", text = "", fg = "#ef9f76" },
{ name = "favicon.ico", text = "", fg = "#e5c890" },
{ name = "fp-info-cache", text = "", fg = "#f2d5cf" },
{ name = "fp-lib-table", text = "", fg = "#f2d5cf" },
{ name = "gemfile$", text = "", fg = "#292c3c" },
{ name = "gnumakefile", text = "", fg = "#737994" },
{ name = "gradle-wrapper.properties", text = "", fg = "#51576d" },
{ name = "gradle.properties", text = "", fg = "#51576d" },
{ name = "gradlew", text = "", fg = "#51576d" },
{ name = "groovy", text = "", fg = "#626880" },
{ name = "gruntfile.babel.js", text = "", fg = "#ef9f76" },
{ name = "gruntfile.coffee", text = "", fg = "#ef9f76" },
{ name = "gruntfile.js", text = "", fg = "#ef9f76" },
{ name = "gruntfile.ts", text = "", fg = "#ef9f76" },
{ name = "gtkrc", text = "", fg = "#f2d5cf" },
{ name = "gulpfile.babel.js", text = "", fg = "#e78284" },
{ name = "gulpfile.coffee", text = "", fg = "#e78284" },
{ name = "gulpfile.js", text = "", fg = "#e78284" },
{ name = "gulpfile.ts", text = "", fg = "#e78284" },
{ name = "hyprland.conf", text = "", fg = "#81c8be" },
{ name = "i3blocks.conf", text = "", fg = "#c6d0f5" },
{ name = "i3status.conf", text = "", fg = "#c6d0f5" },
{ name = "justfile", text = "", fg = "#737994" },
{ name = "kalgebrarc", text = "", fg = "#8caaee" },
{ name = "kdeglobals", text = "", fg = "#8caaee" },
{ name = "kdenlive-layoutsrc", text = "", fg = "#8caaee" },
{ name = "kdenliverc", text = "", fg = "#8caaee" },
{ name = "kritadisplayrc", text = "", fg = "#ca9ee6" },
{ name = "kritarc", text = "", fg = "#ca9ee6" },
{ name = "license", text = "", fg = "#e5c890" },
{ name = "lxde-rc.xml", text = "", fg = "#838ba7" },
{ name = "lxqt.conf", text = "", fg = "#8caaee" },
{ name = "makefile", text = "", fg = "#737994" },
{ name = "mix.lock", text = "", fg = "#ca9ee6" },
{ name = "mpv.conf", text = "", fg = "#292c3c" },
{ name = "node_modules", text = "", fg = "#e78284" },
{ name = "package-lock.json", text = "", fg = "#292c3c" },
{ name = "package.json", text = "", fg = "#e78284" },
{ name = "platformio.ini", text = "", fg = "#ef9f76" },
{ name = "pom.xml", text = "", fg = "#292c3c" },
{ name = "procfile", text = "", fg = "#ca9ee6" },
{ name = "py.typed", text = "", fg = "#e5c890" },
{ name = "r", text = "󰟔", fg = "#626880" },
{ name = "rakefile", text = "", fg = "#292c3c" },
{ name = "rmd", text = "", fg = "#85c1dc" },
{ name = "settings.gradle", text = "", fg = "#51576d" },
{ name = "svelte.config.js", text = "", fg = "#ef9f76" },
{ name = "sxhkdrc", text = "", fg = "#232634" },
{ name = "sym-lib-table", text = "", fg = "#f2d5cf" },
{ name = "tailwind.config.js", text = "󱏿", fg = "#85c1dc" },
{ name = "tailwind.config.mjs", text = "󱏿", fg = "#85c1dc" },
{ name = "tailwind.config.ts", text = "󱏿", fg = "#85c1dc" },
{ name = "tmux.conf", text = "", fg = "#a6d189" },
{ name = "tmux.conf.local", text = "", fg = "#a6d189" },
{ name = "tsconfig.json", text = "", fg = "#85c1dc" },
{ name = "unlicense", text = "", fg = "#e5c890" },
{ name = "vagrantfile$", text = "", fg = "#626880" },
{ name = "vlcrc", text = "󰕼", fg = "#ef9f76" },
{ name = "webpack", text = "󰜫", fg = "#85c1dc" },
{ name = "weston.ini", text = "", fg = "#e5c890" },
{ name = "workspace", text = "", fg = "#a6d189" },
{ name = "xmobarrc", text = "", fg = "#e78284" },
{ name = "xmobarrc.hs", text = "", fg = "#e78284" },
{ name = "xmonad.hs", text = "", fg = "#e78284" },
{ name = "xorg.conf", text = "", fg = "#ef9f76" },
{ name = "xsettingsd.conf", text = "", fg = "#ef9f76" },
{ name = "*.3gp", text = "", fg = "#ef9f76" },
{ name = "*.3mf", text = "󰆧", fg = "#838ba7" },
{ name = "*.7z", text = "", fg = "#e5c890" },
{ name = "*.Dockerfile", text = "󰡨", fg = "#8caaee" },
{ name = "*.a", text = "", fg = "#f2d5cf" },
{ name = "*.aac", text = "", fg = "#85c1dc" },
{ name = "*.ai", text = "", fg = "#e5c890" },
{ name = "*.aif", text = "", fg = "#85c1dc" },
{ name = "*.aiff", text = "", fg = "#85c1dc" },
{ name = "*.android", text = "", fg = "#a6d189" },
{ name = "*.ape", text = "", fg = "#85c1dc" },
{ name = "*.apk", text = "", fg = "#a6d189" },
{ name = "*.app", text = "", fg = "#414559" },
{ name = "*.applescript", text = "", fg = "#737994" },
{ name = "*.asc", text = "󰦝", fg = "#626880" },
{ name = "*.ass", text = "󰨖", fg = "#e5c890" },
{ name = "*.astro", text = "", fg = "#e78284" },
{ name = "*.awk", text = "", fg = "#51576d" },
{ name = "*.azcli", text = "", fg = "#737994" },
{ name = "*.bak", text = "󰁯", fg = "#737994" },
{ name = "*.bash", text = "", fg = "#a6d189" },
{ name = "*.bat", text = "", fg = "#a6d189" },
{ name = "*.bazel", text = "", fg = "#a6d189" },
{ name = "*.bib", text = "󱉟", fg = "#e5c890" },
{ name = "*.bicep", text = "", fg = "#85c1dc" },
{ name = "*.bicepparam", text = "", fg = "#ca9ee6" },
{ name = "*.bin", text = "", fg = "#414559" },
{ name = "*.blade.php", text = "", fg = "#e78284" },
{ name = "*.blend", text = "󰂫", fg = "#ef9f76" },
{ name = "*.blp", text = "󰺾", fg = "#8caaee" },
{ name = "*.bmp", text = "", fg = "#ca9ee6" },
{ name = "*.brep", text = "󰻫", fg = "#a6d189" },
{ name = "*.bz", text = "", fg = "#e5c890" },
{ name = "*.bz2", text = "", fg = "#e5c890" },
{ name = "*.bz3", text = "", fg = "#e5c890" },
{ name = "*.bzl", text = "", fg = "#a6d189" },
{ name = "*.c", text = "", fg = "#8caaee" },
{ name = "*.c++", text = "", fg = "#e78284" },
{ name = "*.cache", text = "", fg = "#f2d5cf" },
{ name = "*.cast", text = "", fg = "#ef9f76" },
{ name = "*.cbl", text = "⚙", fg = "#51576d" },
{ name = "*.cc", text = "", fg = "#e78284" },
{ name = "*.ccm", text = "", fg = "#e78284" },
{ name = "*.cfg", text = "", fg = "#737994" },
{ name = "*.cjs", text = "", fg = "#e5c890" },
{ name = "*.clj", text = "", fg = "#a6d189" },
{ name = "*.cljc", text = "", fg = "#a6d189" },
{ name = "*.cljd", text = "", fg = "#85c1dc" },
{ name = "*.cljs", text = "", fg = "#85c1dc" },
{ name = "*.cmake", text = "", fg = "#737994" },
{ name = "*.cob", text = "⚙", fg = "#51576d" },
{ name = "*.cobol", text = "⚙", fg = "#51576d" },
{ name = "*.coffee", text = "", fg = "#e5c890" },
{ name = "*.conf", text = "", fg = "#737994" },
{ name = "*.config.ru", text = "", fg = "#292c3c" },
{ name = "*.cp", text = "", fg = "#85c1dc" },
{ name = "*.cpp", text = "", fg = "#85c1dc" },
{ name = "*.cppm", text = "", fg = "#85c1dc" },
{ name = "*.cpy", text = "⚙", fg = "#51576d" },
{ name = "*.cr", text = "", fg = "#f2d5cf" },
{ name = "*.crdownload", text = "", fg = "#81c8be" },
{ name = "*.cs", text = "󰌛", fg = "#a6d189" },
{ name = "*.csh", text = "", fg = "#51576d" },
{ name = "*.cshtml", text = "󱦗", fg = "#51576d" },
{ name = "*.cson", text = "", fg = "#e5c890" },
{ name = "*.csproj", text = "󰪮", fg = "#51576d" },
{ name = "*.css", text = "", fg = "#8caaee" },
{ name = "*.csv", text = "", fg = "#a6d189" },
{ name = "*.cts", text = "", fg = "#85c1dc" },
{ name = "*.cu", text = "", fg = "#a6d189" },
{ name = "*.cue", text = "󰲹", fg = "#ea999c" },
{ name = "*.cuh", text = "", fg = "#ca9ee6" },
{ name = "*.cxx", text = "", fg = "#85c1dc" },
{ name = "*.cxxm", text = "", fg = "#85c1dc" },
{ name = "*.d", text = "", fg = "#a6d189" },
{ name = "*.d.ts", text = "", fg = "#ef9f76" },
{ name = "*.dart", text = "", fg = "#51576d" },
{ name = "*.db", text = "", fg = "#f2d5cf" },
{ name = "*.dconf", text = "", fg = "#f2d5cf" },
{ name = "*.desktop", text = "", fg = "#414559" },
{ name = "*.diff", text = "", fg = "#51576d" },
{ name = "*.dll", text = "", fg = "#232634" },
{ name = "*.doc", text = "󰈬", fg = "#51576d" },
{ name = "*.docx", text = "󰈬", fg = "#51576d" },
{ name = "*.dot", text = "󱁉", fg = "#51576d" },
{ name = "*.download", text = "", fg = "#81c8be" },
{ name = "*.drl", text = "", fg = "#ea999c" },
{ name = "*.dropbox", text = "", fg = "#626880" },
{ name = "*.dump", text = "", fg = "#f2d5cf" },
{ name = "*.dwg", text = "󰻫", fg = "#a6d189" },
{ name = "*.dxf", text = "󰻫", fg = "#a6d189" },
{ name = "*.ebook", text = "", fg = "#e5c890" },
{ name = "*.edn", text = "", fg = "#85c1dc" },
{ name = "*.eex", text = "", fg = "#ca9ee6" },
{ name = "*.ejs", text = "", fg = "#e5c890" },
{ name = "*.el", text = "", fg = "#737994" },
{ name = "*.elc", text = "", fg = "#737994" },
{ name = "*.elf", text = "", fg = "#414559" },
{ name = "*.elm", text = "", fg = "#85c1dc" },
{ name = "*.eln", text = "", fg = "#737994" },
{ name = "*.env", text = "", fg = "#e5c890" },
{ name = "*.eot", text = "", fg = "#f2d5cf" },
{ name = "*.epp", text = "", fg = "#e5c890" },
{ name = "*.epub", text = "", fg = "#e5c890" },
{ name = "*.erb", text = "", fg = "#292c3c" },
{ name = "*.erl", text = "", fg = "#626880" },
{ name = "*.ex", text = "", fg = "#ca9ee6" },
{ name = "*.exe", text = "", fg = "#414559" },
{ name = "*.exs", text = "", fg = "#ca9ee6" },
{ name = "*.f#", text = "", fg = "#85c1dc" },
{ name = "*.f3d", text = "󰻫", fg = "#a6d189" },
{ name = "*.f90", text = "󱈚", fg = "#51576d" },
{ name = "*.fbx", text = "󰆧", fg = "#838ba7" },
{ name = "*.fcbak", text = "", fg = "#e78284" },
{ name = "*.fcmacro", text = "", fg = "#e78284" },
{ name = "*.fcmat", text = "", fg = "#e78284" },
{ name = "*.fcparam", text = "", fg = "#e78284" },
{ name = "*.fcscript", text = "", fg = "#e78284" },
{ name = "*.fcstd", text = "", fg = "#e78284" },
{ name = "*.fcstd1", text = "", fg = "#e78284" },
{ name = "*.fctb", text = "", fg = "#e78284" },
{ name = "*.fctl", text = "", fg = "#e78284" },
{ name = "*.fdmdownload", text = "", fg = "#81c8be" },
{ name = "*.fish", text = "", fg = "#51576d" },
{ name = "*.flac", text = "", fg = "#626880" },
{ name = "*.flc", text = "", fg = "#f2d5cf" },
{ name = "*.flf", text = "", fg = "#f2d5cf" },
{ name = "*.fnl", text = "", fg = "#e5c890" },
{ name = "*.fs", text = "", fg = "#85c1dc" },
{ name = "*.fsi", text = "", fg = "#85c1dc" },
{ name = "*.fsscript", text = "", fg = "#85c1dc" },
{ name = "*.fsx", text = "", fg = "#85c1dc" },
{ name = "*.gcode", text = "󰐫", fg = "#626880" },
{ name = "*.gd", text = "", fg = "#737994" },
{ name = "*.gemspec", text = "", fg = "#292c3c" },
{ name = "*.gif", text = "", fg = "#ca9ee6" },
{ name = "*.git", text = "", fg = "#e78284" },
{ name = "*.glb", text = "", fg = "#e5c890" },
{ name = "*.gnumakefile", text = "", fg = "#737994" },
{ name = "*.go", text = "", fg = "#85c1dc" },
{ name = "*.godot", text = "", fg = "#737994" },
{ name = "*.gql", text = "", fg = "#ca9ee6" },
{ name = "*.graphql", text = "", fg = "#ca9ee6" },
{ name = "*.gresource", text = "", fg = "#f2d5cf" },
{ name = "*.gv", text = "󱁉", fg = "#51576d" },
{ name = "*.gz", text = "", fg = "#e5c890" },
{ name = "*.h", text = "", fg = "#ca9ee6" },
{ name = "*.haml", text = "", fg = "#f2d5cf" },
{ name = "*.hbs", text = "", fg = "#ef9f76" },
{ name = "*.heex", text = "", fg = "#ca9ee6" },
{ name = "*.hex", text = "", fg = "#626880" },
{ name = "*.hh", text = "", fg = "#ca9ee6" },
{ name = "*.hpp", text = "", fg = "#ca9ee6" },
{ name = "*.hrl", text = "", fg = "#626880" },
{ name = "*.hs", text = "", fg = "#ca9ee6" },
{ name = "*.htm", text = "", fg = "#e78284" },
{ name = "*.html", text = "", fg = "#e78284" },
{ name = "*.huff", text = "󰡘", fg = "#51576d" },
{ name = "*.hurl", text = "", fg = "#e78284" },
{ name = "*.hx", text = "", fg = "#ef9f76" },
{ name = "*.hxx", text = "", fg = "#ca9ee6" },
{ name = "*.ical", text = "", fg = "#303446" },
{ name = "*.icalendar", text = "", fg = "#303446" },
{ name = "*.ico", text = "", fg = "#e5c890" },
{ name = "*.ics", text = "", fg = "#303446" },
{ name = "*.ifb", text = "", fg = "#303446" },
{ name = "*.ifc", text = "󰻫", fg = "#a6d189" },
{ name = "*.ige", text = "󰻫", fg = "#a6d189" },
{ name = "*.iges", text = "󰻫", fg = "#a6d189" },
{ name = "*.igs", text = "󰻫", fg = "#a6d189" },
{ name = "*.image", text = "", fg = "#f2d5cf" },
{ name = "*.img", text = "", fg = "#f2d5cf" },
{ name = "*.import", text = "", fg = "#f2d5cf" },
{ name = "*.info", text = "", fg = "#e5c890" },
{ name = "*.ini", text = "", fg = "#737994" },
{ name = "*.ino", text = "", fg = "#85c1dc" },
{ name = "*.ipynb", text = "", fg = "#85c1dc" },
{ name = "*.iso", text = "", fg = "#f2d5cf" },
{ name = "*.ixx", text = "", fg = "#85c1dc" },
{ name = "*.java", text = "", fg = "#e78284" },
{ name = "*.jl", text = "", fg = "#ca9ee6" },
{ name = "*.jpeg", text = "", fg = "#ca9ee6" },
{ name = "*.jpg", text = "", fg = "#ca9ee6" },
{ name = "*.js", text = "", fg = "#e5c890" },
{ name = "*.json", text = "", fg = "#e5c890" },
{ name = "*.json5", text = "", fg = "#e5c890" },
{ name = "*.jsonc", text = "", fg = "#e5c890" },
{ name = "*.jsx", text = "", fg = "#85c1dc" },
{ name = "*.jwmrc", text = "", fg = "#737994" },
{ name = "*.jxl", text = "", fg = "#ca9ee6" },
{ name = "*.kbx", text = "󰯄", fg = "#626880" },
{ name = "*.kdb", text = "", fg = "#a6d189" },
{ name = "*.kdbx", text = "", fg = "#a6d189" },
{ name = "*.kdenlive", text = "", fg = "#8caaee" },
{ name = "*.kdenlivetitle", text = "", fg = "#8caaee" },
{ name = "*.kicad_dru", text = "", fg = "#f2d5cf" },
{ name = "*.kicad_mod", text = "", fg = "#f2d5cf" },
{ name = "*.kicad_pcb", text = "", fg = "#f2d5cf" },
{ name = "*.kicad_prl", text = "", fg = "#f2d5cf" },
{ name = "*.kicad_pro", text = "", fg = "#f2d5cf" },
{ name = "*.kicad_sch", text = "", fg = "#f2d5cf" },
{ name = "*.kicad_sym", text = "", fg = "#f2d5cf" },
{ name = "*.kicad_wks", text = "", fg = "#f2d5cf" },
{ name = "*.ko", text = "", fg = "#f2d5cf" },
{ name = "*.kpp", text = "", fg = "#ca9ee6" },
{ name = "*.kra", text = "", fg = "#ca9ee6" },
{ name = "*.krz", text = "", fg = "#ca9ee6" },
{ name = "*.ksh", text = "", fg = "#51576d" },
{ name = "*.kt", text = "", fg = "#737994" },
{ name = "*.kts", text = "", fg = "#737994" },
{ name = "*.lck", text = "", fg = "#b5bfe2" },
{ name = "*.leex", text = "", fg = "#ca9ee6" },
{ name = "*.less", text = "", fg = "#414559" },
{ name = "*.lff", text = "", fg = "#f2d5cf" },
{ name = "*.lhs", text = "", fg = "#ca9ee6" },
{ name = "*.lib", text = "", fg = "#232634" },
{ name = "*.license", text = "", fg = "#e5c890" },
{ name = "*.liquid", text = "", fg = "#a6d189" },
{ name = "*.lock", text = "", fg = "#b5bfe2" },
{ name = "*.log", text = "󰌱", fg = "#f2d5cf" },
{ name = "*.lrc", text = "󰨖", fg = "#e5c890" },
{ name = "*.lua", text = "", fg = "#85c1dc" },
{ name = "*.luac", text = "", fg = "#85c1dc" },
{ name = "*.luau", text = "", fg = "#8caaee" },
{ name = "*.m", text = "", fg = "#8caaee" },
{ name = "*.m3u", text = "󰲹", fg = "#ea999c" },
{ name = "*.m3u8", text = "󰲹", fg = "#ea999c" },
{ name = "*.m4a", text = "", fg = "#85c1dc" },
{ name = "*.m4v", text = "", fg = "#ef9f76" },
{ name = "*.magnet", text = "", fg = "#e78284" },
{ name = "*.makefile", text = "", fg = "#737994" },
{ name = "*.markdown", text = "", fg = "#f2d5cf" },
{ name = "*.material", text = "󰔉", fg = "#626880" },
{ name = "*.md", text = "", fg = "#f2d5cf" },
{ name = "*.md5", text = "󰕥", fg = "#838ba7" },
{ name = "*.mdx", text = "", fg = "#85c1dc" },
{ name = "*.mint", text = "󰌪", fg = "#a6d189" },
{ name = "*.mjs", text = "", fg = "#e5c890" },
{ name = "*.mk", text = "", fg = "#737994" },
{ name = "*.mkv", text = "", fg = "#ef9f76" },
{ name = "*.ml", text = "", fg = "#ef9f76" },
{ name = "*.mli", text = "", fg = "#ef9f76" },
{ name = "*.mm", text = "", fg = "#85c1dc" },
{ name = "*.mo", text = "∞", fg = "#838ba7" },
{ name = "*.mobi", text = "", fg = "#e5c890" },
{ name = "*.mojo", text = "", fg = "#ef9f76" },
{ name = "*.mov", text = "", fg = "#ef9f76" },
{ name = "*.mp3", text = "", fg = "#85c1dc" },
{ name = "*.mp4", text = "", fg = "#ef9f76" },
{ name = "*.mpp", text = "", fg = "#85c1dc" },
{ name = "*.msf", text = "", fg = "#8caaee" },
{ name = "*.mts", text = "", fg = "#85c1dc" },
{ name = "*.mustache", text = "", fg = "#ef9f76" },
{ name = "*.nfo", text = "", fg = "#e5c890" },
{ name = "*.nim", text = "", fg = "#e5c890" },
{ name = "*.nix", text = "", fg = "#85c1dc" },
{ name = "*.nswag", text = "", fg = "#a6d189" },
{ name = "*.nu", text = ">", fg = "#81c8be" },
{ name = "*.o", text = "", fg = "#414559" },
{ name = "*.obj", text = "󰆧", fg = "#838ba7" },
{ name = "*.ogg", text = "", fg = "#626880" },
{ name = "*.opus", text = "", fg = "#626880" },
{ name = "*.org", text = "", fg = "#81c8be" },
{ name = "*.otf", text = "", fg = "#f2d5cf" },
{ name = "*.out", text = "", fg = "#414559" },
{ name = "*.part", text = "", fg = "#81c8be" },
{ name = "*.patch", text = "", fg = "#51576d" },
{ name = "*.pck", text = "", fg = "#737994" },
{ name = "*.pcm", text = "", fg = "#626880" },
{ name = "*.pdf", text = "", fg = "#e78284" },
{ name = "*.php", text = "", fg = "#ca9ee6" },
{ name = "*.pl", text = "", fg = "#85c1dc" },
{ name = "*.pls", text = "󰲹", fg = "#ea999c" },
{ name = "*.ply", text = "󰆧", fg = "#838ba7" },
{ name = "*.pm", text = "", fg = "#85c1dc" },
{ name = "*.png", text = "", fg = "#ca9ee6" },
{ name = "*.po", text = "", fg = "#85c1dc" },
{ name = "*.pot", text = "", fg = "#85c1dc" },
{ name = "*.pp", text = "", fg = "#e5c890" },
{ name = "*.ppt", text = "󰈧", fg = "#e78284" },
{ name = "*.prisma", text = "", fg = "#737994" },
{ name = "*.pro", text = "", fg = "#e5c890" },
{ name = "*.ps1", text = "󰨊", fg = "#737994" },
{ name = "*.psb", text = "", fg = "#85c1dc" },
{ name = "*.psd", text = "", fg = "#85c1dc" },
{ name = "*.psd1", text = "󰨊", fg = "#737994" },
{ name = "*.psm1", text = "󰨊", fg = "#737994" },
{ name = "*.pub", text = "󰷖", fg = "#e5c890" },
{ name = "*.pxd", text = "", fg = "#8caaee" },
{ name = "*.pxi", text = "", fg = "#8caaee" },
{ name = "*.py", text = "", fg = "#e5c890" },
{ name = "*.pyc", text = "", fg = "#e5c890" },
{ name = "*.pyd", text = "", fg = "#e5c890" },
{ name = "*.pyi", text = "", fg = "#e5c890" },
{ name = "*.pyo", text = "", fg = "#e5c890" },
{ name = "*.pyx", text = "", fg = "#8caaee" },
{ name = "*.qm", text = "", fg = "#85c1dc" },
{ name = "*.qml", text = "", fg = "#a6d189" },
{ name = "*.qrc", text = "", fg = "#a6d189" },
{ name = "*.qss", text = "", fg = "#a6d189" },
{ name = "*.query", text = "", fg = "#a6d189" },
{ name = "*.r", text = "󰟔", fg = "#626880" },
{ name = "*.rake", text = "", fg = "#292c3c" },
{ name = "*.rar", text = "", fg = "#e5c890" },
{ name = "*.razor", text = "󱦘", fg = "#51576d" },
{ name = "*.rb", text = "", fg = "#292c3c" },
{ name = "*.res", text = "", fg = "#e78284" },
{ name = "*.resi", text = "", fg = "#e78284" },
{ name = "*.rlib", text = "", fg = "#ef9f76" },
{ name = "*.rmd", text = "", fg = "#85c1dc" },
{ name = "*.rproj", text = "󰗆", fg = "#81c8be" },
{ name = "*.rs", text = "", fg = "#ef9f76" },
{ name = "*.rss", text = "", fg = "#ef9f76" },
{ name = "*.sass", text = "", fg = "#e78284" },
{ name = "*.sbt", text = "", fg = "#e78284" },
{ name = "*.sc", text = "", fg = "#e78284" },
{ name = "*.scad", text = "", fg = "#e5c890" },
{ name = "*.scala", text = "", fg = "#e78284" },
{ name = "*.scm", text = "󰘧", fg = "#f2d5cf" },
{ name = "*.scss", text = "", fg = "#e78284" },
{ name = "*.sh", text = "", fg = "#51576d" },
{ name = "*.sha1", text = "󰕥", fg = "#838ba7" },
{ name = "*.sha224", text = "󰕥", fg = "#838ba7" },
{ name = "*.sha256", text = "󰕥", fg = "#838ba7" },
{ name = "*.sha384", text = "󰕥", fg = "#838ba7" },
{ name = "*.sha512", text = "󰕥", fg = "#838ba7" },
{ name = "*.sig", text = "λ", fg = "#ef9f76" },
{ name = "*.signature", text = "λ", fg = "#ef9f76" },
{ name = "*.skp", text = "󰻫", fg = "#a6d189" },
{ name = "*.sldasm", text = "󰻫", fg = "#a6d189" },
{ name = "*.sldprt", text = "󰻫", fg = "#a6d189" },
{ name = "*.slim", text = "", fg = "#e78284" },
{ name = "*.sln", text = "", fg = "#626880" },
{ name = "*.slvs", text = "󰻫", fg = "#a6d189" },
{ name = "*.sml", text = "λ", fg = "#ef9f76" },
{ name = "*.so", text = "", fg = "#f2d5cf" },
{ name = "*.sol", text = "", fg = "#85c1dc" },
{ name = "*.spec.js", text = "", fg = "#e5c890" },
{ name = "*.spec.jsx", text = "", fg = "#85c1dc" },
{ name = "*.spec.ts", text = "", fg = "#85c1dc" },
{ name = "*.spec.tsx", text = "", fg = "#51576d" },
{ name = "*.sql", text = "", fg = "#f2d5cf" },
{ name = "*.sqlite", text = "", fg = "#f2d5cf" },
{ name = "*.sqlite3", text = "", fg = "#f2d5cf" },
{ name = "*.srt", text = "󰨖", fg = "#e5c890" },
{ name = "*.ssa", text = "󰨖", fg = "#e5c890" },
{ name = "*.ste", text = "󰻫", fg = "#a6d189" },
{ name = "*.step", text = "󰻫", fg = "#a6d189" },
{ name = "*.stl", text = "󰆧", fg = "#838ba7" },
{ name = "*.stp", text = "󰻫", fg = "#a6d189" },
{ name = "*.strings", text = "", fg = "#85c1dc" },
{ name = "*.styl", text = "", fg = "#a6d189" },
{ name = "*.sub", text = "󰨖", fg = "#e5c890" },
{ name = "*.sublime", text = "", fg = "#ef9f76" },
{ name = "*.suo", text = "", fg = "#626880" },
{ name = "*.sv", text = "󰍛", fg = "#a6d189" },
{ name = "*.svelte", text = "", fg = "#ef9f76" },
{ name = "*.svg", text = "󰜡", fg = "#e5c890" },
{ name = "*.svh", text = "󰍛", fg = "#a6d189" },
{ name = "*.swift", text = "", fg = "#ef9f76" },
{ name = "*.t", text = "", fg = "#85c1dc" },
{ name = "*.tbc", text = "󰛓", fg = "#51576d" },
{ name = "*.tcl", text = "󰛓", fg = "#51576d" },
{ name = "*.templ", text = "", fg = "#e5c890" },
{ name = "*.terminal", text = "", fg = "#a6d189" },
{ name = "*.test.js", text = "", fg = "#e5c890" },
{ name = "*.test.jsx", text = "", fg = "#85c1dc" },
{ name = "*.test.ts", text = "", fg = "#85c1dc" },
{ name = "*.test.tsx", text = "", fg = "#51576d" },
{ name = "*.tex", text = "", fg = "#414559" },
{ name = "*.tf", text = "", fg = "#626880" },
{ name = "*.tfvars", text = "", fg = "#626880" },
{ name = "*.tgz", text = "", fg = "#e5c890" },
{ name = "*.tmux", text = "", fg = "#a6d189" },
{ name = "*.toml", text = "", fg = "#e78284" },
{ name = "*.torrent", text = "", fg = "#81c8be" },
{ name = "*.tres", text = "", fg = "#737994" },
{ name = "*.ts", text = "", fg = "#85c1dc" },
{ name = "*.tscn", text = "", fg = "#737994" },
{ name = "*.tsconfig", text = "", fg = "#ef9f76" },
{ name = "*.tsx", text = "", fg = "#51576d" },
{ name = "*.ttf", text = "", fg = "#f2d5cf" },
{ name = "*.twig", text = "", fg = "#a6d189" },
{ name = "*.txt", text = "󰈙", fg = "#a6d189" },
{ name = "*.txz", text = "", fg = "#e5c890" },
{ name = "*.typoscript", text = "", fg = "#ef9f76" },
{ name = "*.ui", text = "", fg = "#303446" },
{ name = "*.v", text = "󰍛", fg = "#a6d189" },
{ name = "*.vala", text = "", fg = "#51576d" },
{ name = "*.vh", text = "󰍛", fg = "#a6d189" },
{ name = "*.vhd", text = "󰍛", fg = "#a6d189" },
{ name = "*.vhdl", text = "󰍛", fg = "#a6d189" },
{ name = "*.vim", text = "", fg = "#a6d189" },
{ name = "*.vsh", text = "", fg = "#838ba7" },
{ name = "*.vsix", text = "", fg = "#626880" },
{ name = "*.vue", text = "", fg = "#a6d189" },
{ name = "*.wasm", text = "", fg = "#626880" },
{ name = "*.wav", text = "", fg = "#85c1dc" },
{ name = "*.webm", text = "", fg = "#ef9f76" },
{ name = "*.webmanifest", text = "", fg = "#e5c890" },
{ name = "*.webp", text = "", fg = "#ca9ee6" },
{ name = "*.webpack", text = "󰜫", fg = "#85c1dc" },
{ name = "*.wma", text = "", fg = "#85c1dc" },
{ name = "*.woff", text = "", fg = "#f2d5cf" },
{ name = "*.woff2", text = "", fg = "#f2d5cf" },
{ name = "*.wrl", text = "󰆧", fg = "#838ba7" },
{ name = "*.wrz", text = "󰆧", fg = "#838ba7" },
{ name = "*.x", text = "", fg = "#8caaee" },
{ name = "*.xaml", text = "󰙳", fg = "#51576d" },
{ name = "*.xcf", text = "", fg = "#51576d" },
{ name = "*.xcplayground", text = "", fg = "#ef9f76" },
{ name = "*.xcstrings", text = "", fg = "#85c1dc" },
{ name = "*.xls", text = "󰈛", fg = "#51576d" },
{ name = "*.xlsx", text = "󰈛", fg = "#51576d" },
{ name = "*.xm", text = "", fg = "#85c1dc" },
{ name = "*.xml", text = "󰗀", fg = "#ef9f76" },
{ name = "*.xpi", text = "", fg = "#e78284" },
{ name = "*.xul", text = "", fg = "#ef9f76" },
{ name = "*.xz", text = "", fg = "#e5c890" },
{ name = "*.yaml", text = "", fg = "#737994" },
{ name = "*.yml", text = "", fg = "#737994" },
{ name = "*.zig", text = "", fg = "#ef9f76" },
{ name = "*.zip", text = "", fg = "#e5c890" },
{ name = "*.zsh", text = "", fg = "#a6d189" },
{ name = "*.zst", text = "", fg = "#e5c890" },
{ name = "*.🔥", text = "", fg = "#ef9f76" },
]

View File

@@ -1,665 +0,0 @@
[manager]
cwd = { fg = "#81c8be" }
# Hovered
hovered = { fg = "#303446", bg = "#8caaee" }
preview_hovered = { underline = true }
# Find
find_keyword = { fg = "#e5c890", italic = true }
find_position = { fg = "#f4b8e4", bg = "reset", italic = true }
# Marker
marker_copied = { fg = "#a6d189", bg = "#a6d189" }
marker_cut = { fg = "#e78284", bg = "#e78284" }
marker_selected = { fg = "#8caaee", bg = "#8caaee" }
# Tab
tab_active = { fg = "#303446", bg = "#c6d0f5" }
tab_inactive = { fg = "#c6d0f5", bg = "#51576d" }
tab_width = 1
# Count
count_copied = { fg = "#303446", bg = "#a6d189" }
count_cut = { fg = "#303446", bg = "#e78284" }
count_selected = { fg = "#303446", bg = "#8caaee" }
# Border
border_symbol = "│"
border_style = { fg = "#838ba7" }
# Highlighting
syntect_theme = "~/.config/yazi/Catppuccin-frappe.tmTheme"
[status]
separator_open = ""
separator_close = ""
separator_style = { fg = "#51576d", bg = "#51576d" }
# Mode
mode_normal = { fg = "#303446", bg = "#8caaee", bold = true }
mode_select = { fg = "#303446", bg = "#a6d189", bold = true }
mode_unset = { fg = "#303446", bg = "#eebebe", bold = true }
# Progress
progress_label = { fg = "#ffffff", bold = true }
progress_normal = { fg = "#8caaee", bg = "#51576d" }
progress_error = { fg = "#e78284", bg = "#51576d" }
# Permissions
permissions_t = { fg = "#8caaee" }
permissions_r = { fg = "#e5c890" }
permissions_w = { fg = "#e78284" }
permissions_x = { fg = "#a6d189" }
permissions_s = { fg = "#838ba7" }
[input]
border = { fg = "#8caaee" }
title = {}
value = {}
selected = { reversed = true }
[select]
border = { fg = "#8caaee" }
active = { fg = "#f4b8e4" }
inactive = {}
[tasks]
border = { fg = "#8caaee" }
title = {}
hovered = { underline = true }
[which]
mask = { bg = "#414559" }
cand = { fg = "#81c8be" }
rest = { fg = "#949cbb" }
desc = { fg = "#f4b8e4" }
separator = "  "
separator_style = { fg = "#626880" }
[help]
on = { fg = "#f4b8e4" }
exec = { fg = "#81c8be" }
desc = { fg = "#949cbb" }
hovered = { bg = "#626880", bold = true }
footer = { fg = "#51576d", bg = "#c6d0f5" }
[filetype]
rules = [
# Images
{ mime = "image/*", fg = "#81c8be" },
# Videos
{ mime = "video/*", fg = "#e5c890" },
{ mime = "audio/*", fg = "#e5c890" },
# Archives
{ mime = "application/zip", fg = "#f4b8e4" },
{ mime = "application/gzip", fg = "#f4b8e4" },
{ mime = "application/x-tar", fg = "#f4b8e4" },
{ mime = "application/x-bzip", fg = "#f4b8e4" },
{ mime = "application/x-bzip2", fg = "#f4b8e4" },
{ mime = "application/x-7z-compressed", fg = "#f4b8e4" },
{ mime = "application/x-rar", fg = "#f4b8e4" },
# Fallback
{ name = "*", fg = "#c6d0f5" },
{ name = "*/", fg = "#8caaee" }
]
[icon]
prepend_rules = [
{ name = ".SRCINFO", text = "󰣇", fg = "#8caaee" },
{ name = ".Xauthority", text = "", fg = "#ef9f76" },
{ name = ".Xresources", text = "", fg = "#ef9f76" },
{ name = ".babelrc", text = "", fg = "#e5c890" },
{ name = ".bash_profile", text = "", fg = "#a6d189" },
{ name = ".bashrc", text = "", fg = "#a6d189" },
{ name = ".dockerignore", text = "󰡨", fg = "#8caaee" },
{ name = ".ds_store", text = "", fg = "#51576d" },
{ name = ".editorconfig", text = "", fg = "#f2d5cf" },
{ name = ".env", text = "", fg = "#e5c890" },
{ name = ".eslintignore", text = "", fg = "#51576d" },
{ name = ".eslintrc", text = "", fg = "#51576d" },
{ name = ".gitattributes", text = "", fg = "#e78284" },
{ name = ".gitconfig", text = "", fg = "#e78284" },
{ name = ".gitignore", text = "", fg = "#e78284" },
{ name = ".gitlab-ci.yml", text = "", fg = "#e78284" },
{ name = ".gitmodules", text = "", fg = "#e78284" },
{ name = ".gtkrc-2.0", text = "", fg = "#f2d5cf" },
{ name = ".gvimrc", text = "", fg = "#a6d189" },
{ name = ".justfile", text = "", fg = "#737994" },
{ name = ".luaurc", text = "", fg = "#8caaee" },
{ name = ".mailmap", text = "󰊢", fg = "#51576d" },
{ name = ".npmignore", text = "", fg = "#e78284" },
{ name = ".npmrc", text = "", fg = "#e78284" },
{ name = ".nvmrc", text = "", fg = "#a6d189" },
{ name = ".prettierrc", text = "", fg = "#8caaee" },
{ name = ".settings.json", text = "", fg = "#626880" },
{ name = ".vimrc", text = "", fg = "#a6d189" },
{ name = ".xinitrc", text = "", fg = "#ef9f76" },
{ name = ".xsession", text = "", fg = "#ef9f76" },
{ name = ".zprofile", text = "", fg = "#a6d189" },
{ name = ".zshenv", text = "", fg = "#a6d189" },
{ name = ".zshrc", text = "", fg = "#a6d189" },
{ name = "FreeCAD.conf", text = "", fg = "#e78284" },
{ name = "PKGBUILD", text = "", fg = "#8caaee" },
{ name = "PrusaSlicer.ini", text = "", fg = "#ef9f76" },
{ name = "PrusaSlicerGcodeViewer.ini", text = "", fg = "#ef9f76" },
{ name = "QtProject.conf", text = "", fg = "#a6d189" },
{ name = "R", text = "󰟔", fg = "#626880" },
{ name = "_gvimrc", text = "", fg = "#a6d189" },
{ name = "_vimrc", text = "", fg = "#a6d189" },
{ name = "avif", text = "", fg = "#ca9ee6" },
{ name = "brewfile", text = "", fg = "#292c3c" },
{ name = "bspwmrc", text = "", fg = "#232634" },
{ name = "build", text = "", fg = "#a6d189" },
{ name = "build.gradle", text = "", fg = "#51576d" },
{ name = "build.zig.zon", text = "", fg = "#ef9f76" },
{ name = "cantorrc", text = "", fg = "#8caaee" },
{ name = "checkhealth", text = "󰓙", fg = "#8caaee" },
{ name = "cmakelists.txt", text = "", fg = "#737994" },
{ name = "commit_editmsg", text = "", fg = "#e78284" },
{ name = "compose.yaml", text = "󰡨", fg = "#8caaee" },
{ name = "compose.yml", text = "󰡨", fg = "#8caaee" },
{ name = "config", text = "", fg = "#737994" },
{ name = "containerfile", text = "󰡨", fg = "#8caaee" },
{ name = "copying", text = "", fg = "#e5c890" },
{ name = "copying.lesser", text = "", fg = "#e5c890" },
{ name = "docker-compose.yaml", text = "󰡨", fg = "#8caaee" },
{ name = "docker-compose.yml", text = "󰡨", fg = "#8caaee" },
{ name = "dockerfile", text = "󰡨", fg = "#8caaee" },
{ name = "ext_typoscript_setup.txt", text = "", fg = "#ef9f76" },
{ name = "favicon.ico", text = "", fg = "#e5c890" },
{ name = "fp-info-cache", text = "", fg = "#f2d5cf" },
{ name = "fp-lib-table", text = "", fg = "#f2d5cf" },
{ name = "gemfile$", text = "", fg = "#292c3c" },
{ name = "gnumakefile", text = "", fg = "#737994" },
{ name = "gradle-wrapper.properties", text = "", fg = "#51576d" },
{ name = "gradle.properties", text = "", fg = "#51576d" },
{ name = "gradlew", text = "", fg = "#51576d" },
{ name = "groovy", text = "", fg = "#626880" },
{ name = "gruntfile.babel.js", text = "", fg = "#ef9f76" },
{ name = "gruntfile.coffee", text = "", fg = "#ef9f76" },
{ name = "gruntfile.js", text = "", fg = "#ef9f76" },
{ name = "gruntfile.ts", text = "", fg = "#ef9f76" },
{ name = "gtkrc", text = "", fg = "#f2d5cf" },
{ name = "gulpfile.babel.js", text = "", fg = "#e78284" },
{ name = "gulpfile.coffee", text = "", fg = "#e78284" },
{ name = "gulpfile.js", text = "", fg = "#e78284" },
{ name = "gulpfile.ts", text = "", fg = "#e78284" },
{ name = "hyprland.conf", text = "", fg = "#81c8be" },
{ name = "i3blocks.conf", text = "", fg = "#c6d0f5" },
{ name = "i3status.conf", text = "", fg = "#c6d0f5" },
{ name = "justfile", text = "", fg = "#737994" },
{ name = "kalgebrarc", text = "", fg = "#8caaee" },
{ name = "kdeglobals", text = "", fg = "#8caaee" },
{ name = "kdenlive-layoutsrc", text = "", fg = "#8caaee" },
{ name = "kdenliverc", text = "", fg = "#8caaee" },
{ name = "kritadisplayrc", text = "", fg = "#ca9ee6" },
{ name = "kritarc", text = "", fg = "#ca9ee6" },
{ name = "license", text = "", fg = "#e5c890" },
{ name = "lxde-rc.xml", text = "", fg = "#838ba7" },
{ name = "lxqt.conf", text = "", fg = "#8caaee" },
{ name = "makefile", text = "", fg = "#737994" },
{ name = "mix.lock", text = "", fg = "#ca9ee6" },
{ name = "mpv.conf", text = "", fg = "#292c3c" },
{ name = "node_modules", text = "", fg = "#e78284" },
{ name = "package-lock.json", text = "", fg = "#292c3c" },
{ name = "package.json", text = "", fg = "#e78284" },
{ name = "platformio.ini", text = "", fg = "#ef9f76" },
{ name = "pom.xml", text = "", fg = "#292c3c" },
{ name = "procfile", text = "", fg = "#ca9ee6" },
{ name = "py.typed", text = "", fg = "#e5c890" },
{ name = "r", text = "󰟔", fg = "#626880" },
{ name = "rakefile", text = "", fg = "#292c3c" },
{ name = "rmd", text = "", fg = "#85c1dc" },
{ name = "settings.gradle", text = "", fg = "#51576d" },
{ name = "svelte.config.js", text = "", fg = "#ef9f76" },
{ name = "sxhkdrc", text = "", fg = "#232634" },
{ name = "sym-lib-table", text = "", fg = "#f2d5cf" },
{ name = "tailwind.config.js", text = "󱏿", fg = "#85c1dc" },
{ name = "tailwind.config.mjs", text = "󱏿", fg = "#85c1dc" },
{ name = "tailwind.config.ts", text = "󱏿", fg = "#85c1dc" },
{ name = "tmux.conf", text = "", fg = "#a6d189" },
{ name = "tmux.conf.local", text = "", fg = "#a6d189" },
{ name = "tsconfig.json", text = "", fg = "#85c1dc" },
{ name = "unlicense", text = "", fg = "#e5c890" },
{ name = "vagrantfile$", text = "", fg = "#626880" },
{ name = "vlcrc", text = "󰕼", fg = "#ef9f76" },
{ name = "webpack", text = "󰜫", fg = "#85c1dc" },
{ name = "weston.ini", text = "", fg = "#e5c890" },
{ name = "workspace", text = "", fg = "#a6d189" },
{ name = "xmobarrc", text = "", fg = "#e78284" },
{ name = "xmobarrc.hs", text = "", fg = "#e78284" },
{ name = "xmonad.hs", text = "", fg = "#e78284" },
{ name = "xorg.conf", text = "", fg = "#ef9f76" },
{ name = "xsettingsd.conf", text = "", fg = "#ef9f76" },
{ name = "*.3gp", text = "", fg = "#ef9f76" },
{ name = "*.3mf", text = "󰆧", fg = "#838ba7" },
{ name = "*.7z", text = "", fg = "#e5c890" },
{ name = "*.Dockerfile", text = "󰡨", fg = "#8caaee" },
{ name = "*.a", text = "", fg = "#f2d5cf" },
{ name = "*.aac", text = "", fg = "#85c1dc" },
{ name = "*.ai", text = "", fg = "#e5c890" },
{ name = "*.aif", text = "", fg = "#85c1dc" },
{ name = "*.aiff", text = "", fg = "#85c1dc" },
{ name = "*.android", text = "", fg = "#a6d189" },
{ name = "*.ape", text = "", fg = "#85c1dc" },
{ name = "*.apk", text = "", fg = "#a6d189" },
{ name = "*.app", text = "", fg = "#414559" },
{ name = "*.applescript", text = "", fg = "#737994" },
{ name = "*.asc", text = "󰦝", fg = "#626880" },
{ name = "*.ass", text = "󰨖", fg = "#e5c890" },
{ name = "*.astro", text = "", fg = "#e78284" },
{ name = "*.awk", text = "", fg = "#51576d" },
{ name = "*.azcli", text = "", fg = "#737994" },
{ name = "*.bak", text = "󰁯", fg = "#737994" },
{ name = "*.bash", text = "", fg = "#a6d189" },
{ name = "*.bat", text = "", fg = "#a6d189" },
{ name = "*.bazel", text = "", fg = "#a6d189" },
{ name = "*.bib", text = "󱉟", fg = "#e5c890" },
{ name = "*.bicep", text = "", fg = "#85c1dc" },
{ name = "*.bicepparam", text = "", fg = "#ca9ee6" },
{ name = "*.bin", text = "", fg = "#414559" },
{ name = "*.blade.php", text = "", fg = "#e78284" },
{ name = "*.blend", text = "󰂫", fg = "#ef9f76" },
{ name = "*.blp", text = "󰺾", fg = "#8caaee" },
{ name = "*.bmp", text = "", fg = "#ca9ee6" },
{ name = "*.brep", text = "󰻫", fg = "#a6d189" },
{ name = "*.bz", text = "", fg = "#e5c890" },
{ name = "*.bz2", text = "", fg = "#e5c890" },
{ name = "*.bz3", text = "", fg = "#e5c890" },
{ name = "*.bzl", text = "", fg = "#a6d189" },
{ name = "*.c", text = "", fg = "#8caaee" },
{ name = "*.c++", text = "", fg = "#e78284" },
{ name = "*.cache", text = "", fg = "#f2d5cf" },
{ name = "*.cast", text = "", fg = "#ef9f76" },
{ name = "*.cbl", text = "⚙", fg = "#51576d" },
{ name = "*.cc", text = "", fg = "#e78284" },
{ name = "*.ccm", text = "", fg = "#e78284" },
{ name = "*.cfg", text = "", fg = "#737994" },
{ name = "*.cjs", text = "", fg = "#e5c890" },
{ name = "*.clj", text = "", fg = "#a6d189" },
{ name = "*.cljc", text = "", fg = "#a6d189" },
{ name = "*.cljd", text = "", fg = "#85c1dc" },
{ name = "*.cljs", text = "", fg = "#85c1dc" },
{ name = "*.cmake", text = "", fg = "#737994" },
{ name = "*.cob", text = "⚙", fg = "#51576d" },
{ name = "*.cobol", text = "⚙", fg = "#51576d" },
{ name = "*.coffee", text = "", fg = "#e5c890" },
{ name = "*.conf", text = "", fg = "#737994" },
{ name = "*.config.ru", text = "", fg = "#292c3c" },
{ name = "*.cp", text = "", fg = "#85c1dc" },
{ name = "*.cpp", text = "", fg = "#85c1dc" },
{ name = "*.cppm", text = "", fg = "#85c1dc" },
{ name = "*.cpy", text = "⚙", fg = "#51576d" },
{ name = "*.cr", text = "", fg = "#f2d5cf" },
{ name = "*.crdownload", text = "", fg = "#81c8be" },
{ name = "*.cs", text = "󰌛", fg = "#a6d189" },
{ name = "*.csh", text = "", fg = "#51576d" },
{ name = "*.cshtml", text = "󱦗", fg = "#51576d" },
{ name = "*.cson", text = "", fg = "#e5c890" },
{ name = "*.csproj", text = "󰪮", fg = "#51576d" },
{ name = "*.css", text = "", fg = "#8caaee" },
{ name = "*.csv", text = "", fg = "#a6d189" },
{ name = "*.cts", text = "", fg = "#85c1dc" },
{ name = "*.cu", text = "", fg = "#a6d189" },
{ name = "*.cue", text = "󰲹", fg = "#ea999c" },
{ name = "*.cuh", text = "", fg = "#ca9ee6" },
{ name = "*.cxx", text = "", fg = "#85c1dc" },
{ name = "*.cxxm", text = "", fg = "#85c1dc" },
{ name = "*.d", text = "", fg = "#a6d189" },
{ name = "*.d.ts", text = "", fg = "#ef9f76" },
{ name = "*.dart", text = "", fg = "#51576d" },
{ name = "*.db", text = "", fg = "#f2d5cf" },
{ name = "*.dconf", text = "", fg = "#f2d5cf" },
{ name = "*.desktop", text = "", fg = "#414559" },
{ name = "*.diff", text = "", fg = "#51576d" },
{ name = "*.dll", text = "", fg = "#232634" },
{ name = "*.doc", text = "󰈬", fg = "#51576d" },
{ name = "*.docx", text = "󰈬", fg = "#51576d" },
{ name = "*.dot", text = "󱁉", fg = "#51576d" },
{ name = "*.download", text = "", fg = "#81c8be" },
{ name = "*.drl", text = "", fg = "#ea999c" },
{ name = "*.dropbox", text = "", fg = "#626880" },
{ name = "*.dump", text = "", fg = "#f2d5cf" },
{ name = "*.dwg", text = "󰻫", fg = "#a6d189" },
{ name = "*.dxf", text = "󰻫", fg = "#a6d189" },
{ name = "*.ebook", text = "", fg = "#e5c890" },
{ name = "*.edn", text = "", fg = "#85c1dc" },
{ name = "*.eex", text = "", fg = "#ca9ee6" },
{ name = "*.ejs", text = "", fg = "#e5c890" },
{ name = "*.el", text = "", fg = "#737994" },
{ name = "*.elc", text = "", fg = "#737994" },
{ name = "*.elf", text = "", fg = "#414559" },
{ name = "*.elm", text = "", fg = "#85c1dc" },
{ name = "*.eln", text = "", fg = "#737994" },
{ name = "*.env", text = "", fg = "#e5c890" },
{ name = "*.eot", text = "", fg = "#f2d5cf" },
{ name = "*.epp", text = "", fg = "#e5c890" },
{ name = "*.epub", text = "", fg = "#e5c890" },
{ name = "*.erb", text = "", fg = "#292c3c" },
{ name = "*.erl", text = "", fg = "#626880" },
{ name = "*.ex", text = "", fg = "#ca9ee6" },
{ name = "*.exe", text = "", fg = "#414559" },
{ name = "*.exs", text = "", fg = "#ca9ee6" },
{ name = "*.f#", text = "", fg = "#85c1dc" },
{ name = "*.f3d", text = "󰻫", fg = "#a6d189" },
{ name = "*.f90", text = "󱈚", fg = "#51576d" },
{ name = "*.fbx", text = "󰆧", fg = "#838ba7" },
{ name = "*.fcbak", text = "", fg = "#e78284" },
{ name = "*.fcmacro", text = "", fg = "#e78284" },
{ name = "*.fcmat", text = "", fg = "#e78284" },
{ name = "*.fcparam", text = "", fg = "#e78284" },
{ name = "*.fcscript", text = "", fg = "#e78284" },
{ name = "*.fcstd", text = "", fg = "#e78284" },
{ name = "*.fcstd1", text = "", fg = "#e78284" },
{ name = "*.fctb", text = "", fg = "#e78284" },
{ name = "*.fctl", text = "", fg = "#e78284" },
{ name = "*.fdmdownload", text = "", fg = "#81c8be" },
{ name = "*.fish", text = "", fg = "#51576d" },
{ name = "*.flac", text = "", fg = "#626880" },
{ name = "*.flc", text = "", fg = "#f2d5cf" },
{ name = "*.flf", text = "", fg = "#f2d5cf" },
{ name = "*.fnl", text = "", fg = "#e5c890" },
{ name = "*.fs", text = "", fg = "#85c1dc" },
{ name = "*.fsi", text = "", fg = "#85c1dc" },
{ name = "*.fsscript", text = "", fg = "#85c1dc" },
{ name = "*.fsx", text = "", fg = "#85c1dc" },
{ name = "*.gcode", text = "󰐫", fg = "#626880" },
{ name = "*.gd", text = "", fg = "#737994" },
{ name = "*.gemspec", text = "", fg = "#292c3c" },
{ name = "*.gif", text = "", fg = "#ca9ee6" },
{ name = "*.git", text = "", fg = "#e78284" },
{ name = "*.glb", text = "", fg = "#e5c890" },
{ name = "*.gnumakefile", text = "", fg = "#737994" },
{ name = "*.go", text = "", fg = "#85c1dc" },
{ name = "*.godot", text = "", fg = "#737994" },
{ name = "*.gql", text = "", fg = "#ca9ee6" },
{ name = "*.graphql", text = "", fg = "#ca9ee6" },
{ name = "*.gresource", text = "", fg = "#f2d5cf" },
{ name = "*.gv", text = "󱁉", fg = "#51576d" },
{ name = "*.gz", text = "", fg = "#e5c890" },
{ name = "*.h", text = "", fg = "#ca9ee6" },
{ name = "*.haml", text = "", fg = "#f2d5cf" },
{ name = "*.hbs", text = "", fg = "#ef9f76" },
{ name = "*.heex", text = "", fg = "#ca9ee6" },
{ name = "*.hex", text = "", fg = "#626880" },
{ name = "*.hh", text = "", fg = "#ca9ee6" },
{ name = "*.hpp", text = "", fg = "#ca9ee6" },
{ name = "*.hrl", text = "", fg = "#626880" },
{ name = "*.hs", text = "", fg = "#ca9ee6" },
{ name = "*.htm", text = "", fg = "#e78284" },
{ name = "*.html", text = "", fg = "#e78284" },
{ name = "*.huff", text = "󰡘", fg = "#51576d" },
{ name = "*.hurl", text = "", fg = "#e78284" },
{ name = "*.hx", text = "", fg = "#ef9f76" },
{ name = "*.hxx", text = "", fg = "#ca9ee6" },
{ name = "*.ical", text = "", fg = "#303446" },
{ name = "*.icalendar", text = "", fg = "#303446" },
{ name = "*.ico", text = "", fg = "#e5c890" },
{ name = "*.ics", text = "", fg = "#303446" },
{ name = "*.ifb", text = "", fg = "#303446" },
{ name = "*.ifc", text = "󰻫", fg = "#a6d189" },
{ name = "*.ige", text = "󰻫", fg = "#a6d189" },
{ name = "*.iges", text = "󰻫", fg = "#a6d189" },
{ name = "*.igs", text = "󰻫", fg = "#a6d189" },
{ name = "*.image", text = "", fg = "#f2d5cf" },
{ name = "*.img", text = "", fg = "#f2d5cf" },
{ name = "*.import", text = "", fg = "#f2d5cf" },
{ name = "*.info", text = "", fg = "#e5c890" },
{ name = "*.ini", text = "", fg = "#737994" },
{ name = "*.ino", text = "", fg = "#85c1dc" },
{ name = "*.ipynb", text = "", fg = "#85c1dc" },
{ name = "*.iso", text = "", fg = "#f2d5cf" },
{ name = "*.ixx", text = "", fg = "#85c1dc" },
{ name = "*.java", text = "", fg = "#e78284" },
{ name = "*.jl", text = "", fg = "#ca9ee6" },
{ name = "*.jpeg", text = "", fg = "#ca9ee6" },
{ name = "*.jpg", text = "", fg = "#ca9ee6" },
{ name = "*.js", text = "", fg = "#e5c890" },
{ name = "*.json", text = "", fg = "#e5c890" },
{ name = "*.json5", text = "", fg = "#e5c890" },
{ name = "*.jsonc", text = "", fg = "#e5c890" },
{ name = "*.jsx", text = "", fg = "#85c1dc" },
{ name = "*.jwmrc", text = "", fg = "#737994" },
{ name = "*.jxl", text = "", fg = "#ca9ee6" },
{ name = "*.kbx", text = "󰯄", fg = "#626880" },
{ name = "*.kdb", text = "", fg = "#a6d189" },
{ name = "*.kdbx", text = "", fg = "#a6d189" },
{ name = "*.kdenlive", text = "", fg = "#8caaee" },
{ name = "*.kdenlivetitle", text = "", fg = "#8caaee" },
{ name = "*.kicad_dru", text = "", fg = "#f2d5cf" },
{ name = "*.kicad_mod", text = "", fg = "#f2d5cf" },
{ name = "*.kicad_pcb", text = "", fg = "#f2d5cf" },
{ name = "*.kicad_prl", text = "", fg = "#f2d5cf" },
{ name = "*.kicad_pro", text = "", fg = "#f2d5cf" },
{ name = "*.kicad_sch", text = "", fg = "#f2d5cf" },
{ name = "*.kicad_sym", text = "", fg = "#f2d5cf" },
{ name = "*.kicad_wks", text = "", fg = "#f2d5cf" },
{ name = "*.ko", text = "", fg = "#f2d5cf" },
{ name = "*.kpp", text = "", fg = "#ca9ee6" },
{ name = "*.kra", text = "", fg = "#ca9ee6" },
{ name = "*.krz", text = "", fg = "#ca9ee6" },
{ name = "*.ksh", text = "", fg = "#51576d" },
{ name = "*.kt", text = "", fg = "#737994" },
{ name = "*.kts", text = "", fg = "#737994" },
{ name = "*.lck", text = "", fg = "#b5bfe2" },
{ name = "*.leex", text = "", fg = "#ca9ee6" },
{ name = "*.less", text = "", fg = "#414559" },
{ name = "*.lff", text = "", fg = "#f2d5cf" },
{ name = "*.lhs", text = "", fg = "#ca9ee6" },
{ name = "*.lib", text = "", fg = "#232634" },
{ name = "*.license", text = "", fg = "#e5c890" },
{ name = "*.liquid", text = "", fg = "#a6d189" },
{ name = "*.lock", text = "", fg = "#b5bfe2" },
{ name = "*.log", text = "󰌱", fg = "#f2d5cf" },
{ name = "*.lrc", text = "󰨖", fg = "#e5c890" },
{ name = "*.lua", text = "", fg = "#85c1dc" },
{ name = "*.luac", text = "", fg = "#85c1dc" },
{ name = "*.luau", text = "", fg = "#8caaee" },
{ name = "*.m", text = "", fg = "#8caaee" },
{ name = "*.m3u", text = "󰲹", fg = "#ea999c" },
{ name = "*.m3u8", text = "󰲹", fg = "#ea999c" },
{ name = "*.m4a", text = "", fg = "#85c1dc" },
{ name = "*.m4v", text = "", fg = "#ef9f76" },
{ name = "*.magnet", text = "", fg = "#e78284" },
{ name = "*.makefile", text = "", fg = "#737994" },
{ name = "*.markdown", text = "", fg = "#f2d5cf" },
{ name = "*.material", text = "󰔉", fg = "#626880" },
{ name = "*.md", text = "", fg = "#f2d5cf" },
{ name = "*.md5", text = "󰕥", fg = "#838ba7" },
{ name = "*.mdx", text = "", fg = "#85c1dc" },
{ name = "*.mint", text = "󰌪", fg = "#a6d189" },
{ name = "*.mjs", text = "", fg = "#e5c890" },
{ name = "*.mk", text = "", fg = "#737994" },
{ name = "*.mkv", text = "", fg = "#ef9f76" },
{ name = "*.ml", text = "", fg = "#ef9f76" },
{ name = "*.mli", text = "", fg = "#ef9f76" },
{ name = "*.mm", text = "", fg = "#85c1dc" },
{ name = "*.mo", text = "∞", fg = "#838ba7" },
{ name = "*.mobi", text = "", fg = "#e5c890" },
{ name = "*.mojo", text = "", fg = "#ef9f76" },
{ name = "*.mov", text = "", fg = "#ef9f76" },
{ name = "*.mp3", text = "", fg = "#85c1dc" },
{ name = "*.mp4", text = "", fg = "#ef9f76" },
{ name = "*.mpp", text = "", fg = "#85c1dc" },
{ name = "*.msf", text = "", fg = "#8caaee" },
{ name = "*.mts", text = "", fg = "#85c1dc" },
{ name = "*.mustache", text = "", fg = "#ef9f76" },
{ name = "*.nfo", text = "", fg = "#e5c890" },
{ name = "*.nim", text = "", fg = "#e5c890" },
{ name = "*.nix", text = "", fg = "#85c1dc" },
{ name = "*.nswag", text = "", fg = "#a6d189" },
{ name = "*.nu", text = ">", fg = "#81c8be" },
{ name = "*.o", text = "", fg = "#414559" },
{ name = "*.obj", text = "󰆧", fg = "#838ba7" },
{ name = "*.ogg", text = "", fg = "#626880" },
{ name = "*.opus", text = "", fg = "#626880" },
{ name = "*.org", text = "", fg = "#81c8be" },
{ name = "*.otf", text = "", fg = "#f2d5cf" },
{ name = "*.out", text = "", fg = "#414559" },
{ name = "*.part", text = "", fg = "#81c8be" },
{ name = "*.patch", text = "", fg = "#51576d" },
{ name = "*.pck", text = "", fg = "#737994" },
{ name = "*.pcm", text = "", fg = "#626880" },
{ name = "*.pdf", text = "", fg = "#e78284" },
{ name = "*.php", text = "", fg = "#ca9ee6" },
{ name = "*.pl", text = "", fg = "#85c1dc" },
{ name = "*.pls", text = "󰲹", fg = "#ea999c" },
{ name = "*.ply", text = "󰆧", fg = "#838ba7" },
{ name = "*.pm", text = "", fg = "#85c1dc" },
{ name = "*.png", text = "", fg = "#ca9ee6" },
{ name = "*.po", text = "", fg = "#85c1dc" },
{ name = "*.pot", text = "", fg = "#85c1dc" },
{ name = "*.pp", text = "", fg = "#e5c890" },
{ name = "*.ppt", text = "󰈧", fg = "#e78284" },
{ name = "*.prisma", text = "", fg = "#737994" },
{ name = "*.pro", text = "", fg = "#e5c890" },
{ name = "*.ps1", text = "󰨊", fg = "#737994" },
{ name = "*.psb", text = "", fg = "#85c1dc" },
{ name = "*.psd", text = "", fg = "#85c1dc" },
{ name = "*.psd1", text = "󰨊", fg = "#737994" },
{ name = "*.psm1", text = "󰨊", fg = "#737994" },
{ name = "*.pub", text = "󰷖", fg = "#e5c890" },
{ name = "*.pxd", text = "", fg = "#8caaee" },
{ name = "*.pxi", text = "", fg = "#8caaee" },
{ name = "*.py", text = "", fg = "#e5c890" },
{ name = "*.pyc", text = "", fg = "#e5c890" },
{ name = "*.pyd", text = "", fg = "#e5c890" },
{ name = "*.pyi", text = "", fg = "#e5c890" },
{ name = "*.pyo", text = "", fg = "#e5c890" },
{ name = "*.pyx", text = "", fg = "#8caaee" },
{ name = "*.qm", text = "", fg = "#85c1dc" },
{ name = "*.qml", text = "", fg = "#a6d189" },
{ name = "*.qrc", text = "", fg = "#a6d189" },
{ name = "*.qss", text = "", fg = "#a6d189" },
{ name = "*.query", text = "", fg = "#a6d189" },
{ name = "*.r", text = "󰟔", fg = "#626880" },
{ name = "*.rake", text = "", fg = "#292c3c" },
{ name = "*.rar", text = "", fg = "#e5c890" },
{ name = "*.razor", text = "󱦘", fg = "#51576d" },
{ name = "*.rb", text = "", fg = "#292c3c" },
{ name = "*.res", text = "", fg = "#e78284" },
{ name = "*.resi", text = "", fg = "#e78284" },
{ name = "*.rlib", text = "", fg = "#ef9f76" },
{ name = "*.rmd", text = "", fg = "#85c1dc" },
{ name = "*.rproj", text = "󰗆", fg = "#81c8be" },
{ name = "*.rs", text = "", fg = "#ef9f76" },
{ name = "*.rss", text = "", fg = "#ef9f76" },
{ name = "*.sass", text = "", fg = "#e78284" },
{ name = "*.sbt", text = "", fg = "#e78284" },
{ name = "*.sc", text = "", fg = "#e78284" },
{ name = "*.scad", text = "", fg = "#e5c890" },
{ name = "*.scala", text = "", fg = "#e78284" },
{ name = "*.scm", text = "󰘧", fg = "#f2d5cf" },
{ name = "*.scss", text = "", fg = "#e78284" },
{ name = "*.sh", text = "", fg = "#51576d" },
{ name = "*.sha1", text = "󰕥", fg = "#838ba7" },
{ name = "*.sha224", text = "󰕥", fg = "#838ba7" },
{ name = "*.sha256", text = "󰕥", fg = "#838ba7" },
{ name = "*.sha384", text = "󰕥", fg = "#838ba7" },
{ name = "*.sha512", text = "󰕥", fg = "#838ba7" },
{ name = "*.sig", text = "λ", fg = "#ef9f76" },
{ name = "*.signature", text = "λ", fg = "#ef9f76" },
{ name = "*.skp", text = "󰻫", fg = "#a6d189" },
{ name = "*.sldasm", text = "󰻫", fg = "#a6d189" },
{ name = "*.sldprt", text = "󰻫", fg = "#a6d189" },
{ name = "*.slim", text = "", fg = "#e78284" },
{ name = "*.sln", text = "", fg = "#626880" },
{ name = "*.slvs", text = "󰻫", fg = "#a6d189" },
{ name = "*.sml", text = "λ", fg = "#ef9f76" },
{ name = "*.so", text = "", fg = "#f2d5cf" },
{ name = "*.sol", text = "", fg = "#85c1dc" },
{ name = "*.spec.js", text = "", fg = "#e5c890" },
{ name = "*.spec.jsx", text = "", fg = "#85c1dc" },
{ name = "*.spec.ts", text = "", fg = "#85c1dc" },
{ name = "*.spec.tsx", text = "", fg = "#51576d" },
{ name = "*.sql", text = "", fg = "#f2d5cf" },
{ name = "*.sqlite", text = "", fg = "#f2d5cf" },
{ name = "*.sqlite3", text = "", fg = "#f2d5cf" },
{ name = "*.srt", text = "󰨖", fg = "#e5c890" },
{ name = "*.ssa", text = "󰨖", fg = "#e5c890" },
{ name = "*.ste", text = "󰻫", fg = "#a6d189" },
{ name = "*.step", text = "󰻫", fg = "#a6d189" },
{ name = "*.stl", text = "󰆧", fg = "#838ba7" },
{ name = "*.stp", text = "󰻫", fg = "#a6d189" },
{ name = "*.strings", text = "", fg = "#85c1dc" },
{ name = "*.styl", text = "", fg = "#a6d189" },
{ name = "*.sub", text = "󰨖", fg = "#e5c890" },
{ name = "*.sublime", text = "", fg = "#ef9f76" },
{ name = "*.suo", text = "", fg = "#626880" },
{ name = "*.sv", text = "󰍛", fg = "#a6d189" },
{ name = "*.svelte", text = "", fg = "#ef9f76" },
{ name = "*.svg", text = "󰜡", fg = "#e5c890" },
{ name = "*.svh", text = "󰍛", fg = "#a6d189" },
{ name = "*.swift", text = "", fg = "#ef9f76" },
{ name = "*.t", text = "", fg = "#85c1dc" },
{ name = "*.tbc", text = "󰛓", fg = "#51576d" },
{ name = "*.tcl", text = "󰛓", fg = "#51576d" },
{ name = "*.templ", text = "", fg = "#e5c890" },
{ name = "*.terminal", text = "", fg = "#a6d189" },
{ name = "*.test.js", text = "", fg = "#e5c890" },
{ name = "*.test.jsx", text = "", fg = "#85c1dc" },
{ name = "*.test.ts", text = "", fg = "#85c1dc" },
{ name = "*.test.tsx", text = "", fg = "#51576d" },
{ name = "*.tex", text = "", fg = "#414559" },
{ name = "*.tf", text = "", fg = "#626880" },
{ name = "*.tfvars", text = "", fg = "#626880" },
{ name = "*.tgz", text = "", fg = "#e5c890" },
{ name = "*.tmux", text = "", fg = "#a6d189" },
{ name = "*.toml", text = "", fg = "#e78284" },
{ name = "*.torrent", text = "", fg = "#81c8be" },
{ name = "*.tres", text = "", fg = "#737994" },
{ name = "*.ts", text = "", fg = "#85c1dc" },
{ name = "*.tscn", text = "", fg = "#737994" },
{ name = "*.tsconfig", text = "", fg = "#ef9f76" },
{ name = "*.tsx", text = "", fg = "#51576d" },
{ name = "*.ttf", text = "", fg = "#f2d5cf" },
{ name = "*.twig", text = "", fg = "#a6d189" },
{ name = "*.txt", text = "󰈙", fg = "#a6d189" },
{ name = "*.txz", text = "", fg = "#e5c890" },
{ name = "*.typoscript", text = "", fg = "#ef9f76" },
{ name = "*.ui", text = "", fg = "#303446" },
{ name = "*.v", text = "󰍛", fg = "#a6d189" },
{ name = "*.vala", text = "", fg = "#51576d" },
{ name = "*.vh", text = "󰍛", fg = "#a6d189" },
{ name = "*.vhd", text = "󰍛", fg = "#a6d189" },
{ name = "*.vhdl", text = "󰍛", fg = "#a6d189" },
{ name = "*.vim", text = "", fg = "#a6d189" },
{ name = "*.vsh", text = "", fg = "#838ba7" },
{ name = "*.vsix", text = "", fg = "#626880" },
{ name = "*.vue", text = "", fg = "#a6d189" },
{ name = "*.wasm", text = "", fg = "#626880" },
{ name = "*.wav", text = "", fg = "#85c1dc" },
{ name = "*.webm", text = "", fg = "#ef9f76" },
{ name = "*.webmanifest", text = "", fg = "#e5c890" },
{ name = "*.webp", text = "", fg = "#ca9ee6" },
{ name = "*.webpack", text = "󰜫", fg = "#85c1dc" },
{ name = "*.wma", text = "", fg = "#85c1dc" },
{ name = "*.woff", text = "", fg = "#f2d5cf" },
{ name = "*.woff2", text = "", fg = "#f2d5cf" },
{ name = "*.wrl", text = "󰆧", fg = "#838ba7" },
{ name = "*.wrz", text = "󰆧", fg = "#838ba7" },
{ name = "*.x", text = "", fg = "#8caaee" },
{ name = "*.xaml", text = "󰙳", fg = "#51576d" },
{ name = "*.xcf", text = "", fg = "#51576d" },
{ name = "*.xcplayground", text = "", fg = "#ef9f76" },
{ name = "*.xcstrings", text = "", fg = "#85c1dc" },
{ name = "*.xls", text = "󰈛", fg = "#51576d" },
{ name = "*.xlsx", text = "󰈛", fg = "#51576d" },
{ name = "*.xm", text = "", fg = "#85c1dc" },
{ name = "*.xml", text = "󰗀", fg = "#ef9f76" },
{ name = "*.xpi", text = "", fg = "#e78284" },
{ name = "*.xul", text = "", fg = "#ef9f76" },
{ name = "*.xz", text = "", fg = "#e5c890" },
{ name = "*.yaml", text = "", fg = "#737994" },
{ name = "*.yml", text = "", fg = "#737994" },
{ name = "*.zig", text = "", fg = "#ef9f76" },
{ name = "*.zip", text = "", fg = "#e5c890" },
{ name = "*.zsh", text = "", fg = "#a6d189" },
{ name = "*.zst", text = "", fg = "#e5c890" },
{ name = "*.🔥", text = "", fg = "#ef9f76" },
]

View File

@@ -1,343 +0,0 @@
# A TOML linter such as https://taplo.tamasfe.dev/ can use this schema to validate your config.
# If you encounter any issues, please make an issue at https://github.com/yazi-rs/schemas.
"$schema" = "https://yazi-rs.github.io/schemas/theme.json"
# vim:fileencoding=utf-8:foldmethod=marker
# : Flavor {{{
[flavor]
use = ""
# : }}}
# : Manager {{{
[manager]
cwd = { fg = "cyan" }
# Hovered
hovered = { reversed = true }
preview_hovered = { underline = true }
# Find
find_keyword = { fg = "yellow", bold = true, italic = true, underline = true }
find_position = { fg = "magenta", bg = "reset", bold = true, italic = true }
# Marker
marker_copied = { fg = "lightgreen", bg = "lightgreen" }
marker_cut = { fg = "lightred", bg = "lightred" }
marker_marked = { fg = "lightcyan", bg = "lightcyan" }
marker_selected = { fg = "lightyellow", bg = "lightyellow" }
# Tab
tab_active = { reversed = true }
tab_inactive = {}
tab_width = 1
# Count
count_copied = { fg = "white", bg = "green" }
count_cut = { fg = "white", bg = "red" }
count_selected = { fg = "white", bg = "yellow" }
# Border
border_symbol = "│"
border_style = { fg = "gray" }
# Highlighting
syntect_theme = ""
# : }}}
# : Status {{{
[status]
separator_open = ""
separator_close = ""
separator_style = { fg = "gray", bg = "gray" }
# Mode
mode_normal = { bg = "blue", bold = true }
mode_select = { bg = "red", bold = true }
mode_unset = { bg = "red", bold = true }
# Progress
progress_label = { bold = true }
progress_normal = { fg = "blue", bg = "black" }
progress_error = { fg = "red", bg = "black" }
# Permissions
permissions_t = { fg = "green" }
permissions_r = { fg = "yellow" }
permissions_w = { fg = "red" }
permissions_x = { fg = "cyan" }
permissions_s = { fg = "darkgray" }
# : }}}
# : Select {{{
[select]
border = { fg = "blue" }
active = { fg = "magenta", bold = true }
inactive = {}
# : }}}
# : Input {{{
[input]
border = { fg = "blue" }
title = {}
value = {}
selected = { reversed = true }
# : }}}
# : Completion {{{
[completion]
border = { fg = "blue" }
active = { reversed = true }
inactive = {}
# Icons
icon_file = ""
icon_folder = ""
icon_command = ""
# : }}}
# : Tasks {{{
[tasks]
border = { fg = "blue" }
title = {}
hovered = { fg = "magenta", underline = true }
# : }}}
# : Which {{{
[which]
cols = 3
mask = { bg = "black" }
cand = { fg = "lightcyan" }
rest = { fg = "darkgray" }
desc = { fg = "lightmagenta" }
separator = "  "
separator_style = { fg = "darkgray" }
# : }}}
# : Help {{{
[help]
on = { fg = "cyan" }
run = { fg = "magenta" }
desc = {}
hovered = { reversed = true, bold = true }
footer = { fg = "black", bg = "white" }
# : }}}
# : Notify {{{
[notify]
title_info = { fg = "green" }
title_warn = { fg = "yellow" }
title_error = { fg = "red" }
# Icons
icon_info = ""
icon_warn = ""
icon_error = ""
# : }}}
# : File-specific styles {{{
[filetype]
rules = [
# Images
{ mime = "image/*", fg = "cyan" },
# Media
{ mime = "{audio,video}/*", fg = "yellow" },
# Archives
{ mime = "application/*zip", fg = "magenta" },
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", fg = "magenta" },
# Documents
{ mime = "application/{pdf,doc,rtf,vnd.*}", fg = "green" },
# Fallback
# { name = "*", fg = "white" },
{ name = "*/", fg = "blue" }
]
[icon]
rules = [
# Programming
{ name = "*.c" , text = "", fg = "#599eff" },
{ name = "*.cpp" , text = "", fg = "#519aba" },
{ name = "*.class", text = "", fg = "#cc3e44" },
{ name = "*.cs" , text = "󰌛", fg = "#596706" },
{ name = "*.css" , text = "", fg = "#42a5f5" },
{ name = "*.elm" , text = "", fg = "#4391d2" },
{ name = "*.fish" , text = "", fg = "#4d5a5e" },
{ name = "*.go" , text = "", fg = "#519aba" },
{ name = "*.h" , text = "", fg = "#a074c4" },
{ name = "*.hpp" , text = "", fg = "#a074c4" },
{ name = "*.html" , text = "", fg = "#e44d26" },
{ name = "*.jar" , text = "", fg = "#cc3e44" },
{ name = "*.java" , text = "", fg = "#cc3e44" },
{ name = "*.js" , text = "", fg = "#F1F134" },
{ name = "*.jsx" , text = "", fg = "#20c2e3" },
{ name = "*.lua" , text = "", fg = "#51a0cf" },
{ name = "*.nix" , text = "", fg = "#7ebae4" },
{ name = "*.nu" , text = ">", fg = "#3aa675" },
{ name = "*.php" , text = "", fg = "#a074c4" },
{ name = "*.py" , text = "", fg = "#ffbc03" },
{ name = "*.rb" , text = "", fg = "#701516" },
{ name = "*.rs" , text = "", fg = "#dea584" },
{ name = "*.sbt" , text = "", fg = "#4d5a5e" },
{ name = "*.scala", text = "", fg = "#cc463e" },
{ name = "*.scss" , text = "", fg = "#f55385" },
{ name = "*.sh" , text = "", fg = "#4d5a5e" },
{ name = "*.swift", text = "", fg = "#e37933" },
{ name = "*.ts" , text = "", fg = "#519aba" },
{ name = "*.tsx" , text = "", fg = "#1354bf" },
{ name = "*.vim" , text = "", fg = "#019833" },
{ name = "*.vue" , text = "󰡄", fg = "#8dc149" },
# Text
{ name = "*.conf", text = "", fg = "#6d8086" },
{ name = "*.ini" , text = "", fg = "#6d8086" },
{ name = "*.json", text = "", fg = "#cbcb41" },
{ name = "*.kdl" , text = "", fg = "#6d8086" },
{ name = "*.md" , text = "", fg = "#ffffff" },
{ name = "*.toml", text = "", fg = "#ffffff" },
{ name = "*.txt" , text = "", fg = "#89e051" },
{ name = "*.yaml", text = "", fg = "#6d8086" },
{ name = "*.yml" , text = "", fg = "#6d8086" },
# Archives
{ name = "*.7z" , text = "" },
{ name = "*.bz2", text = "" },
{ name = "*.gz" , text = "" },
{ name = "*.rar", text = "" },
{ name = "*.tar", text = "" },
{ name = "*.xz" , text = "" },
{ name = "*.zip", text = "" },
# Images
{ name = "*.HEIC", text = "", fg = "#a074c4" },
{ name = "*.avif", text = "", fg = "#a074c4" },
{ name = "*.bmp" , text = "", fg = "#a074c4" },
{ name = "*.gif" , text = "", fg = "#a074c4" },
{ name = "*.ico" , text = "", fg = "#cbcb41" },
{ name = "*.jpeg", text = "", fg = "#a074c4" },
{ name = "*.jpg" , text = "", fg = "#a074c4" },
{ name = "*.png" , text = "", fg = "#a074c4" },
{ name = "*.svg" , text = "", fg = "#FFB13B" },
{ name = "*.webp", text = "", fg = "#a074c4" },
# Movies
{ name = "*.avi" , text = "", fg = "#FD971F" },
{ name = "*.mkv" , text = "", fg = "#FD971F" },
{ name = "*.mov" , text = "", fg = "#FD971F" },
{ name = "*.mp4" , text = "", fg = "#FD971F" },
{ name = "*.webm", text = "", fg = "#FD971F" },
# Audio
{ name = "*.aac" , text = "", fg = "#66D8EF" },
{ name = "*.flac", text = "", fg = "#66D8EF" },
{ name = "*.m4a" , text = "", fg = "#66D8EF" },
{ name = "*.mp3" , text = "", fg = "#66D8EF" },
{ name = "*.ogg" , text = "", fg = "#66D8EF" },
{ name = "*.wav" , text = "", fg = "#66D8EF" },
# Documents
{ name = "*.csv" , text = "", fg = "#89e051" },
{ name = "*.doc" , text = "", fg = "#185abd" },
{ name = "*.doct", text = "", fg = "#185abd" },
{ name = "*.docx", text = "", fg = "#185abd" },
{ name = "*.dot" , text = "", fg = "#185abd" },
{ name = "*.ods" , text = "", fg = "#207245" },
{ name = "*.ots" , text = "", fg = "#207245" },
{ name = "*.pdf" , text = "", fg = "#b30b00" },
{ name = "*.pom" , text = "", fg = "#cc3e44" },
{ name = "*.pot" , text = "", fg = "#cb4a32" },
{ name = "*.potx", text = "", fg = "#cb4a32" },
{ name = "*.ppm" , text = "", fg = "#a074c4" },
{ name = "*.ppmx", text = "", fg = "#cb4a32" },
{ name = "*.pps" , text = "", fg = "#cb4a32" },
{ name = "*.ppsx", text = "", fg = "#cb4a32" },
{ name = "*.ppt" , text = "", fg = "#cb4a32" },
{ name = "*.pptx", text = "", fg = "#cb4a32" },
{ name = "*.xlc" , text = "", fg = "#207245" },
{ name = "*.xlm" , text = "", fg = "#207245" },
{ name = "*.xls" , text = "", fg = "#207245" },
{ name = "*.xlsm", text = "", fg = "#207245" },
{ name = "*.xlsx", text = "", fg = "#207245" },
{ name = "*.xlt" , text = "", fg = "#207245" },
# Lockfiles
{ name = "*.lock", text = "", fg = "#bbbbbb" },
# Misc
{ name = "*.bin", text = "", fg = "#9F0500" },
{ name = "*.exe", text = "", fg = "#9F0500" },
{ name = "*.pkg", text = "", fg = "#9F0500" },
# Dotfiles
{ name = ".DS_Store" , text = "", fg = "#41535b" },
{ name = ".bashprofile" , text = "", fg = "#89e051" },
{ name = ".bashrc" , text = "", fg = "#89e051" },
{ name = ".gitattributes", text = "", fg = "#41535b" },
{ name = ".gitignore" , text = "", fg = "#41535b" },
{ name = ".gitmodules" , text = "", fg = "#41535b" },
{ name = ".vimrc" , text = "", fg = "#019833" },
{ name = ".zprofile" , text = "", fg = "#89e051" },
{ name = ".zshenv" , text = "", fg = "#89e051" },
{ name = ".zshrc" , text = "", fg = "#89e051" },
# Named files
{ name = "COPYING" , text = "󰿃", fg = "#cbcb41" },
{ name = "Containerfile", text = "󰡨", fg = "#458ee6" },
{ name = "Dockerfile" , text = "󰡨", fg = "#458ee6" },
{ name = "LICENSE" , text = "󰿃", fg = "#d0bf41" },
# Directories
{ name = ".config/" , text = "" },
{ name = ".git/" , text = "" },
{ name = "Desktop/" , text = "" },
{ name = "Development/", text = "" },
{ name = "Documents/" , text = "" },
{ name = "Downloads/" , text = "" },
{ name = "Library/" , text = "" },
{ name = "Movies/" , text = "" },
{ name = "Music/" , text = "" },
{ name = "Pictures/" , text = "" },
{ name = "Public/" , text = "" },
{ name = "Videos/" , text = "" },
# Default
{ name = "*" , text = "" },
{ name = "*/", text = "" },
]
# : }}}

View File

@@ -1,228 +0,0 @@
# A TOML linter such as https://taplo.tamasfe.dev/ can use this schema to validate your config.
# If you encounter any issues, please make an issue at https://github.com/yazi-rs/schemas.
"$schema" = "https://yazi-rs.github.io/schemas/yazi.json"
[mgr]
ratio = [1, 4, 3]
sort_by = "natural"
sort_sensitive = false
sort_reverse = false
sort_dir_first = true
linemode = "none"
show_hidden = true
show_symlink = true
scrolloff = 5
[preview]
tab_size = 2
max_width = 600
max_height = 900
cache_dir = ""
image_filter = "triangle"
image_quality = 75
sixel_fraction = 15
ueberzug_scale = 1
ueberzug_offset = [0, 0, 0, 0]
[opener]
edit = [
{ run = '${EDITOR:=nvim} "$@"', desc = "$EDITOR", block = true, for = "unix" },
{ run = 'code "%*"', orphan = true, desc = "code", for = "windows" },
{ run = 'code -w "%*"', block = true, desc = "code (block)", for = "windows" },
]
open = [
{ run = 'xdg-open "$@"', desc = "Open", for = "linux" },
{ run = 'open "$@"', desc = "Open", for = "macos" },
{ run = 'start "" "%1"', orphan = true, desc = "Open", for = "windows" },
]
reveal = [
{ run = 'xdg-open "$(dirname "$0")"', desc = "Reveal", for = "linux" },
{ run = 'open -R "$1"', desc = "Reveal", for = "macos" },
{ run = 'explorer /select, "%1"', orphan = true, desc = "Reveal", for = "windows" },
{ run = '''exiftool "$1"; echo "Press enter to exit"; read _''', block = true, desc = "Show EXIF", for = "unix" },
]
extract = [
{ run = 'unar "$1"', desc = "Extract here", for = "unix" },
{ run = 'unar "%1"', desc = "Extract here", for = "windows" },
]
play = [
{ run = 'mpv "$@"', orphan = true, for = "unix" },
{ run = 'mpv "%1"', orphan = true, for = "windows" },
{ run = '''mediainfo "$1"; echo "Press enter to exit"; read _''', block = true, desc = "Show media info", for = "unix" },
]
[open]
rules = [
{ name = "*/", use = [
"edit",
"open",
"reveal",
] },
{ mime = "text/*", use = [
"edit",
"reveal",
] },
{ mime = "image/*", use = [
"open",
"reveal",
] },
{ mime = "{audio,video}/*", use = [
"play",
"reveal",
] },
{ mime = "inode/x-empty", use = [
"edit",
"reveal",
] },
{ mime = "application/*zip", use = [
"extract",
"reveal",
] },
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", use = [
"extract",
"reveal",
] },
{ mime = "application/json", use = [
"edit",
"reveal",
] },
{ mime = "*/javascript", use = [
"edit",
"reveal",
] },
{ mime = "*", use = [
"open",
"reveal",
] },
]
[tasks]
micro_workers = 10
macro_workers = 25
bizarre_retry = 5
image_alloc = 536870912 # 512MB
image_bound = [0, 0]
suppress_preload = false
[plugin]
#preloaders = [
# { name = "*", cond = "!mime", run = "mime", multi = true, prio = "high" },
# # Image
# { mime = "image/*", run = "image" },
# # Video
# { mime = "video/*", run = "video" },
# # PDF
# { mime = "application/pdf", run = "pdf" },
# #]
previewers = [
{ name = "*/", run = "folder", sync = true },
# Code
{ mime = "text/*", run = "code" },
{ mime = "*/{xml,javascript,x-wine-extension-ini}", run = "code" },
# JSON
{ mime = "application/json", run = "json" },
# Image
{ mime = "image/vnd.djvu", run = "noop" },
{ mime = "image/*", run = "image" },
# Video
{ mime = "video/*", run = "video" },
# PDF
{ mime = "application/pdf", run = "pdf" },
# CSV
{ mime = "text/csv", run = "miller" },
# Archive
{ mime = "application/*zip", run = "archive" },
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", run = "archive" },
# Fallback
{ name = "*", run = "hexyl" },
]
prepend_previewers = [
# Exifaudio
{ mime = "audio/*", run = "exifaudio" },
# Archive previewer
{ mime = "application/*zip", run = "ouch" },
{ mime = "application/x-tar", run = "ouch" },
{ mime = "application/x-bzip2", run = "ouch" },
{ mime = "application/x-7z-compressed", run = "ouch" },
{ mime = "application/x-rar", run = "ouch" },
{ mime = "application/x-xz", run = "ouch" },
# Markdown previewer
{ name = ".md", run = "glow" },
]
[input]
# cd
cd_title = "Change directory:"
cd_origin = "top-center"
cd_offset = [0, 2, 50, 3]
# create
create_title = "Create:"
create_origin = "top-center"
create_offset = [0, 2, 50, 3]
# rename
rename_title = "Rename:"
rename_origin = "hovered"
rename_offset = [0, 1, 50, 3]
# trash
trash_title = "Move {n} selected file{s} to trash? (y/N)"
trash_origin = "top-center"
trash_offset = [0, 2, 50, 3]
# delete
delete_title = "Delete {n} selected file{s} permanently? (y/N)"
delete_origin = "top-center"
delete_offset = [0, 2, 50, 3]
# filter
filter_title = "Filter:"
filter_origin = "top-center"
filter_offset = [0, 2, 50, 3]
# find
find_title = ["Find next:", "Find previous:"]
find_origin = "top-center"
find_offset = [0, 2, 50, 3]
# search
search_title = "Search via {n}:"
search_origin = "top-center"
search_offset = [0, 2, 50, 3]
# shell
shell_title = ["Shell:", "Shell (block):"]
shell_origin = "top-center"
shell_offset = [0, 2, 50, 3]
# overwrite
overwrite_title = "Overwrite an existing file? (y/N)"
overwrite_origin = "top-center"
overwrite_offset = [0, 2, 50, 3]
# quit
quit_title = "{n} task{s} running, sure to quit? (y/N)"
quit_origin = "top-center"
quit_offset = [0, 2, 50, 3]
[select]
open_title = "Open with:"
open_origin = "hovered"
open_offset = [0, 1, 50, 7]
[which]
sort_by = "none"
sort_sensitive = false
sort_reverse = false
[log]
enabled = false
[headsup]

View File

@@ -1,228 +0,0 @@
# A TOML linter such as https://taplo.tamasfe.dev/ can use this schema to validate your config.
# If you encounter any issues, please make an issue at https://github.com/yazi-rs/schemas.
"$schema" = "https://yazi-rs.github.io/schemas/yazi.json"
[manager]
ratio = [1, 4, 3]
sort_by = "natural"
sort_sensitive = false
sort_reverse = false
sort_dir_first = true
linemode = "none"
show_hidden = true
show_symlink = true
scrolloff = 5
[preview]
tab_size = 2
max_width = 600
max_height = 900
cache_dir = ""
image_filter = "triangle"
image_quality = 75
sixel_fraction = 15
ueberzug_scale = 1
ueberzug_offset = [0, 0, 0, 0]
[opener]
edit = [
{ run = '${EDITOR:=nvim} "$@"', desc = "$EDITOR", block = true, for = "unix" },
{ run = 'code "%*"', orphan = true, desc = "code", for = "windows" },
{ run = 'code -w "%*"', block = true, desc = "code (block)", for = "windows" },
]
open = [
{ run = 'xdg-open "$@"', desc = "Open", for = "linux" },
{ run = 'open "$@"', desc = "Open", for = "macos" },
{ run = 'start "" "%1"', orphan = true, desc = "Open", for = "windows" },
]
reveal = [
{ run = 'xdg-open "$(dirname "$0")"', desc = "Reveal", for = "linux" },
{ run = 'open -R "$1"', desc = "Reveal", for = "macos" },
{ run = 'explorer /select, "%1"', orphan = true, desc = "Reveal", for = "windows" },
{ run = '''exiftool "$1"; echo "Press enter to exit"; read _''', block = true, desc = "Show EXIF", for = "unix" },
]
extract = [
{ run = 'unar "$1"', desc = "Extract here", for = "unix" },
{ run = 'unar "%1"', desc = "Extract here", for = "windows" },
]
play = [
{ run = 'mpv "$@"', orphan = true, for = "unix" },
{ run = 'mpv "%1"', orphan = true, for = "windows" },
{ run = '''mediainfo "$1"; echo "Press enter to exit"; read _''', block = true, desc = "Show media info", for = "unix" },
]
[open]
rules = [
{ name = "*/", use = [
"edit",
"open",
"reveal",
] },
{ mime = "text/*", use = [
"edit",
"reveal",
] },
{ mime = "image/*", use = [
"open",
"reveal",
] },
{ mime = "{audio,video}/*", use = [
"play",
"reveal",
] },
{ mime = "inode/x-empty", use = [
"edit",
"reveal",
] },
{ mime = "application/*zip", use = [
"extract",
"reveal",
] },
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", use = [
"extract",
"reveal",
] },
{ mime = "application/json", use = [
"edit",
"reveal",
] },
{ mime = "*/javascript", use = [
"edit",
"reveal",
] },
{ mime = "*", use = [
"open",
"reveal",
] },
]
[tasks]
micro_workers = 10
macro_workers = 25
bizarre_retry = 5
image_alloc = 536870912 # 512MB
image_bound = [0, 0]
suppress_preload = false
[plugin]
#preloaders = [
# { name = "*", cond = "!mime", run = "mime", multi = true, prio = "high" },
# # Image
# { mime = "image/*", run = "image" },
# # Video
# { mime = "video/*", run = "video" },
# # PDF
# { mime = "application/pdf", run = "pdf" },
# #]
previewers = [
{ name = "*/", run = "folder", sync = true },
# Code
{ mime = "text/*", run = "code" },
{ mime = "*/{xml,javascript,x-wine-extension-ini}", run = "code" },
# JSON
{ mime = "application/json", run = "json" },
# Image
{ mime = "image/vnd.djvu", run = "noop" },
{ mime = "image/*", run = "image" },
# Video
{ mime = "video/*", run = "video" },
# PDF
{ mime = "application/pdf", run = "pdf" },
# CSV
{ mime = "text/csv", run = "miller" },
# Archive
{ mime = "application/*zip", run = "archive" },
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", run = "archive" },
# Fallback
{ name = "*", run = "hexyl" },
]
prepend_previewers = [
# Exifaudio
{ mime = "audio/*", run = "exifaudio" },
# Archive previewer
{ mime = "application/*zip", run = "ouch" },
{ mime = "application/x-tar", run = "ouch" },
{ mime = "application/x-bzip2", run = "ouch" },
{ mime = "application/x-7z-compressed", run = "ouch" },
{ mime = "application/x-rar", run = "ouch" },
{ mime = "application/x-xz", run = "ouch" },
# Markdown previewer
{ name = ".md", run = "glow" },
]
[input]
# cd
cd_title = "Change directory:"
cd_origin = "top-center"
cd_offset = [0, 2, 50, 3]
# create
create_title = "Create:"
create_origin = "top-center"
create_offset = [0, 2, 50, 3]
# rename
rename_title = "Rename:"
rename_origin = "hovered"
rename_offset = [0, 1, 50, 3]
# trash
trash_title = "Move {n} selected file{s} to trash? (y/N)"
trash_origin = "top-center"
trash_offset = [0, 2, 50, 3]
# delete
delete_title = "Delete {n} selected file{s} permanently? (y/N)"
delete_origin = "top-center"
delete_offset = [0, 2, 50, 3]
# filter
filter_title = "Filter:"
filter_origin = "top-center"
filter_offset = [0, 2, 50, 3]
# find
find_title = ["Find next:", "Find previous:"]
find_origin = "top-center"
find_offset = [0, 2, 50, 3]
# search
search_title = "Search via {n}:"
search_origin = "top-center"
search_offset = [0, 2, 50, 3]
# shell
shell_title = ["Shell:", "Shell (block):"]
shell_origin = "top-center"
shell_offset = [0, 2, 50, 3]
# overwrite
overwrite_title = "Overwrite an existing file? (y/N)"
overwrite_origin = "top-center"
overwrite_offset = [0, 2, 50, 3]
# quit
quit_title = "{n} task{s} running, sure to quit? (y/N)"
quit_origin = "top-center"
quit_offset = [0, 2, 50, 3]
[select]
open_title = "Open with:"
open_origin = "hovered"
open_offset = [0, 1, 50, 7]
[which]
sort_by = "none"
sort_sensitive = false
sort_reverse = false
[log]
enabled = false
[headsup]