From ff0bbf9904b594a93e06c641fd055672bf26aa85 Mon Sep 17 00:00:00 2001 From: Antonino Scordino Date: Fri, 21 Oct 2022 16:03:44 +0200 Subject: [PATCH] pages: Be more generic instead of using "I" and "We" --- pages/Configuring/Binds.md | 10 ++++------ pages/Configuring/Configuring-Hyprland.md | 2 +- pages/Configuring/Environment-variables.md | 8 ++++---- pages/Configuring/Uncommon-tips-&-tricks.md | 5 +++-- pages/Contributing and Debugging/_index.md | 5 ++--- pages/FAQ/_index.md | 4 ++-- pages/Getting Started/Quick-start.md | 8 ++++---- pages/Useful Utilities/Color-Pickers.md | 3 ++- pages/Useful Utilities/Status-Bars.md | 8 ++++---- 9 files changed, 26 insertions(+), 27 deletions(-) diff --git a/pages/Configuring/Binds.md b/pages/Configuring/Binds.md index f21dd4b..724174b 100644 --- a/pages/Configuring/Binds.md +++ b/pages/Configuring/Binds.md @@ -191,12 +191,10 @@ including OBS, Discord, Firefox, etc. See the [`pass` dispatcher](./Dispatchers/#dispatchers) for keybinds. -e.g.: +Let's take OBS as example: the "Start/Stop Recording" keybind is set to +SUPER + F10, and you want to make it work globally. -I've set the "Start/Stop Recording" keybind in OBS to SUPER + -F10, and I want it to be global. - -Simple, add +Simply, just add ```ini bind = SUPER,F10,pass,^(com\.obsproject\.Studio)$ @@ -256,7 +254,7 @@ submap=reset this case, `escape`) If you get stuck inside a keymap, you can use `hyprctl dispatch submap reset` to -go back. If you do not have a terminal open, tough luck buddy. I warned you. +go back. If you do not have a terminal open, tough luck buddy. You have been warned. You can also set the same keybind to perform multiple actions, such as resize and close the submap, like so: diff --git a/pages/Configuring/Configuring-Hyprland.md b/pages/Configuring/Configuring-Hyprland.md index 50c9ccc..4ad5713 100644 --- a/pages/Configuring/Configuring-Hyprland.md +++ b/pages/Configuring/Configuring-Hyprland.md @@ -1,6 +1,6 @@ The config is located in `~/.config/hypr/hyprland.conf`. -I recommend you copy the `examples/hyprland.conf`, but you can also edit the +It is recommended to copy the `examples/hyprland.conf`, but you can also edit the autogenerated config. By removing the line `autogenerated=1` you'll remove the yellow warning. diff --git a/pages/Configuring/Environment-variables.md b/pages/Configuring/Environment-variables.md index bc648bd..16ff8e1 100644 --- a/pages/Configuring/Environment-variables.md +++ b/pages/Configuring/Environment-variables.md @@ -1,7 +1,7 @@ -We have [previously mentioned](../Getting-Started/Quick-start/#wrapping-the-launcher-recommended) using a wrapper to launch Hyprland. Whether you -start Hyprland through TTY or a Display Manager, it is recommended to use a wrapper. -As such, you can pass certain environment variables to improve Wayland compatibility, or -simply change certain aspects of your desktop. +As [previously mentioned](../Getting-Started/Quick-start/#wrapping-the-launcher-recommended), it's +useful using a wrapper to launch Hyprland. Whether you start Hyprland through TTY or a Display +Manager, it is always suggested to use one. As such, you can pass certain environment +variables to improve Wayland compatibility, or simply change certain aspects of your desktop. Please avoid putting those environment variables in /etc/environment. That will cause all sessions (including Xorg ones) to pick up your wayland-specific environment on traditional diff --git a/pages/Configuring/Uncommon-tips-&-tricks.md b/pages/Configuring/Uncommon-tips-&-tricks.md index 0f6dce2..8649a77 100644 --- a/pages/Configuring/Uncommon-tips-&-tricks.md +++ b/pages/Configuring/Uncommon-tips-&-tricks.md @@ -31,9 +31,10 @@ submap=reset ## Window Dancing -Some XWayland games like Rhythm Doctor and Friday Night Funkin' mods like to move the windows by themselves, but that often doesn't work by default. +Some XWayland games like Rhythm Doctor and Friday Night Funkin' mods like to move +the windows by themselves, but that often doesn't work by default. -To configure this, I'll be using Rhythm Doctor as an example. +For example, if you want to configure Rhythm Doctor, you'd have to: 1. Set input rules ```ini diff --git a/pages/Contributing and Debugging/_index.md b/pages/Contributing and Debugging/_index.md index af79ae1..84a38fa 100644 --- a/pages/Contributing and Debugging/_index.md +++ b/pages/Contributing and Debugging/_index.md @@ -63,7 +63,7 @@ bugs. When Hyprland crashes, use `coredumpctl` and then `coredumpctl info PID` to see the dump. See the instructions below for more info about `coredumpctl`. -I also recommend the amazing command +You can also use the amazing command ```sh watch -n 0.1 "cat /tmp/hypr/$(echo HYPRLAND_INSTANCE_SIGNATURE)/hyprland.log | grep -v \"arranged\" | tail -n 40" @@ -83,8 +83,7 @@ Hyprland can run nested in a window. For that, make sure you did the following: - removed ALL `exec=` and `exec-once=` keywords from your debug config (`hyprlandd.conf`) - set a resolution and are not using `preferred` -- made sure no keybinds overlap (I recommend using a different mod for your - keybinds altogether) +- made sure no keybinds overlap (use a different mod for your keybinds altogether) Once you launch, the display will probably be completely garbled. To fix that, in the parent, do a `hyprctl clients` and note the size of the window. Make sure diff --git a/pages/FAQ/_index.md b/pages/FAQ/_index.md index 20c01e9..c70921f 100644 --- a/pages/FAQ/_index.md +++ b/pages/FAQ/_index.md @@ -28,8 +28,8 @@ variable. # My external monitor is blank / doesn't render / receives no signal (laptop) -For Radeon graphics - unfortunately, it's a bug in wlroots, and I can't -do much about it other than wait for the wlroots devs to fix it: +For Radeon graphics - unfortunately, it's a bug in wlroots, and not much +can be done other than waiting for the wlroots devs to fix it: [https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3451](https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3451) For Nvidia graphics - unfortunately, it's a wlroots issue as well, most likely due to Nvidia's diff --git a/pages/Getting Started/Quick-start.md b/pages/Getting Started/Quick-start.md index 02d129e..d1e792e 100644 --- a/pages/Getting Started/Quick-start.md +++ b/pages/Getting Started/Quick-start.md @@ -1,6 +1,6 @@ -After you have installed Hyprland, you can either launch it from a TTY with +wAfter you have installed Hyprland, you can either launch it from a TTY with `Hyprland` or from a login manager. Although login managers aren't officially -supported, I recommend `SDDM`, as it's been working flawlessly with wayland +supported, you might want to use `SDDM`, as it's been working flawlessly with wayland compositors. It is recommended you have `kitty` installed for terminal access, (example and @@ -34,7 +34,7 @@ exec Hyprland ``` You can add as many exported envvars as you need (Nvidia users might need a -lot), but I recommend having _at least_ the shown two. +lot), but it' recommended to have _at least_ the shown two. You should now launch Hyprland with `wrappedhl` instead of `Hyprland`. Make sure to copy your `.desktop` file in `/usr/share/wayland-sessions/` and edit it if you use a @@ -54,7 +54,7 @@ the desktop file on updates. If you manually build Hyprland, consider using `sud Once you log in, you'll be greeted with a yellow warning that will give you some basic keybind info of your pregenerated config. -I recommend you use the config provided in `examples/hyprland.conf` though. +It's better to use the config provided in `examples/hyprland.conf` though. Paste it into `~/.config/hypr/hyprland.conf` diff --git a/pages/Useful Utilities/Color-Pickers.md b/pages/Useful Utilities/Color-Pickers.md index e61f69a..d1e32f1 100644 --- a/pages/Useful Utilities/Color-Pickers.md +++ b/pages/Useful Utilities/Color-Pickers.md @@ -1,6 +1,7 @@ Color pickers are useful for quickly grabbing a color of _something_ on your screen. -We recommend our own solution, which, so far, seems to be the only one that doesn't suck. +It's preferred using _hyrpwm_'s own solution, which, so far, seems to be the only one that +doesn't suck. # Hyprpicker diff --git a/pages/Useful Utilities/Status-Bars.md b/pages/Useful Utilities/Status-Bars.md index 6218378..a080715 100644 --- a/pages/Useful Utilities/Status-Bars.md +++ b/pages/Useful Utilities/Status-Bars.md @@ -50,8 +50,8 @@ your module this way: ## Clicking on workspace doesn't work! On the `wlr/workspaces` module, add `"on-click": "activate"`. That's the purpose of -the `sed` command we had to apply before building: the default way to select a -workspace by clicking uses the `swaymsg`'s way, furthermore it is required to edit +the `sed` command used before building: the default way to select a workspace by +clicking uses the `swaymsg`'s way, furthermore it is required to edit this function to make it work with `hyprctl`. # Eww @@ -64,8 +64,8 @@ by manually compiling. In the latter case, you can follow the ## Configuration After you've successfully installed Eww, you can move onto configuring it. There -are a few examples listed in the [Readme](https://github.com/elkowar/eww). We -highly recommend you also read through the +are a few examples listed in the [Readme](https://github.com/elkowar/eww). It's also +highly recommend to read through the [Configuration options](https://elkowar.github.io/eww/configuration.html). {{< hint type=important >}}