diff --git a/superfile/config.toml b/superfile/config.toml index 73b5336..609e7ad 100644 --- a/superfile/config.toml +++ b/superfile/config.toml @@ -1,14 +1,25 @@ # change your theme theme = 'catpuccin' # -# useless for now -footer_panel_list = ['processes', 'metadata', 'clipboard'] +# 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 # # ================ Style ================= # # Set transparent background or not (this only work when your terminal background is transparent) -transparent_backgroun = false +transparent_background = false # +# File preview width allow '0' (this mean same as file panel),'x' x must be less than 10 and greater than 1 (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 border_top = '━' diff --git a/superfile/hotkeys.toml b/superfile/hotkeys.toml index c686452..dd4c1c8 100644 --- a/superfile/hotkeys.toml +++ b/superfile/hotkeys.toml @@ -1,52 +1,49 @@ -# Here is global, all global key cant conflicts with other hotkeys +# ================================================================================================= +# Here is global, all global key can't conflicts with other hotkeys +confirm = ['enter', ''] quit = ['esc', 'q'] -# +# movement list_up = ['up', 'k'] list_down = ['down', 'j'] -# -pinned_directory = ['ctrl+p', ''] -# +# file panel control close_file_panel = ['ctrl+w', ''] create_new_file_panel = ['ctrl+n', ''] -# next_file_panel = ['tab', 'L'] previous_file_panel = ['shift+left', 'H'] +toggle_file_preview_panel = ['f', ''] +# change focus focus_on_process_bar = ['p', ''] -focus_on_side_bar = ['b', ''] +focus_on_sidebar = ['s', ''] focus_on_metadata = ['m', ''] -# -change_panel_mode = ['v', ''] -open_help_menu = ['?', ''] -# -file_panel_directory_create = ['f', ''] -file_panel_file_create = ['c', ''] +# create file/directory and rename +file_panel_item_create = ['ctrl+n', ''] file_panel_item_rename = ['r', ''] -paste_item = ['ctrl+v', ''] +# file operate +copy_items = ['ctrl+c', ''] +paste_items = ['ctrl+v', ''] +cut_items = ['ctrl+x', ''] +delete_items = ['ctrl+d', 'delete'] +# compress and extract extract_file = ['ctrl+e', ''] compress_file = ['ctrl+r', ''] -toggle_dot_file = ['ctrl+h', ''] -# -oepn_file_with_editor = ['e', ''] +# editor +open_file_with_editor = ['e', ''] open_current_directory_with_editor = ['E', ''] -# -# These hotkeys do not conflict with any other keys (including global hotkey) -cancel = ['ctrl+c', 'esc'] -confirm = ['enter', ''] -# -# Here is normal mode hotkey you can conflicts with other mode (cant conflicts with global hotkey) -delete_item = ['ctrl+d', ''] -select_item = ['enter', 'l'] +# else +pinned_directory = ['ctrl+p', ''] +toggle_dot_file = ['ctrl+h', ''] +change_panel_mode = ['v', ''] +open_help_menu = ['?', ''] +# ================================================================================================= +# Here is typing hotkey can conflict with all hotkeys +confirm_typing = ['enter', ''] +cancel_typing = ['ctrl+c', 'esc'] +# ================================================================================================= +# Here is normal mode hotkey you can conflicts with other mode (can't conflicts with global hotkey) parent_directory = ['h', 'backspace'] -copy_single_item = ['ctrl+c', ''] -cut_single_item = ['ctrl+x', ''] search_bar = ['ctrl+f', ''] -command_line = ['/', ''] -# -# Here is select mode hotkey you can conflicts with other mode (cant conflicts with global hotkey) -file_panel_select_mode_item_single_select = ['enter', 'l'] -file_panel_select_mode_item_select_down = ['shift+down', 'J'] -file_panel_select_mode_item_select_up = ['shift+up', 'K'] -file_panel_select_mode_item_delete = ['ctrl+d', 'delete'] -file_panel_select_mode_item_copy = ['ctrl+c', ''] -file_panel_select_mode_item_cut = ['ctrl+x', ''] -file_panel_select_all_item = ['ctrl+a', ''] +# ================================================================================================= +# Here is select mode hotkey you can conflicts with other mode (can't conflicts with global hotkey) +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', ''] diff --git a/superfile/theme/catppuccin-frappe.toml b/superfile/theme/catppuccin-frappe.toml new file mode 100644 index 0000000..21c6966 --- /dev/null +++ b/superfile/theme/catppuccin-frappe.toml @@ -0,0 +1,67 @@ +# Catppuccin Frappe Flavor +# Theme create by: https://github.com/GV14982 +# Update by(sort by time): +# +# Thanks for all contributor!! + +# If you want to make sidebar border display just set it same as sidebar background color + +# Code syntax highlight theme (you can go to https://github.com/alecthomas/chroma/blob/master/styles to find one you like) +code_syntax_highlight = "catppuccin-frappe" + +# ========= Border ========= +file_panel_border = "#737994" # Overlay0 +sidebar_border = "#303446" # Base +footer_border = "#737994" # Overlay0 + +# ========= Border Active ========= +file_panel_border_active = "#babbf1" # Lavendar +sidebar_border_active = "#e78284" # Red +footer_border_active = "#a6d189" # Green +modal_border_active = "#949cbb" # Overlay2 + +# ========= Background (bg) ========= +full_screen_bg = "#303446" # Base +file_panel_bg = "#303446" # Base +sidebar_bg = "#303446" # Base +footer_bg = "#303446" # Base +modal_bg = "#303446" # Base + +# ========= Foreground (fg) ========= +full_screen_fg = "#a5adce" # Subtext0 +file_panel_fg = "#a5adce" # Subtext0 +sidebar_fg = "#a5adce" # Subtext0 +footer_fg = "#a5adce" # Subtext0 +modal_fg = "#a5adce" # Subtext0 + +# ========= Special Color ========= +cursor = "#f2d5cf" # Rosewater +correct = "#a6d189" # Green +error = "#e78284" # Red +hint = "#85c1dc" # Sapphire +cancel = "#ea999c" # Maroon +# Gradient color can only have two color! +gradient_color = ["#8caaee", "#ca9ee6"] # [Blue, Mauve] + +# ========= File Panel Special Items ========= +file_panel_top_directory_icon = "#a6d189" # Green +file_panel_top_path = "#89b5fa" # Blue +file_panel_item_selected_fg = "#99d1db" # Sky +file_panel_item_selected_bg = "#303446" # Base + +# ========= Sidebar Special Items ========= +sidebar_title = "#85c1dc" # Sapphire +sidebar_item_selected_fg = "#99d1db" # Sky +sidebar_item_selected_bg = "#303446" # Base +sidebar_divider = "#949cbb" # Overlay2 + +# ========= Modal Special Items ========= +modal_cancel_fg = "#414559" # Surface0 +modal_cancel_bg = "#ea999c" # Maroon + +modal_confirm_fg = "#414559" # Surface0 +modal_confirm_bg = "#99d1db" # Sky + +# ========= Help Menu ========= +help_menu_hotkey = "#99d1db" # Sky +help_menu_title = "#ea999c" # Maroon diff --git a/superfile/theme/catppuccin-latte.toml b/superfile/theme/catppuccin-latte.toml new file mode 100644 index 0000000..4269a53 --- /dev/null +++ b/superfile/theme/catppuccin-latte.toml @@ -0,0 +1,67 @@ +# Catppuccin Latte Flavor +# Theme create by: https://github.com/GV14982 +# Update by(sort by time): +# +# Thanks for all contributor!! + +# If you want to make sidebar border display just set it same as sidebar background color + +# Code syntax highlight theme (you can go to https://github.com/alecthomas/chroma/blob/master/styles to find one you like) +code_syntax_highlight = "catppuccin-latte" + +# ========= Border ========= +file_panel_border = "#9ca0b0" # Overlay0 +sidebar_border = "#eff1f5" # Base +footer_border = "#9ca0b0" # Overlay0 + +# ========= Border Active ========= +file_panel_border_active = "#7287fd" # Lavender +sidebar_border_active = "#40a02b" # Green +footer_border_active = "#40a02b" # Green +modal_border_active = "#7c7f93" # Overlay2 + +# ========= Background (bg) ========= +full_screen_bg = "#eff1f5" # Base +file_panel_bg = "#eff1f5" # Base +sidebar_bg = "#eff1f5" # Base +footer_bg = "#eff1f5" # Base +modal_bg = "#eff1f5" # Base + +# ========= Foreground (fg) ========= +full_screen_fg = "#4c4f69" # Text +file_panel_fg = "#4c4f69" # Text +sidebar_fg = "#4c4f69" # Text +footer_fg = "#4c4f69" # Text +modal_fg = "#4c4f69" # Text + +# ========= Special Color ========= +cursor = "#dc8a78" # Rosewater +correct = "#40a02b" # Green +error = "#d20f39" # Red +hint = "#209fb5" # Sapphire +cancel = "#e64553" # Maroon +# Gradient color can only have two color! +gradient_color = ["#1e66f5", "#ca9ee6"] # [Blue, Mauve] + +# ========= File Panel Special Items ========= +file_panel_top_directory_icon = "#40a02b" # Green +file_panel_top_path = "#89b5fa" # Blue +file_panel_item_selected_fg = "#04a5e5" # Sky +file_panel_item_selected_bg = "#eff1f5" # Base + +# ========= Sidebar Special Items ========= +sidebar_title = "#209fb5" # Sapphire +sidebar_item_selected_fg = "#04a5e5" # Sky +sidebar_item_selected_bg = "#eff1f5" # Base +sidebar_divider = "#7c7f93" # Overlay2 + +# ========= Modal Special Items ========= +modal_cancel_fg = "#eff1f5" # Base +modal_cancel_bg = "#e64553" # Maroon + +modal_confirm_fg = "#eff1f5" # Base +modal_confirm_bg = "#04a5e5" # Sky + +# ========= Help Menu ========= +help_menu_hotkey = "#04a5e5" # Sky +help_menu_title = "#fe640b" # Peach diff --git a/superfile/theme/catppuccin-macchiato.toml b/superfile/theme/catppuccin-macchiato.toml new file mode 100644 index 0000000..8ce2e20 --- /dev/null +++ b/superfile/theme/catppuccin-macchiato.toml @@ -0,0 +1,67 @@ +# Catppuccin Macchiato Flavor +# Theme create by: https://github.com/GV14982 +# Update by(sort by time): +# +# Thanks for all contributor!! + +# If you want to make sidebar border display just set it same as sidebar background color + +# Code syntax highlight theme (you can go to https://github.com/alecthomas/chroma/blob/master/styles to find one you like) +code_syntax_highlight = "catppuccin-macchiato" + +# ========= Border ========= +file_panel_border = "#6e738d" # Overlay0 +sidebar_border = "#24273a" # Base +footer_border = "#6e738d" # Overlay0 + +# ========= Border Active ========= +file_panel_border_active = "#b7bdf8" # Lavendar +sidebar_border_active = "#ed8796" # Red +footer_border_active = "#a6da95" # Green +modal_border_active = "#939ab7" # Overlay2 + +# ========= Background (bg) ========= +full_screen_bg = "#24273a" # Base +file_panel_bg = "#24273a" # Base +sidebar_bg = "#24273a" # Base +footer_bg = "#24273a" # Base +modal_bg = "#24273a" # Base + +# ========= Foreground (fg) ========= +full_screen_fg = "#a5adcb" # Subtext0 +file_panel_fg = "#a5adcb" # Subtext0 +sidebar_fg = "#a5adcb" # Subtext0 +footer_fg = "#a5adcb" # Subtext0 +modal_fg = "#a5adcb" # Subtext0 + +# ========= Special Color ========= +cursor = "#f4dbd6" # Rosewater +correct = "#a6da95" # Green +error = "#ed8796" # Red +hint = "#7dc4e4" # Sapphire +cancel = "#ee99a0" # Maroon +# Gradient color can only have two color! +gradient_color = ["#8aadf4", "#c6a0f6"] # [Blue, Mauve] + +# ========= File Panel Special Items ========= +file_panel_top_directory_icon = "#a6da95" # Green +file_panel_top_path = "#8aadf4" # Blue +file_panel_item_selected_fg = "#91d7e3" # Sky +file_panel_item_selected_bg = "#24273a" # Base + +# ========= Sidebar Special Items ========= +sidebar_title = "#7dc4e4" # Sapphire +sidebar_item_selected_fg = "#91d7e3" # Sky +sidebar_item_selected_bg = "#24273a" # Base +sidebar_divider = "#939ab7" # Overlay2 + +# ========= Modal Special Items ========= +modal_cancel_fg = "#363a4f" # Surface0 +modal_cancel_bg = "#ee99a0" # Maroon + +modal_confirm_fg = "#363a4f" # Surface0 +modal_confirm_bg = "#91d7e3" # Sky + +# ========= Help Menu ========= +help_menu_hotkey = "#91d7e3" # Sky +help_menu_title = "#ee99a0" # Maroon diff --git a/superfile/theme/catppuccin.toml b/superfile/theme/catppuccin.toml new file mode 100644 index 0000000..c993fdb --- /dev/null +++ b/superfile/theme/catppuccin.toml @@ -0,0 +1,67 @@ +# Catppuccin +# Theme create by: https://github.com/AnshumanNeon +# Update by(sort by time): +# +# Thanks for all contributor!! + +# If you want to make sidebar border display just set it same as sidebar background color + +# Code syntax highlight theme (you can go to https://github.com/alecthomas/chroma/blob/master/styles to find one you like) +code_syntax_highlight = "catppuccin-mocha" + +# ========= Border ========= +file_panel_border = "#6c7086" +sidebar_border = "#1e1e2e" +footer_border = "#6c7086" + +# ========= Border Active ========= +file_panel_border_active = "#b4befe" +sidebar_border_active = "#f38ba8" +footer_border_active = "#a6e3a1" +modal_border_active = "#868686" + +# ========= Background (bg) ========= +full_screen_bg = "#1e1e2e" +file_panel_bg = "#1e1e2e" +sidebar_bg = "#1e1e2e" +footer_bg = "#1e1e2e" +modal_bg = "#1e1e2e" + +# ========= Foreground (fg) ========= +full_screen_fg = "#a6adc8" +file_panel_fg = "#a6adc8" +sidebar_fg = "#a6adc8" +footer_fg = "#a6adc8" +modal_fg = "#a6adc8" + +# ========= Special Color ========= +cursor = "#f5e0dc" +correct = "#a6e3a1" +error = "#f38ba8" +hint = "#73c7ec" +cancel = "#eba0ac" +# Gradient color can only have two color! +gradient_color = ["#89b4fa", "#cba6f7"] + +# ========= File Panel Special Items ========= +file_panel_top_directory_icon = "#a6e3a1" +file_panel_top_path = "#89b5fa" +file_panel_item_selected_fg = "#98D0FD" +file_panel_item_selected_bg = "#1e1e2e" + +# ========= Sidebar Special Items ========= +sidebar_title = "#74c7ec" +sidebar_item_selected_fg = "#A6DBF7" +sidebar_item_selected_bg = "#1e1e2e" +sidebar_divider = "#868686" + +# ========= Modal Special Items ========= +modal_cancel_fg = "#383838" +modal_cancel_bg = "#eba0ac" + +modal_confirm_fg = "#383838" +modal_confirm_bg = "#89dceb" + +# ========= Help Menu ========= +help_menu_hotkey = "#89dceb" +help_menu_title = "#eba0ac" diff --git a/superfile/theme/dracula.toml b/superfile/theme/dracula.toml index 005dcbf..cf03a97 100644 --- a/superfile/theme/dracula.toml +++ b/superfile/theme/dracula.toml @@ -6,6 +6,9 @@ # If you want to make sidebar border display just set it same as sidebar background color +# Code syntax highlight theme (you can go to https://github.com/alecthomas/chroma/blob/master/styles to find one you like) +code_syntax_highlight = "dracula" + # ========= Border ========= file_panel_border = "#6272a4" sidebar_border = "#282a36" diff --git a/superfile/theme/gruvbox.toml b/superfile/theme/gruvbox.toml index 43625fc..0232d1e 100644 --- a/superfile/theme/gruvbox.toml +++ b/superfile/theme/gruvbox.toml @@ -1,11 +1,14 @@ # Gruvbox -# Theme create by: https://github.com/MHNightCat +# Theme create by: https://github.com/yorukot # Update by(sort by time): # # Thanks for all contributor!! # If you want to make border display just set it same as sidebar background color +# Code syntax highlight theme (you can go to https://github.com/alecthomas/chroma/blob/master/styles to find one you like) +code_syntax_highlight = "gruvbox" + # ========= Border ========= file_panel_border = "#868686" sidebar_border = "#282828" diff --git a/superfile/theme/kaolin.toml b/superfile/theme/kaolin.toml index feb03e8..9e3b0af 100644 --- a/superfile/theme/kaolin.toml +++ b/superfile/theme/kaolin.toml @@ -6,6 +6,9 @@ # If you want to make border display just set it same as sidebar background color +# Code syntax highlight theme (you can go to https://github.com/alecthomas/chroma/blob/master/styles to find one you like) +code_syntax_highlight = "catppuccin-macchiato" + # ========= Border ========= file_panel_border = "#74b09a" sidebar_border = "#17171a" diff --git a/superfile/theme/nord.toml b/superfile/theme/nord.toml index e2e6064..968923d 100644 --- a/superfile/theme/nord.toml +++ b/superfile/theme/nord.toml @@ -6,6 +6,9 @@ # If you want to make border display just set it same as sidebar background color +# Code syntax highlight theme (you can go to https://github.com/alecthomas/chroma/blob/master/styles to find one you like) +code_syntax_highlight = "nord" + # ========= Border ========= file_panel_border = "#4c566a" sidebar_border = "#2e3440" diff --git a/superfile/theme/poimandres.toml b/superfile/theme/poimandres.toml new file mode 100644 index 0000000..a8ddcd2 --- /dev/null +++ b/superfile/theme/poimandres.toml @@ -0,0 +1,67 @@ +# Poimandres +# Theme create by: https://github.com/Myles-J +# Update by(sort by time): +# - Update code_syntax_highlight(I couldn't find a matching theme so I'm using this one for now.) - github.com/yorukot +# Thanks for all contributor!! + +# If you want to make border display just set it same as sidebar background color + +# Code syntax highlight theme (you can go to https://github.com/alecthomas/chroma/blob/master/styles to find one you like) +code_syntax_highlight = "catppuccin-mocha" + +# ========= Border ========= +file_panel_border = "#6c7086" +sidebar_border = "#2a303c" +footer_border = "#6c7086" + +# ========= Border Active ========= +file_panel_border_active = "#7fbbb3" +sidebar_border_active = "#7fbbb3" +footer_border_active = "#7fbbb3" +modal_border_active = "#7fbbb3" + +# ========= Background (bg) ========= +full_screen_bg = "#1b1d24" +file_panel_bg = "#1b1d24" +sidebar_bg = "#1b1d24" +footer_bg = "#1b1d24" +modal_bg = "#1b1d24" + +# ========= Foreground (fg) ========= +full_screen_fg = "#cdd6f4" +file_panel_fg = "#cdd6f4" +sidebar_fg = "#cdd6f4" +footer_fg = "#cdd6f4" +modal_fg = "#cdd6f4" + +# ========= Special Color ========= +cursor = "#74c7ec" +correct = "#a6e3a1" +error = "#f38ba8" +hint = "#89b4fa" +cancel = "#6c7086" +# Gradient color can only have two color! +gradient_color = ["#a6e3a1", "#f38ba8"] + +# ========= File Panel Special Items ========= +file_panel_top_directory_icon = "#a6e3a1" +file_panel_top_path = "#89b4fa" +file_panel_item_selected_fg = "#a6e3a1" +file_panel_item_selected_bg = "#2a303c" + +# ========= Sidebar Special Items ========= +sidebar_title = "#cba6f7" +sidebar_item_selected_fg = "#a6e3a1" +sidebar_item_selected_bg = "#2a303c" +sidebar_divider = "#6c7086" + +# ========= Modal Special Items ========= +modal_cancel_fg = "#cdd6f4" +modal_cancel_bg = "#6c7086" + +modal_confirm_fg = "#cdd6f4" +modal_confirm_bg = "#4a4e69" + +# ========= Help Menu ========= +help_menu_hotkey = "#a6e3a1" +help_menu_title = "#cba6f7" diff --git a/superfile/theme/rose-pine.toml b/superfile/theme/rose-pine.toml index d627391..b9bdf9d 100644 --- a/superfile/theme/rose-pine.toml +++ b/superfile/theme/rose-pine.toml @@ -6,6 +6,9 @@ # If you want to make border display just set it same as sidebar background color +# Code syntax highlight theme (you can go to https://github.com/alecthomas/chroma/blob/master/styles to find one you like) +code_syntax_highlight = "rose-pine" + # ========= Border ========= file_panel_border = "#403d52" sidebar_border = "#191724" diff --git a/superfile/theme/sugarplum.toml b/superfile/theme/sugarplum.toml new file mode 100644 index 0000000..1b79a54 --- /dev/null +++ b/superfile/theme/sugarplum.toml @@ -0,0 +1,67 @@ +# Sugarplum +# Theme create by: https://github.com/lemonlime0x3C33 +# Update by(sort by time): +# +# Thanks for all contributor!! + +# If you want to make border display just set it same as sidebar background color + +# Code syntax highlight theme (you can go to https://github.com/alecthomas/chroma/blob/master/styles to find one you like) +code_syntax_highlight = "catppuccin-macchiato" + +# ========= Border ========= +file_panel_border = "#a175d4" +sidebar_border = "a175d4" +footer_border = "#a175d4" + +# ========= Border Active ========= +file_panel_border_active = "#53aaa1" +sidebar_border_active = "#53aaa1" +footer_border_active = "#53aaa1" +modal_border_active = "#53aaa1" + +# ========= Background (bg) ========= +full_screen_bg = "#111147" +file_panel_bg = "#111147" +sidebar_bg = "#111147" +footer_bg = "#111147" +modal_bg = "#111147" + +# ========= Foreground (fg) ========= +full_screen_fg = "#db7ddd" +file_panel_fg = "#db7ddd" +sidebar_fg = "#d0beee" +footer_fg = "#5ca8dc" +modal_fg = "#98c7a3" + +# ========= Special Color ========= +cursor = "#53b397" +correct = "#524094" +error = "#2082a6" +hint = "#91d4c2" +cancel = "#b53dff" +# Gradient color can only have two color! +gradient_color = ["#249a84", "#5ca8dc"] + +# ========= File Panel Special Items ========= +file_panel_top_directory_icon = "#249a84" +file_panel_top_path = "#249a84" +file_panel_item_selected_fg = "#53b397" +file_panel_item_selected_bg = "#53b397" + +# ========= Sidebar Special Items ========= +sidebar_title = "#db7ddd" +sidebar_item_selected_fg = "#249a84" +sidebar_item_selected_bg = "#111147" +sidebar_divider = "#565f89" + +# ========= Modal Special Items ========= +modal_cancel_fg = "#7c4094" +modal_cancel_bg = "#7c4094" + +modal_confirm_fg = "#7c4094" +modal_confirm_bg = "#7c4094" + +# ========= Help Menu ========= +help_menu_hotkey = "#7dcfff" +help_menu_title = "#73daca" diff --git a/superfile/theme/tokyonight.toml b/superfile/theme/tokyonight.toml index 4fbb6a8..1aab6fc 100644 --- a/superfile/theme/tokyonight.toml +++ b/superfile/theme/tokyonight.toml @@ -6,6 +6,9 @@ # If you want to make border display just set it same as sidebar background color +# Code syntax highlight theme (you can go to https://github.com/alecthomas/chroma/blob/master/styles to find one you like) +code_syntax_highlight = "catppuccin-macchiato" + # ========= Border ========= file_panel_border = "#414868" sidebar_border = "#24283b"