gokcehan / lf

Terminal file manager
MIT License
7.75k stars 332 forks source link

Icons to actions and progress bar to selections #835

Closed cain-dev closed 2 years ago

cain-dev commented 2 years ago

Hi, thanks again to all of you for this amazing tool, and I apologize in advance if I'm asking too much or talking nonsense or if it is too conceptual....

But i recently discovered terminocentric applications and it truly amazes me how much more efficient it is to use this tool in the vast majority of cases.

I was making the icon file for my lf while I was on a call with a friend, and in the middle of the conversation he said "I would love to replace my entire interface with actions and icons in this file manager", at first we only talked about a menu for mounting and unmounting disks (because we had ranger as reference), until we came to concepts such as having a loading bar for copying files not at the bottom of the screen but as the "background" of the selected item, have "plugs" files that perform a task instead of redirecting to opening the file... ( for example a directory where each file is an ON or OFF plug with visual change on the icons FILE: Action (mounted pendrive) [ON icon] "hits enter" FILE: Action (mounted pendrive) [icon OFF] ) or for example, when you press enter on the file that file give a command to change the wallpaper on sway and add the selecion mark icon ( V) at the end of the file selection space on LF UI. something like

directory: Select Wallpaper :action (cd to wallpapers directory but the action on that directory changes to apply wallpaper, when you hit enter and sets that file as wallpaper the file "ICON wallpaper.png" gets a checkmark icon at the end (the place where the info would be) and changes to "ICON wallpaper.png ( v )icon"

Basically specific actions on specific directories and actions that may return visual changes to the UI. So instead of keyboard shortcuts to bash script, support for UI shortcuts for actions, methods and with visual representation... Yeah, i swear im not drunk xD

But imagine your $HOME folder having something like a... I don't know, system settings folder.

HOME\ Pictures\ Downloads\ ... System settings\ Change wallpaper (specific action for this directory = select feh wallpaper)\ wall1.png wall2.png wall3.png wall3.png (v) Disc Mount (specific action for this directory = mount and unmount devices\ (hd icon) HDD1 (unmounted icon)\ if press enter changes to (hd icon) HDD1 (mounted icon) (ssd icon) SSD1 (mounted icon)\ System Update (icon changes based on check for updates script) \ IF we have updates (pacman -Syyu) e changes icon after update

Is it possible to have this kind of thing in a terminal file manager? Is this bloat? Should i sleep now? I don't know, just some ideas.

Oh, and btw, i don't expect (and honestly don't even want) to you guys program all of this, but i couldn't find any kind of plugin or script that gives this kind of control to navigation and ui (if it is 'cause it's not a possibility i sincerely apologize for my ignorance) and after that conversation i honestly think that would be awesome to have a plugin with config file for this kinf of thing (seamless "automatic change actions" just based on directory and "add icon to selection UI would be a great start).

Again, if it is just nonsense i would have no problem get this closed on sight... But could you guys think a lil bit about this plz? Thanks! o/

Ok, i will try to get some sleep now... (please be gentle, i was just trying to contribute ç.ç)

image

cain-dev commented 2 years ago

better explanation here: https://bugs.kde.org/show_bug.cgi?id=454005

cain-dev commented 2 years ago

i know how discussions work now e-e sorry