mirror of
https://github.com/SL-RU/ranger_udisk_menu.git
synced 2024-09-20 12:21:22 +02:00
clone to ~/.config/ranger/plugins instead
This commit is contained in:
parent
49c3a62066
commit
2dfd055259
@ -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 New Issue
Block a user