HyPaper is a Hyprland plugin that provides a PaperWM-like layout.
Add the following line to the hyprland.conf
:
general {
layout = paper
}
or run the fowllowing command:
hyprctl keyword general:layout paper
The following config variables are available (in namespace plugin:hypaper
):
Name | Description | Type | Default |
---|---|---|---|
column_width |
default column width; ratio of screen width when in range (0,1] |
float | 1.0 |
column_width_rules |
list of column width rules like "class=width,class2=width2,..." |
string | |
mono_center |
center the column if there is only one | bool | false |
indicator |
columns indicator type (0/1/2) | int | 0 |
indicator_fifo_path |
path to the FIFO file from which the indicators can be read | string |
indicator
: 0
: disable; 1
: <FOCUS_INDEX>/<WINDOW_NUM>
or 0/0
; 2:
0=empty, 1=single, 2=first, 3=middle, 4=last
The following dispatchers are available:
Name | Description | Params |
---|---|---|
hypaper:column_width |
set the width of current column | float; 0 for default width |
hypaper:absorb_window |
absorb the window to the right | none |
hypaper:expel_window |
expel current window to the right | none |
hypaper:scroll |
scroll columns | = : auto; ^ : center; < : align-left; > : align-right; <float> : offset |