From 60684709aec9320e2b400797472d6c431faecfde Mon Sep 17 00:00:00 2001 From: MrDisguised <128170542+MrDisguised@users.noreply.github.com> Date: Sun, 9 Apr 2023 12:56:09 +0000 Subject: [PATCH] Added some minor stuff again (#178) * Added wl-clip-pesists to the clipboard manager list Normally, when we copy something on Wayland and then close the application we copied from, the copied data (e.g. text) disappears and we cannot paste it anymore. It is very frustrating when I copy something from a clipboard and the copied data disappears after I close the application. It effects peoples work flow. So we can use something called as wl-clip-persists (https://github.com/Linus789/wl-clip-persist) which will preserve the data in the clipboard even after the application from where we copied the data is closed. * Edit #2 minor fixes * Added an example to the special workspace section Special workspace section was not explained properly. Users should know how a special workspace works thats why I gave an example so that people can understand it better. --- pages/Configuring/Dispatchers.md | 8 ++++++++ pages/Useful Utilities/Clipboard-Managers.md | 2 ++ 2 files changed, 10 insertions(+) diff --git a/pages/Configuring/Dispatchers.md b/pages/Configuring/Dispatchers.md index f4dba5c..a57758e 100644 --- a/pages/Configuring/Dispatchers.md +++ b/pages/Configuring/Dispatchers.md @@ -129,6 +129,14 @@ will send it to the currently active _real_ workspace. You can define multiple named special workspaces, but the amount of those is limited to 97 at a time. {{< /hint >}} +For example, to move a window/application to a special workspace you can use the following syntax: + +``` +bind = SUPER, C, movetoworkspace, special +#The above syntax will move the window to a special workspace upon pressing 'SUPER'+'C'. +#To see the hidden window you can use the togglespecialworkspace dispatcher mentioned above. +``` + # Workspace options ```txt diff --git a/pages/Useful Utilities/Clipboard-Managers.md b/pages/Useful Utilities/Clipboard-Managers.md index 88c484b..f20f3cc 100644 --- a/pages/Useful Utilities/Clipboard-Managers.md +++ b/pages/Useful Utilities/Clipboard-Managers.md @@ -8,6 +8,8 @@ Some common ones used are `copyq`, `clipman` and `cliphist`. `cliphist` - Utilizes Wayland with `wl-clipboard` and can store both images and text [Github](https://github.com/sentriz/cliphist) +`wl-clip-persists` - When we copy something on Wayland (using wl-clipboard) and close the application we copied from, the copied data disappears from the clipboard and we cannot paste it anymore. So to fix this problem we can use a program called as `wl-clip-persists` which will preserve the data in the clipboard after the application is closed. [Github](https://github.com/Linus789/wl-clip-persist) + ## cliphist Start by adding the following lines to your `~/.config/hypr/hyprland.conf`