remove superfile and add two fullscreen mode
This commit is contained in:
@@ -12,6 +12,7 @@ hl.bind(mainMod .. " + M", hl.dsp.exit())
|
||||
hl.bind(mainMod .. " + E", hl.dsp.exec_cmd(fileMgr))
|
||||
hl.bind(mainMod .. " + V", hl.dsp.window.float({ action = "toggle" }))
|
||||
hl.bind(mainMod .. " + F", hl.dsp.window.fullscreen({ mode = "maximized", state = "toggle" }))
|
||||
hl.bind(mainMod .. " + CTRL + F", hl.dsp.window.fullscreen({ mode = "fullscreen", state = "toggle" }))
|
||||
hl.bind(mainMod .. " + P", hl.dsp.window.pseudo())
|
||||
hl.bind(mainMod .. " + U", hl.dsp.layout("togglesplit"))
|
||||
hl.bind(mainMod .. " + H", hl.dsp.layout("swapsplit"))
|
||||
|
||||
@@ -1,92 +0,0 @@
|
||||
# More details are at https://superfile.netlify.app/configure/superfile-config/
|
||||
#
|
||||
# change your theme
|
||||
theme = "noctalia"
|
||||
#
|
||||
# The editor files will be opened with. (Leave blank to use the EDITOR environment variable).
|
||||
editor = ""
|
||||
#
|
||||
# The editor directories will be opened with. (Leave blank to use the default editors).
|
||||
dir_editor = ""
|
||||
#
|
||||
# Auto check for update
|
||||
auto_check_update = true
|
||||
#
|
||||
# Cd on quit (For more details, please check out https://superfile.netlify.app/configure/superfile-config/#cd_on_quit)
|
||||
cd_on_quit = false
|
||||
#
|
||||
# Whether to open file preview automatically every time superfile is opened.
|
||||
default_open_file_preview = true
|
||||
#
|
||||
# Whether to show image preview
|
||||
show_image_preview = true
|
||||
#
|
||||
#
|
||||
# Whether to hide additional footer info for file panel.
|
||||
show_panel_footer_info = true
|
||||
#
|
||||
# The path of the first file panel when superfile is opened.
|
||||
default_directory = "."
|
||||
#
|
||||
# Display file sizes using powers of 1000 (kB, MB, GB) instead of powers of 1024 (KiB, MiB, GiB).
|
||||
file_size_use_si = false
|
||||
#
|
||||
# Default sort type (0: Name, 1: Size, 2: Date Modified, 3: Type).
|
||||
default_sort_type = 0
|
||||
#
|
||||
# Default sort order (false: Ascending, true: Descending).
|
||||
sort_order_reversed = false
|
||||
#
|
||||
# Case sensitive sort by name (upper "B" comes before lower "a" if true).
|
||||
case_sensitive_sort = false
|
||||
#
|
||||
# Whether to exit the shell on successful command execution.
|
||||
shell_close_on_success = false
|
||||
#
|
||||
# Whether to enable debug mode.
|
||||
debug = false
|
||||
#
|
||||
# Whether to ignore warnings about missing fields in the config file.
|
||||
ignore_missing_fields = false
|
||||
#
|
||||
# ================ Style =================
|
||||
#
|
||||
# Whether to use the builtin syntax highlighting with chroma or use bat. Values: "" for builtin chroma, "bat" for bat
|
||||
code_previewer = ''
|
||||
#
|
||||
# If you don't have or don't want Nerdfont installed you can turn this off
|
||||
nerdfont = true
|
||||
#
|
||||
# Set transparent background or not (this only work when your terminal background is transparent)
|
||||
transparent_background = false
|
||||
#
|
||||
# File preview width allow '0' (this mean same as file panel),'x' x must be from 2 to 10 (This means that the width of the file preview will be one xth of the total width.)
|
||||
file_preview_width = 0
|
||||
#
|
||||
# The length of the sidebar. If you don't want to display the sidebar, you can input 0 directly. If you want to display the value, please place it in the range of 3-20.
|
||||
sidebar_width = 20
|
||||
#
|
||||
# Border style
|
||||
# Make sure to add strings exactly one character wide. Use ' ' for borderless
|
||||
border_top = '─'
|
||||
border_bottom = '─'
|
||||
border_left = '│'
|
||||
border_right = '│'
|
||||
border_top_left = '╭'
|
||||
border_top_right = '╮'
|
||||
border_bottom_left = '╰'
|
||||
border_bottom_right = '╯'
|
||||
border_middle_left = '├'
|
||||
border_middle_right = '┤'
|
||||
#
|
||||
# ========== PLUGINS ========== #
|
||||
# Plugins means that you need to install some external dependencies to use them.
|
||||
#
|
||||
# Show more detailed metadata, please install exiftool before enabling this plugin!
|
||||
metadata = false
|
||||
#
|
||||
# Enable MD5 checksum generation for files
|
||||
enable_md5_checksum = false
|
||||
#
|
||||
# Zoxide support for the fast navigation
|
||||
zoxide_support = true
|
||||
@@ -1,59 +0,0 @@
|
||||
# =================================================================================================
|
||||
# Global hotkeys (cannot conflict with other hotkeys)
|
||||
confirm = ['enter', 'right', 'l']
|
||||
quit = ['q', 'esc']
|
||||
|
||||
# movement
|
||||
list_up = ['up', 'k']
|
||||
list_down = ['down', 'j']
|
||||
page_up = ['pgup','']
|
||||
page_down = ['pgdown','']
|
||||
# file panel control
|
||||
create_new_file_panel = ['n', '']
|
||||
close_file_panel = ['w', '']
|
||||
next_file_panel = ['tab', 'L']
|
||||
previous_file_panel = ['shift+left', 'H']
|
||||
toggle_file_preview_panel = ['f', '']
|
||||
open_sort_options_menu = ['o', '']
|
||||
toggle_reverse_sort = ['R', '']
|
||||
# change focus
|
||||
focus_on_process_bar = ['p', '']
|
||||
focus_on_sidebar = ['s', '']
|
||||
focus_on_metadata = ['m', '']
|
||||
# create file/directory and rename
|
||||
file_panel_item_create = ['ctrl+n', '']
|
||||
file_panel_item_rename = ['ctrl+r', '']
|
||||
# file operations
|
||||
copy_items = ['ctrl+c', '']
|
||||
cut_items = ['ctrl+x', '']
|
||||
paste_items = ['ctrl+v', 'ctrl+w', '']
|
||||
delete_items = ['ctrl+d', 'delete', '']
|
||||
# compress and extract
|
||||
extract_file = ['ctrl+e', '']
|
||||
compress_file = ['ctrl+a', '']
|
||||
# editor
|
||||
open_file_with_editor = ['e', '']
|
||||
open_current_directory_with_editor = ['E', '']
|
||||
# other
|
||||
pinned_directory = ['P', '']
|
||||
toggle_dot_file = ['.', '']
|
||||
change_panel_mode = ['v', '']
|
||||
open_help_menu = ['?', '']
|
||||
open_command_line = [':', '']
|
||||
open_spf_prompt = ['>', '']
|
||||
copy_path = ['ctrl+p', '']
|
||||
copy_present_working_directory = ['c', '']
|
||||
toggle_footer = ['F', '']
|
||||
# =================================================================================================
|
||||
# Typing hotkeys (can conflict with all hotkeys)
|
||||
confirm_typing = ['enter', '']
|
||||
cancel_typing = ['ctrl+c', 'esc']
|
||||
# =================================================================================================
|
||||
# Normal mode hotkeys (can conflict with other modes, cannot conflict with global hotkeys)
|
||||
parent_directory = ['h', 'left', 'backspace']
|
||||
search_bar = ['/', '']
|
||||
# =================================================================================================
|
||||
# Select mode hotkeys (can conflict with other modes, cannot conflict with global hotkeys)
|
||||
file_panel_select_mode_items_select_down = ['shift+down', 'J']
|
||||
file_panel_select_mode_items_select_up = ['shift+up', 'K']
|
||||
file_panel_select_all_items = ['A', '']
|
||||
@@ -1,81 +0,0 @@
|
||||
###############################################################################
|
||||
# Noctalia theme for superfile #
|
||||
# #
|
||||
# Renders against the active Noctalia palette. Key names follow the upstream #
|
||||
# theme schema (https://superfile.dev/configure/custom-theme/). #
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
# Code Syntax Highlighting #
|
||||
###############################################################################
|
||||
|
||||
# Chroma style name; users can override in their superfile config.toml.
|
||||
code_syntax_highlight = "catppuccin"
|
||||
|
||||
###############################################################################
|
||||
# Base Colors #
|
||||
###############################################################################
|
||||
|
||||
#-- Full Screen
|
||||
full_screen_fg = "#cdd6f4"
|
||||
full_screen_bg = "#1e1e2e"
|
||||
|
||||
#-- Gradient (two-color)
|
||||
gradient_color = ["#89b4fa", "#cba6f7"]
|
||||
directory_icon_color = "#89b4fa"
|
||||
|
||||
#-- File Panel
|
||||
file_panel_fg = "#cdd6f4"
|
||||
file_panel_bg = "#1e1e2e"
|
||||
file_panel_border = "#6c7086"
|
||||
file_panel_border_active = "#89b4fa"
|
||||
file_panel_top_directory_icon = "#89b4fa"
|
||||
file_panel_top_path = "#89b4fa"
|
||||
# Selection distinguishes the foreground only, keeping the surface uniform
|
||||
# with the regular row. Mirrors the upstream catppuccin-mocha theme, where
|
||||
# `file_panel_item_selected_fg` differs from `file_panel_fg` while sharing
|
||||
# the same background — a subtler highlight than changing the row surface.
|
||||
file_panel_item_selected_fg = "#89b4fa"
|
||||
file_panel_item_selected_bg = "#1e1e2e"
|
||||
|
||||
#-- Footer
|
||||
footer_fg = "#a6adc8"
|
||||
footer_bg = "#1e1e2e"
|
||||
footer_border = "#6c7086"
|
||||
footer_border_active = "#89b4fa"
|
||||
|
||||
#-- Sidebar
|
||||
# Same background as file_panel and footer (uniform panel surface). Visual
|
||||
# separation is carried by the borders (`outline` inactive / `tertiary`
|
||||
# active). The current-directory entry uses the primary accent for its
|
||||
# foreground while keeping the surface uniform with the rest of the row,
|
||||
# mirroring the file-panel selection style and the upstream catppuccin-mocha
|
||||
# convention (distinguish fg only).
|
||||
sidebar_fg = "#cdd6f4"
|
||||
sidebar_bg = "#1e1e2e"
|
||||
sidebar_title = "#89b4fa"
|
||||
sidebar_border = "#6c7086"
|
||||
sidebar_border_active = "#cba6f7"
|
||||
sidebar_item_selected_fg = "#89b4fa"
|
||||
sidebar_item_selected_bg = "#1e1e2e"
|
||||
sidebar_divider = "#4a4d5c"
|
||||
|
||||
#-- Modals
|
||||
modal_fg = "#cdd6f4"
|
||||
modal_bg = "#1e1e2e"
|
||||
modal_border_active = "#89b4fa"
|
||||
modal_cancel_fg = "#fad1dc"
|
||||
modal_cancel_bg = "#bb1040"
|
||||
modal_confirm_fg = "#1e1e2e"
|
||||
modal_confirm_bg = "#89b4fa"
|
||||
|
||||
#-- Help Menu
|
||||
help_menu_hotkey = "#cba6f7"
|
||||
help_menu_title = "#89b4fa"
|
||||
|
||||
#-- Special
|
||||
cursor = "#89b4fa"
|
||||
correct = "#cba6f7"
|
||||
error = "#f38ba8"
|
||||
hint = "#b4befe"
|
||||
cancel = "#bb1040"
|
||||
Reference in New Issue
Block a user