formatting

This commit is contained in:
micros24 2024-02-12 14:15:08 +08:00
parent 259e72135b
commit e2d4765389
1 changed files with 10 additions and 5 deletions

View File

@ -244,9 +244,9 @@ You can simply intercept the middle-click action all together, via hyprland bind
The middle-click paste action pastes from a separate buffer (primary buffer) than what the regular clipboard uses (clipboard buffer). Since the primary buffer is unrelated to the clipboard buffer, it's easy to simply keep the primary buffer empty, allowing the middle-click action to retain the rest of its functionality without having anything to paste. Run the following command (in your config with `exec-once`, for example) to achieve this:
`wl-paste -p --watch wl-copy -p ''` (`wl-paste -p --watch` watches for changes to the primary buffer, `wl-copy -p ''` clears the primary buffer)
`wl-paste -p --watch wl-copy -p ''` (`wl-paste -p --watch` watches for changes to the primary buffer, `wl-copy -p ''` clears the primary buffer)
**As you can see, however, this creates an endless loop (found copied text -> copy -> found copied text...). Therefore this method is not recommended.**
**As you can see, however, this creates an endless loop (found copied text -> copy -> found copied text...). Therefore this method is not recommended.**
</details>
@ -254,9 +254,9 @@ You can simply intercept the middle-click action all together, via hyprland bind
**_Useful Optimizations_**:
* `decoration:blur = false` and `decoration:drop_shadow = false` to disable fancy but battery hungry effects.
- `decoration:blur = false` and `decoration:drop_shadow = false` to disable fancy but battery hungry effects.
* `misc:vfr = true`, since it'll lower the amount of sent frames when nothing is happening on-screen.
- `misc:vfr = true`, since it'll lower the amount of sent frames when nothing is happening on-screen.
# How to fix games with window dancing?
@ -335,4 +335,9 @@ windowrulev2 = minsize 1 1, title:^(TITLE)$, class:^(CLASS)$
# Steam's file picker no worky
On instances where you have a steam library on another drive that you have to add, the Hyprland's file picker would not normally appear when selecting a directory from steam. Steam have its own file picker, however, it's not functional. Install `xdg-desktop-portal-gtk` to show the desktop's file picker.
On instances where you have a steam library on another drive that you have
to add, Hyprland's file picker would not normally appear when selecting
a directory from steam.
Steam have its own file picker, however, it's not functional. Install
`xdg-desktop-portal-gtk` to show the desktop's file picker.