+ reintroducing lf
This commit is contained in:
@@ -97,7 +97,6 @@ aur:yt-dlp-git # cli downloader - youtube-dl fork
|
||||
#httpie # human-friendly cli http client for the api era
|
||||
#inetutils # network programs (telnet++)
|
||||
#j4-dmenu-desktop # find .desktop files and offer you a menu to start an application using dmenu
|
||||
#lf # file manager
|
||||
#libcaca # colour ascii art lib (inc. cacfire)
|
||||
#lxappearance # gtk+ theme switcher
|
||||
#lxsession # lightweight X11 session manager | needed for polkit / tuxedo-control-center
|
||||
@@ -147,6 +146,7 @@ htop # view processes
|
||||
keepassxc # password manager
|
||||
kitty # terminal
|
||||
less # cli text viewer
|
||||
lf # file manager
|
||||
lm_sensors # tools for general smbus access and hardware monitoring
|
||||
nextcloud-client # nextcloud sync client
|
||||
noto-fonts # google noto ttf fonts
|
||||
|
||||
@@ -43,7 +43,6 @@ alias ip='ip -br a'
|
||||
alias ipcam="ffplay rtsp://192.168.31.220:554/1"
|
||||
alias ipify='http https://api.ipify.org?format=json'
|
||||
alias journal='journalctl --since "1 hour ago"'
|
||||
alias keymap="setxkbmap -model pc105 -layout us,no -option grp:caps_toggle,grp_led:scroll"
|
||||
alias keyringreset="trash-put /home/poq/.local/share/keyrings/*.keyrings"
|
||||
alias ls='ls --color=auto'
|
||||
alias myip="echo $(wget http://ipinfo.io/ip -qO -)"
|
||||
|
||||
@@ -356,3 +356,7 @@
|
||||
# }
|
||||
# alias iso-unmount="sudo umount /media/iso"
|
||||
#
|
||||
|
||||
---
|
||||
|
||||
#alias keymap="setxkbmap -model pc105 -layout us,no -option grp:caps_toggle,grp_led:scroll"
|
||||
|
||||
95
dots/superfile/hotkeys.toml
Normal file
95
dots/superfile/hotkeys.toml
Normal file
@@ -0,0 +1,95 @@
|
||||
##############################################
|
||||
# #
|
||||
# Superfile Configuration #
|
||||
# #
|
||||
##############################################
|
||||
|
||||
# This contains the hotkey config file for superfile! More details can be found at
|
||||
# https://superfile.dev/configure/custom-hotkeys/.
|
||||
|
||||
###############################################################################
|
||||
# Global hotkeys #
|
||||
###############################################################################
|
||||
|
||||
# Note: These hotkeys should be unique.
|
||||
|
||||
#-- Basic Actions
|
||||
confirm = ['enter', 'right', 'l']
|
||||
cd_quit = ['Q', '']
|
||||
quit = ['q', 'esc']
|
||||
|
||||
#-- Navigation
|
||||
list_down = ['down', 'j']
|
||||
list_up = ['up', 'k']
|
||||
page_down = ['pgdown','']
|
||||
page_up = ['pgup','']
|
||||
|
||||
#-- File Panel Controls
|
||||
close_file_panel = ['w', '']
|
||||
create_new_file_panel = ['n', '']
|
||||
next_file_panel = ['tab', 'L']
|
||||
open_sort_options_menu = ['o', '']
|
||||
pinned_directory = ['P', '']
|
||||
previous_file_panel = ['shift+left', 'H']
|
||||
toggle_file_preview_panel = ['f', '']
|
||||
toggle_reverse_sort = ['R', '']
|
||||
|
||||
#-- Focus Manipulation
|
||||
focus_on_metadata = ['m', '']
|
||||
focus_on_process_bar = ['p', '']
|
||||
focus_on_sidebar = ['s', '']
|
||||
|
||||
#-- File/Dir Creation/Renaming
|
||||
file_panel_item_create = ['ctrl+n', '']
|
||||
file_panel_item_rename = ['ctrl+r', '']
|
||||
|
||||
#-- Main File Operations
|
||||
copy_items = ['ctrl+c', '']
|
||||
cut_items = ['ctrl+x', '']
|
||||
delete_items = ['ctrl+d', 'delete', '']
|
||||
paste_items = ['ctrl+v', 'ctrl+w', '']
|
||||
permanently_delete_items = ['D', '']
|
||||
|
||||
#-- Archive Manipulation
|
||||
compress_file = ['ctrl+a', '']
|
||||
extract_file = ['ctrl+e', '']
|
||||
|
||||
#-- Editor Actions
|
||||
open_current_directory_with_editor = ['E', '']
|
||||
open_file_with_editor = ['e', '']
|
||||
|
||||
#-- Other Actions
|
||||
change_panel_mode = ['v', '']
|
||||
copy_path = ['ctrl+p', '']
|
||||
copy_present_working_directory = ['c', '']
|
||||
open_command_line = [':', '']
|
||||
open_help_menu = ['?', '']
|
||||
open_spf_prompt = ['>', '']
|
||||
open_zoxide = ['z', '']
|
||||
toggle_dot_file = ['.', '']
|
||||
toggle_footer = ['F', '']
|
||||
|
||||
###############################################################################
|
||||
# Typing hotkeys #
|
||||
###############################################################################
|
||||
|
||||
# Note: These hotkeys can override all hotkeys.
|
||||
|
||||
confirm_typing = ['enter', '']
|
||||
cancel_typing = ['ctrl+c', 'esc']
|
||||
|
||||
###############################################################################
|
||||
# Mode-Specific Hotkeys #
|
||||
###############################################################################
|
||||
|
||||
# Note: These hotkeys can conflict with other modes, but not with global
|
||||
# hotkeys.
|
||||
|
||||
#-- Normal Mode Actions
|
||||
parent_directory = ['h', 'left', 'backspace']
|
||||
search_bar = ['/', '']
|
||||
|
||||
#-- Selection Mode Actions
|
||||
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', '']
|
||||
@@ -402,6 +402,12 @@ if [ ${operation} == "dots" ] ; then
|
||||
create_dir ${file_path}
|
||||
deploy_file "${dots_trg}/keepassxc/${file_name}" "${file_path}/${file_name}"
|
||||
|
||||
# lf
|
||||
file_name=lfrc
|
||||
file_path=/home/${system_user}/.config/lf
|
||||
create_dir ${file_path}
|
||||
deploy_file "${dots_trg}/lf/${file_name}" "${file_path}/${file_name}"
|
||||
|
||||
# pcmanfm
|
||||
# bookmarks found in "dots/gtk/.gtk-bookmarks"
|
||||
file_name=pcmanfm.conf
|
||||
@@ -416,10 +422,9 @@ if [ ${operation} == "dots" ] ; then
|
||||
deploy_file "${dots_trg}/psensor/${file_name}" "${file_path}/psensor.cfg"
|
||||
|
||||
# superfile
|
||||
file_name=config.toml
|
||||
file_path=/home/${system_user}/.config/superfile
|
||||
create_dir ${file_path}
|
||||
deploy_file "${dots_trg}/superfile/${file_name}" "${file_path}/${file_name}"
|
||||
deploy_file "${dots_trg}/superfile/*" "${file_path}/"
|
||||
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user