Commit Graph

22 Commits

Author SHA1 Message Date
Alexander Lutsai
d7f107c352
Merge pull request #8 from aik2mlj/master
use relative path for calling menu.py & clone to ~/.config/ranger/plugins instead
2022-07-22 21:28:40 +03:00
aik2
2dfd055259 clone to ~/.config/ranger/plugins instead 2022-07-22 16:55:31 +04:00
aik2
49c3a62066 use relative path for calling menu.py 2022-07-22 16:50:38 +04:00
Alexander Lutsai
77506abb8a
Merge pull request #3 from Syphdias/cull-children
Cull children since the script does not mount parents
2022-06-20 00:13:57 +03:00
Alexander Lutsai
fdf2e4f847
Merge pull request #7 from Shinkirou/master
Fix JSON decode error.
2022-06-20 00:10:48 +03:00
João Romeiras Amado
e0db765f81
Fix JSON decode error.
The JSON output from lsblk seems to have some issues that interfere with the `json.loads()` function. Specifically, the value 0B, which is expected to be a string.

By doing a direct replace on the lsblk output for `0B` on `menu.py`, the JSON is parsed and the menu appears.
2022-06-11 01:30:12 +01:00
Syphdias
a13aba5569
Cull children since the script does not mount parents
I don't thing this is entirely correct but I have no example at hand.
You should be able to create a filesystem on e.g. /dev/sde directly without
creating a partition /dev/sde1 first. So, technically this "parent" without
"children" should be mountable.

Since the script does not consider this. This commit filters for
elements/"parents" without "children".

For most cases this will keep the height of the output smaller not to run into a
curses crash. Not ideal and the curses crashes should get looked at, but for now
this will do to reduce crashes with small windows and large amount or block
devices – thanks snap.
2022-03-21 00:14:49 +01:00
Alexander Lutsai
c89d4eed56 update for older version of lsblk and update documentation 2021-06-19 14:51:28 +03:00
Alexander Lutsai
2fa1218ca0 add power off drive functionality 2021-06-12 15:52:06 +03:00
Alexander Lutsai
a7548bee17 open selected mountpoint in the current tab 2021-06-11 15:47:46 +03:00
Alexander Lutsai
0dde4583b7 code formatting 2021-04-26 20:01:48 +03:00
Alexander Lutsai
c0623bd310 many fixes 2021-04-26 19:58:18 +03:00
Alexander Lutsai
47df672c59 show fstype if no other label 2021-04-26 16:31:57 +03:00
Alexander Lutsai
0f34945b6a Merge branch 'master' of github.com:SL-RU/ranger_udisk_menu 2021-04-26 16:28:40 +03:00
Alexander Lutsai
be187c9079 add json validity checks and remove key constants 2021-04-26 16:26:41 +03:00
Alexander Lutsai
a3efb12a18
Create LICENSE 2021-04-26 13:43:01 +03:00
Alexander Lutsai
29f73fa456 fix help string 2021-04-25 21:35:48 +03:00
Alexander Lutsai
bc4efdc5fb add screenshot 2021-04-25 21:26:38 +03:00
Alexander Lutsai
acb5175636 fix readme 2021-04-25 21:13:13 +03:00
Alexander Lutsai
7882eca61b readme 2021-04-25 21:11:15 +03:00
Alexander Lutsai
2b52ada098 change e-mail 2021-04-25 19:32:45 +03:00
Alexander Lutsai
5baa0b4092 first 2021-04-25 19:25:47 +03:00