setborderpx - bakkeby/dusk GitHub Wiki

Function Expected argument Default keybinding
setborderpx int, e.g. 5, -5 N/A

The setborderpx function can be used to increase or decrease the border pixels for all clients on the current workspace.

A positive value increases the border size by that amount of pixels.

A negative value decreases the border size by that amount of pixels.

A value of 0 toggles between default border size and no border.

A value above 1000 will set an exact border size (less 1000), e.g. 1012 will set the border size to be 12 pixels.

setborderpx.gif

There are no default keybindings for this function.

External commands:

$ duskc run_command setborderpx 5     # increase border size by 5 pixels
$ duskc run_command setborderpx -5    # decrease border size by 5 pixels
$ duskc run_command setborderpx 0     # reset border size back to default
$ duskc run_command setborderpx 1012  # explicitly set the border size to 12 pixels

Also see setclientborderpx to set the border pixel on a per client basis.

Back to Functions > Window.

⚠️ **GitHub.com Fallback** ⚠️