This commit is contained in:
vaxerski 2022-10-23 12:35:40 +01:00
parent 42ec99e29d
commit 53131b659d
13 changed files with 27 additions and 43 deletions

View File

@ -33,7 +33,6 @@ animation=windows,1,10,myepiccurve,slide
## Animation tree
```txt
global
↳ windows - styles: slide, popin
↳ windowsIn - window open

View File

@ -29,7 +29,7 @@ _For a complete mod list, see [Variables](../Variables/#variable-types)._
_The dispatcher list can be found in [Dispatchers](../Dispatchers)._
# Uncommon syms / binding with a keycode
## Uncommon syms / binding with a keycode
See the
[xkbcommon-keysyms.h header](https://github.com/xkbcommon/libxkbcommon/blob/master/include/xkbcommon/xkbcommon-keysyms.h)

View File

@ -1,4 +1,7 @@
This page documents all of the more advanced config options.
Keywords are not variables, but "commands" for more advanced configuring. On this
page, you will be presented with some that do not deserve their own page.
See the sidebar for more keywords to control binds, animations, monitors, et cetera.
{{< hint type=important >}}
@ -27,16 +30,6 @@ three_param_keyword = A, B, # OK
you can execute a shell script on startup of the compositor or on each time it's
reloaded.
{{< hint type=info >}}
**Note:** The issue below was fixed in upstream. (since _after_ v0.15.0beta)
There currently is a bug with the exec that makes the executed app
unable to die if killed, use `SIGKILL` (e.g. `killall name -9`) or launch from a
script (`exec-once=~/myscript.sh` and do `myapp &` in the script)
{{< /hint >}}
`exec-once=command` will execute only on launch
`exec=command` will execute on each reload

View File

@ -29,7 +29,7 @@ bind=MOD,KEY,submap,reset
submap=reset
```
## Window Dancing
# 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.

View File

@ -93,20 +93,14 @@ splash - prints the current random splash
getoption [option] - gets the config option status (values)
```
For the getoption command, the option name should be in the following format:
section:option
```sh
hyprctl getoption section:option
```
e.g.
For the getoption command, the option name should be written as `section:option`,
e.g.:
```sh
hyprctl getoption general:border_size
# Or nested
hyprctl getoption input:touchpad:disable_while_typing = bool
# For nested sections:
hyprctl getoption input:touchpad:disable_while_typing
```
See [Variables](./Variables) for section and options you can use.

View File

@ -271,7 +271,7 @@ Try disabling VFR with `misc:no_vfr=1`.
I assume you already have `damage_tracking` on full. If you don't, change it. It's
heavily advised to use `full` regardless of anything.
## Useful Optimizations
**_Useful Optimizations_**:
* `decoration:blur_new_optimizations = true`, to use new optimizations for
blurring.

View File

@ -8,7 +8,7 @@ Every card seems to be random, and might work perfectly, or not work at all.
Nevertheless, it's recommended to at least try this tutorial.
# How to get Hyprland to possibly work on Nvidia
## How to get Hyprland to possibly work on Nvidia
Install the `nvidia-dkms` driver and add it to your initramfs & kernel
parameters. Follow the information available here:

View File

@ -1,7 +1,7 @@
Some clients are known for being a massive pain under Wayland. Here are great
replacements for them:
# Discord
## Discord
- [WebCord](https://github.com/SpacingBat3/WebCord) is a Discord client based on
the latest Electron, with support for Wayland Ozone platform, as well as
@ -11,7 +11,7 @@ on the Discord ToS.
- [gtkcord4](https://github.com/diamondburned/gtkcord4) is a Discord client written in GTK4.
While it does infringe on Discord's ToS, it's relatively safe and doesn't rely on any webview technologies.
# Spotify
## Spotify
Spotify does not follow window rules. This is because the client sets is class _after_
the window has opened, thus making it "immune" to windowrules. An alternative to
@ -43,7 +43,7 @@ Pick your poison.
## Matrix/Element
- [Fractal](https://wiki.gnome.org/Apps/Fractal) is a Matrix client written in GTK4.
[Fractal](https://wiki.gnome.org/Apps/Fractal) is a Matrix client written in GTK4.
Much like Discord, Element is known to have a lot of problems as a result of being
based on Electron. Fractal currently doesn't support VoIP calling, but all other features
are supported, including E2EE and cross-device verification.

View File

@ -1,14 +1,14 @@
# Wofi
## Wofi
Wofi is a GTK-based customizable launcher for wayland.
[SourceHut](https://hg.sr.ht/~scoopta/wofi).
# Rofi (Wayland fork)
## Rofi (Wayland fork)
Rofi, but with Wayland support.
[GitHub](https://github.com/lbonn/rofi).
# bemenu
## bemenu
bemenu is a Wayland-native replacement for dmenu.
[GitHub](https://github.com/Cloudef/bemenu).

View File

@ -3,6 +3,6 @@ Color pickers are useful for quickly grabbing a color of _something_ on your scr
It's preferred using _hyrpwm_'s own solution, which, so far, seems to be the only one that
doesn't suck.
# Hyprpicker
## Hyprpicker
Dead simple to use. Launch, click, and you're done. [GitHub](https://github.com/hyprwm/hyprpicker)

View File

@ -1,13 +1,13 @@
Screensharing is done through PipeWire on Wayland.
# Prerequsities
## Prerequsities
Make sure you have `pipewire` and `wireplumber` installed, enabled and running
if you don't have them yet.
Also install `slurp` for monitor selection.
# Screensharing
## Screensharing
Read
[this amazing gist by PowerBall253](https://gist.github.com/PowerBall253/2dea6ddf6974ba4e5d26c3139ffb7580)

View File

@ -38,14 +38,12 @@ Replace `#workspaces button.focus` with `#wroskapces button.active` in `~/.confi
Since there a lot of configuration options from `sway/workspaces` are missing, you
should deduce some of them by yourself. In the case of scrolling, it should look like this:
```json
```json
"wlr/workspaces": {
"format": "{icon}",
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1"
},
}
```
## Clicking on a workspace icon does not work!

View File

@ -1,28 +1,28 @@
Launch your wallpaper utility with `exec-once=`.
# hyprpaper
## hyprpaper
Straight from our oven, `hyprpaper` is a wallpaper utility from the Hypr
Development team. See its usage and config by following the README on the
[GitHub Page](https://github.com/hyprwm/hyprpaper).
# swaybg
## swaybg
Great utility if all you want is one simple static wallpaper that will never
change, and don't want to make a config file. Get it
[here](https://github.com/swaywm/swaybg).
# wpaperd
## wpaperd
A bit more advanced wallpaper daemon with automatic wallpaper changing options
and other fancy stuff. [GitHub](https://github.com/danyspin97/wpaperd).
# mpvpaper
## mpvpaper
A neat mpv wrapper to play a video as your wallpaper.
[GitHub](https://github.com/GhostNaN/mpvpaper).
# swww
## swww
An efficient animated wallpaper daemon for wayland, controlled at runtime,
which means you can change wallpapers without even needing to restart.