forked from mirrors/ranger_udisk_menu
clone to ~/.config/ranger/plugins instead
This commit is contained in:
parent
49c3a62066
commit
2dfd055259
1 changed files with 3 additions and 3 deletions
|
@ -9,17 +9,17 @@ This script draws menu to mount and unmount partitions using udisksctl and ncurs
|
||||||
- lsblk 2.3 or newer
|
- lsblk 2.3 or newer
|
||||||
|
|
||||||
# How to install
|
# How to install
|
||||||
Firstly you need to clone this repo to ranger config directory
|
Firstly you need to clone this repo to the plugins directory of ranger
|
||||||
|
|
||||||
```Bash
|
```Bash
|
||||||
cd ~/.config/ranger
|
cd ~/.config/ranger/plugins
|
||||||
git clone https://github.com/SL-RU/ranger_udisk_menu
|
git clone https://github.com/SL-RU/ranger_udisk_menu
|
||||||
```
|
```
|
||||||
|
|
||||||
Then you need to add to `~/.config/ranger/commands.py` line:
|
Then you need to add to `~/.config/ranger/commands.py` line:
|
||||||
|
|
||||||
```Python3
|
```Python3
|
||||||
from ranger_udisk_menu.mounter import mount
|
from plugins.ranger_udisk_menu.mounter import mount
|
||||||
```
|
```
|
||||||
|
|
||||||
Thats all
|
Thats all
|
||||||
|
|
Loading…
Reference in a new issue