From b54a38284130c05b3b4719d1233f7792ebec339c Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Tue, 11 Mar 2025 09:47:39 +0100 Subject: [PATCH] Improve yazi config --- general/configs/yazi/keymap.toml | 25 +++++++++++++++++ laptop/installedPackages.txt | 46 +++++++++++++++++++++++++++++--- 2 files changed, 68 insertions(+), 3 deletions(-) create mode 100644 general/configs/yazi/keymap.toml diff --git a/general/configs/yazi/keymap.toml b/general/configs/yazi/keymap.toml new file mode 100644 index 0000000..900f918 --- /dev/null +++ b/general/configs/yazi/keymap.toml @@ -0,0 +1,25 @@ +[manager] + +prepend_keymap = [ + # # undo trash + # { on = "u", run = "plugin restore", desc = "Restore last deleted files/folders" }, + # # compress + # { on = "C", run = "plugin ouch --args=zip", desc = "Compress with ouch" }, + # Goto + { on = [ "g", "h" ], run = "cd ~", desc = "Go to ~" }, + { on = [ "g", "c" ], run = "cd ~/.config", desc = "Go to ~/.config" }, + { on = [ "g", "a" ], run = "cd ~/.cache", desc = "Go to ~/.cache" }, + { on = [ "g", "n" ], run = "cd ~/NextCloud/Documents/",desc = "Go to NextCloud Documents" }, + { on = [ "g", "l", "b" ], run = "cd ~/.local/bin", desc = "Go to ~/.local/bin" }, + { on = [ "g", "l", "s" ], run = "cd ~/.local/share", desc = "Go to ~/.local/share" }, + { on = [ "g", "s", "h" ], run = "cd ~/.steam/steam/steamapps/common", desc = "Go to ~/.steam/steam/steamapps/common" }, + { on = [ "g", "s", "g" ], run = "cd /mnt/games/SteamLibrary", desc = "Go to SteamLibrary on NTFS partition" }, + { on = [ "g", "s", "s" ], run = "cd /mnt/secondary/SteamLibrary", desc = "Go to SteamLibrary on main games drive" }, + { on = [ "g", "o" ], run = "cd /mnt/janis/Documents", desc = "Go to Documents" }, + { on = [ "g", "d" ], run = "cd ~/Downloads", desc = "Go to ~/Downloads" }, + { on = [ "g", "p" ], run = "cd /mnt/janis/Pictures", desc = "Go to Pictures" }, + { on = [ "g", "t" ], run = "cd /tmp", desc = "Go to /tmp" }, + { on = [ "g", "/" ], run = "cd /", desc = "Go to /" }, + { on = [ "g", "m" ], run = "cd /run/media/$USER", desc = "Go to /run/media" }, + { on = [ "g", "" ], run = "cd --interactive", desc = "Go to interactively" }, +] diff --git a/laptop/installedPackages.txt b/laptop/installedPackages.txt index 9455b98..486ab76 100644 --- a/laptop/installedPackages.txt +++ b/laptop/installedPackages.txt @@ -3,6 +3,7 @@ a52dec aalib abseil-cpp accounts-qml-module +accountsservice acl acpi adobe-source-code-pro-fonts @@ -47,6 +48,9 @@ blas64-openblas blueman bluez bluez-libs +bluez-qt +bluez-qt5 +boost-libs botan2 brave-bin breeze-icons @@ -78,6 +82,7 @@ composer containerd convertlit coreutils +cpio cppdap cpupower-gui cracklib @@ -106,6 +111,7 @@ dvisvgm e2fsprogs ebook-tools eclipse-java-bin +editline editorconfig-core-c efibootmgr efivar @@ -480,6 +486,7 @@ ijs imagemagick imath imlib2 +inetutils iproute2 iptables iputils @@ -502,21 +509,26 @@ jsoncpp julia kaccounts-integration karchive -karchive5 kate kauth +kauth5 kbd kbookmarks kcmutils kcodecs +kcodecs5 kcolorpicker kcolorscheme kcompletion kconfig +kconfig5 kconfigwidgets +kconfigwidgets5 kcoreaddons +kcoreaddons5 kcrash kdbusaddons +kdbusaddons5 kdnssd keyutils kfilemetadata @@ -524,6 +536,7 @@ kglobalaccel kguiaddons kguiaddons5 ki18n +ki18n5 kiconthemes kidletime kimageannotator @@ -531,6 +544,7 @@ kio kirigami kitemmodels kitemviews +kitemviews5 kitty kitty-shell-integration kitty-terminfo @@ -539,22 +553,28 @@ kmines kmod knewstuff knotifications +knotifications5 kpackage kparts kpty krb5 kservice +kservice5 ktexteditor ktextwidgets kuserfeedback kvantum kwallet +kwallet5 kwidgetsaddons +kwidgetsaddons5 kwindowsystem +kwindowsystem5 kxmlgui l-smash lame lapack +lazygit lcms2 ldns leancrypto @@ -596,6 +616,7 @@ lib32-libnsl lib32-libpcap lib32-libpciaccess lib32-libpng +lib32-libpng12 lib32-libpsl lib32-libssh2 lib32-libtasn1 @@ -679,11 +700,13 @@ libcdio-paranoia libcheese libcloudproviders libcolord +libcpuid libcups libdaemon libdatrie libdbusmenu-glib libdbusmenu-gtk3 +libdbusmenu-qt5 libdc1394 libdca libde265 @@ -795,14 +818,18 @@ libpipewire libplacebo libplist libpng +libpng12 libproxy libpsl libpulse libpwquality libqalculate +libqt5xdg +libqxp libraqm libraw libraw1394 +librevenge librewolf-bin librewolf-bin-debug librsvg @@ -920,6 +947,7 @@ llvm-julia-libs llvm-libs lm_sensors lmdb +lowdown lsb-release lsof lua @@ -935,6 +963,7 @@ m4 mailcap make man-db +maven mbedtls2 md4c mdadm @@ -958,6 +987,7 @@ mujs mypaint-brushes1 nano ncurses +ncurses5-compat-libs neofetch neon neovim @@ -966,6 +996,8 @@ network-manager-applet networkmanager nextcloud-client ninja +nix +nix-busybox nm-connection-editor nmap node-gyp @@ -1142,6 +1174,7 @@ plymouth polkit polkit-gnome polkit-kde-agent +polkit-qt5 polkit-qt6 poppler poppler-data @@ -1150,6 +1183,7 @@ poppler-qt6 popt portaudio potrace +powertop prettier prismlauncher procps-ng @@ -1188,7 +1222,6 @@ python-pygments python-pyxdg python-setuptools python-shtab -python-six python-termcolor python-tomli python-tqdm @@ -1198,15 +1231,18 @@ python-typing_extensions python-validate-pyproject python-wheel qalculate-gtk +qca-qt5 qca-qt6 qqc2-desktop-style qrencode +qsynth qt5-base qt5-declarative qt5-graphicaleffects qt5-location -qt5-quickcontrols +qt5-multimedia qt5-quickcontrols2 +qt5-speech qt5-svg qt5-translations qt5-wayland @@ -1282,6 +1318,7 @@ sndio socat solid sonnet +sonnet5 sord sound-theme-freedesktop soundtouch @@ -1339,6 +1376,7 @@ texlive-publishers texlive-xetex threadweaver thunar +thunar-media-tags-plugin thunar-volman thunderbird tinysparql @@ -1423,6 +1461,7 @@ xcb-util-keysyms xcb-util-renderutil xcb-util-wm xcb-util-xrm +xclip xcur2png xdg-dbus-proxy xdg-desktop-portal @@ -1451,6 +1490,7 @@ xorg-xauth xorg-xinit xorg-xinput xorg-xkbcomp +xorg-xlsclients xorg-xmodmap xorg-xprop xorg-xrandr