Added a new page under "Useful Utilities", named "USB Automount" (#126)

This commit is contained in:
Ozone 2023-02-12 19:22:04 +00:00 committed by GitHub
parent f1fdb59521
commit 17411b31ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 10 deletions

View file

@ -1,15 +1,14 @@
### Clipboard Managers
_Starting method:_ manual (`exec-once`)
Clipboard Managers are useful tools that allows one to manage their copied items, be-it texts or images.
Some common ones used are `copyq`, `clipman` and `cliphist`.
`clipman` - Utilizes Wayland with `wl-clipboard` support and stores text only [clipman](https://github.com/yory8/clipman)
`clipman` - Utilizes Wayland with `wl-clipboard` support and stores text only [Github](https://github.com/yory8/clipman)
`cliphist` - Utilizes Wayland with `wl-clipboard` and can store both images and text [cliphist](https://github.com/sentriz/cliphist)
`cliphist` - Utilizes Wayland with `wl-clipboard` and can store both images and text [Github](https://github.com/sentriz/cliphist)
##cliphist
## cliphist
Start by adding the following lines to your `~/.config/hypr/hyprland.conf`
@ -22,12 +21,12 @@ Do note that any of the above lines can be disabled based on your needs
To bind `cliphist` to a hotkey and display it under `rofi` or `dmenu`, again head over to `~/.config/hypr/hyprland.conf`
#For `rofi` users
# For `rofi` users
```ini
bind = SUPER, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
```
#For `dmenu` users
# For `dmenu` users
```ini
bind = SUPER, V, exec, cliphist list | dmenu | cliphist decode | wl-copy
```
@ -35,7 +34,7 @@ The binds mention above correspond to SUPER+V to access the clipboard history
For further info, please refer to the repository mentioned above
##clipman
## clipman
Start by adding the following line to your `~/.config/hypr/hyprland.conf`
@ -51,12 +50,12 @@ And also make sure to create a file named `clipman-primary.json` in `~/.local/sh
Now bind the `clipman` like this:
#For `rofi` users
# For `rofi` users
```ini
bind = SUPER, V, clipman pick -t wofi
```
#For `dmenu` users
# For `dmenu` users
```ini
bind = SUPER, V, clipman pick -t dmenu
```

View file

@ -41,3 +41,5 @@ You can autostart it with `exec-once=/usr/lib/polkit-kde-authentication-agent-1`
_Starting method:_ none (just a library)
Install `qt5-wayland` and `qt6-wayland`.

View file

@ -7,4 +7,30 @@ Here you will find links to some other projects that may not fit into any of the
[hyprland-per-window-layout](https://github.com/coffebar/hyprland-per-window-layout/) by _MahouShoujoMivutilde and coffebar_: Per window keyboard layouts for Hyprland.
### IPC wrappers
[hyprland-rs](https://github.com/yavko/hyprland-rs) by _yavko_: A neat wrapper for Hyprland's IPC written in Rust.
[hyprland-rs](https://github.com/yavko/hyprland-rs) by _yavko_: A neat wrapper for Hyprland's IPC written in Rust
### Automatically Mounting Using `udiskie`
_Starting method:_ manual ('exec-once')
USB Mass storage devices, like thumb drives, mobile phones, digital cameras, etc. do not mount automatically to the file system.
We generally have to manually mount it, often using root and `umount` to do so.
Many popular DEs automatically handle this by using `udisks2` wrappers.
`udiskie` is a udisks2 front-end that allows to manage removable media such as CDs or flash drives from userspace.
Install `udiskie` via your repositories, or [build manually](https://github.com/coldfix/udiskie/wiki/installation)
Head over to your `~/.config/hypr/hyprland.conf` and add the following lines:
```ini
exec-once = udiskie &
```
What this does is launches `udiskie` and `&` argument launches it in the background.
[See more uses here](https://github.com/coldfix/udiskie/wiki/Usage) .