-
Notifications
You must be signed in to change notification settings - Fork 609
WindowPosition
Dave Davenport edited this page Feb 16, 2016
·
9 revisions
Window positioning in rofi is based on the following three settings:
This sets the anchor point:
1 2 3
8 0 4
7 6 5
So if you want the window to be in the upper right corner, set location
to 3
.
Using the xoffset
and yoffset
option you can move the window relative to the anchor point (location
)
To set the window in the upper right corner at 200 pixels from the top and the left of the screen set:
-
location
to 1 -
xoffset
to 200 -
yoffset
to 200
rofi -location 0 -show run
rofi -location 2 -yoffset 22 -width 100 -show run
rofi -location 2 -yoffset -2 -bw 2 -show run