Compare commits
6 Commits
07024b469b
...
52a28236c2
Author | SHA1 | Date |
---|---|---|
phonetic112 | 52a28236c2 | |
fuggy | 33bd679037 | |
Leon | bc3c066321 | |
Leon | 13ea15aa9c | |
Vaxry | d59d2c18f3 | |
phonetic112 | 5d9009f081 |
|
@ -180,6 +180,9 @@ bind = SUPER, C, movetoworkspace, special
|
||||||
The `exec` dispatcher supports adding rules. Please note some windows might work
|
The `exec` dispatcher supports adding rules. Please note some windows might work
|
||||||
better, some worse. It records the PID of the spawned process and uses that. For example, if
|
better, some worse. It records the PID of the spawned process and uses that. For example, if
|
||||||
your process forks and then the fork opens a window, this will not work.
|
your process forks and then the fork opens a window, this will not work.
|
||||||
|
Rules will only be applied once. This means dynamic rules will be overridden as soon as a
|
||||||
|
property of the window changes (e.g. switching focus). To make dynamic rules stick around
|
||||||
|
use `hyprctl setprop` (see [Using hyprctl](./Using-hyprctl)).
|
||||||
|
|
||||||
The syntax is:
|
The syntax is:
|
||||||
|
|
||||||
|
@ -190,5 +193,5 @@ bind = mod, key, exec, [rules...] command
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
```
|
```
|
||||||
bind = SUPER, E, exec, [workspace 2 silent;float;noanim] kitty
|
bind = SUPER, E, exec, [workspace 2 silent; float; move 0 0] kitty
|
||||||
```
|
```
|
||||||
|
|
|
@ -198,6 +198,38 @@ Sets a window prop. Can be locked by adding `lock` at the end. If `lock` is not
|
||||||
added, will be unlocked. Locking means a dynamic windowrule _cannot_ override
|
added, will be unlocked. Locking means a dynamic windowrule _cannot_ override
|
||||||
this setting.
|
this setting.
|
||||||
|
|
||||||
|
Usage:
|
||||||
|
```sh
|
||||||
|
hyprctl setprop <mode:regex> <property> <value> [lock]
|
||||||
|
```
|
||||||
|
|
||||||
|
Regex supports different modes. The supported modes are:
|
||||||
|
```ini
|
||||||
|
class - class
|
||||||
|
title - title
|
||||||
|
initialclass - initialClass
|
||||||
|
initialtitle - initialTitle
|
||||||
|
active - active window
|
||||||
|
address - address prefixed with 0x
|
||||||
|
pid - process ID
|
||||||
|
floating - first floating window on the current workspace
|
||||||
|
tiled - first tiled window on the current workspace
|
||||||
|
```
|
||||||
|
|
||||||
|
If no mode is specified `class` is used by default.
|
||||||
|
|
||||||
|
{{< callout type=info >}}
|
||||||
|
|
||||||
|
To get more information about a window, you can use `hyprctl clients`.
|
||||||
|
|
||||||
|
{{< /callout >}}
|
||||||
|
|
||||||
|
{{< callout type=warning >}}
|
||||||
|
|
||||||
|
Please beware that `hyprctl clients` will display the fields as **initialClass** and **initialTitle** while the regex mode uses `initialclass` and `initialtitle`.
|
||||||
|
|
||||||
|
{{< /callout >}}
|
||||||
|
|
||||||
Prop List:
|
Prop List:
|
||||||
| prop | comment |
|
| prop | comment |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
|
@ -228,6 +260,7 @@ Prop List:
|
||||||
| activebordercolor | gradient, -1 means not set |
|
| activebordercolor | gradient, -1 means not set |
|
||||||
| inactivebordercolor | gradient, -1 means not set |
|
| inactivebordercolor | gradient, -1 means not set |
|
||||||
|
|
||||||
|
For example:
|
||||||
```sh
|
```sh
|
||||||
hyprctl setprop address:0x13371337 forcenoanims 1 lock # with locking
|
hyprctl setprop address:0x13371337 forcenoanims 1 lock # with locking
|
||||||
hyprctl setprop address:0x13371337 nomaxsize 0 # without locking
|
hyprctl setprop address:0x13371337 nomaxsize 0 # without locking
|
||||||
|
@ -280,6 +313,18 @@ hyprctl dismissnotify 2 # dismiss the oldest 2 notifications
|
||||||
hyprctl dismissnotify -1 # dismiss all notifications (same as no arguments)
|
hyprctl dismissnotify -1 # dismiss all notifications (same as no arguments)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### rollinglog
|
||||||
|
|
||||||
|
Prints the tail of the log. You can print the log out continuously by adding `--follow` or `-f`.
|
||||||
|
By default, this will update 20 times per second, but you can also specify a number to change the rate,
|
||||||
|
if you prefer.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
hyprctl rollinglog # prints the log normally
|
||||||
|
hyprctl rollinglog --follow # follows the log
|
||||||
|
hyprctl rollinglog --follow 120 # follows the log, updating 120 times per second
|
||||||
|
```
|
||||||
|
|
||||||
## Info
|
## Info
|
||||||
|
|
||||||
```plain
|
```plain
|
||||||
|
@ -301,7 +346,6 @@ animations - gets the currently configured info about animations and beziers
|
||||||
instances - lists all running instances of Hyprland with their info
|
instances - lists all running instances of Hyprland with their info
|
||||||
layouts - lists all layouts available (including from plugins)
|
layouts - lists all layouts available (including from plugins)
|
||||||
configerrors - lists all current config parsing errors
|
configerrors - lists all current config parsing errors
|
||||||
rollinglog - prints tail of the log. Also supports -f/--follow option
|
|
||||||
locked - prints whether the current session is locked.
|
locked - prints whether the current session is locked.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ To keep a failed build directory, pass the `--keep-failed` flag.
|
||||||
## Building the Wayland stack with ASan
|
## Building the Wayland stack with ASan
|
||||||
|
|
||||||
Run `nix develop` first, then follow the
|
Run `nix develop` first, then follow the
|
||||||
[Building with ASan](https://wiki.hyprland.org/Crashes-and-Bugs/#bisecting-an-issue)
|
[Building with ASan](https://wiki.hyprland.org/Crashes-and-Bugs/#building-the-wayland-stack-with-asan)
|
||||||
guide.
|
guide.
|
||||||
|
|
||||||
## Manual building
|
## Manual building
|
||||||
|
|
|
@ -77,6 +77,10 @@ configuration:
|
||||||
|
|
||||||
## Eww
|
## Eww
|
||||||
|
|
||||||
|
[Eww](https://github.com/elkowar/eww) (ElKowar's Wacky Widgets) is a widget system made in Rust, which lets you
|
||||||
|
create your own widgets similarly to how you can in AwesomeWM. The key difference
|
||||||
|
is that it is independent of your window manager/compositor.
|
||||||
|
|
||||||
In order to use [Eww](https://github.com/elkowar/eww), you first have to install
|
In order to use [Eww](https://github.com/elkowar/eww), you first have to install
|
||||||
it, either using your distro's package manager, by searching `eww-wayland`, or
|
it, either using your distro's package manager, by searching `eww-wayland`, or
|
||||||
by manually compiling. In the latter case, you can follow the
|
by manually compiling. In the latter case, you can follow the
|
||||||
|
|
|
@ -6,6 +6,7 @@ weight: 1
|
||||||
Select your preferred wiki version below:
|
Select your preferred wiki version below:
|
||||||
|
|
||||||
- [Latest Git](https://wiki.hyprland.org/)
|
- [Latest Git](https://wiki.hyprland.org/)
|
||||||
|
- [v0.41.2](https://wiki.hyprland.org/0.41.2/)
|
||||||
- [v0.41.1](https://wiki.hyprland.org/0.41.1/)
|
- [v0.41.1](https://wiki.hyprland.org/0.41.1/)
|
||||||
- [v0.41.0](https://wiki.hyprland.org/0.41.0/)
|
- [v0.41.0](https://wiki.hyprland.org/0.41.0/)
|
||||||
- [v0.40.0](https://wiki.hyprland.org/0.40.0/)
|
- [v0.40.0](https://wiki.hyprland.org/0.40.0/)
|
||||||
|
|
Loading…
Reference in New Issue