-
Notifications
You must be signed in to change notification settings - Fork 23
setclientborderpx
Function | Expected argument | Default keybinding |
---|---|---|
setclientborderpx | int, e.g. 5 , -5
|
N/A |
The setclientborderpx
function can be used to increase or decrease the border pixels on a per
client basis.
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.
There are no default keybindings for this function.
External commands:
$ duskc run_command setclientborderpx 5 # increase border size by 5 pixels
$ duskc run_command setclientborderpx -5 # decrease border size by 5 pixels
$ duskc run_command setclientborderpx 0 # reset border size back to default
$ duskc run_command setclientborderpx 1012 # explicitly set the border size to 12 pixels
Also see setborderpx to set the border pixel for all clients on the current workspace.
Tip: you can also use thet NoBorder flag via client rules if you want a client to start without a window border.
Concepts | Configuration | Features | Flags | Functionality | Functions