I want conky visible at all times and all windows to respect the boundaries of conky. They should not overlap conky. Right now when i open a new application it overlaps conky and i have to manually drag it to the left. I want that apps never appear over conky. Can it be done?
2 Answers
Add these lines to your ~/.conkyrc :
own_window yes
own_window_type panel
own_window_hints above
According to conky's documentation (emphasis mine):
if own_window is yes, you may specify type normal, desktop, dock, panel or override (default: normal). Desktop windows are special windows that have no window decorations; are always visible on your desktop; do not appear in your pager or taskbar; and are sticky across all workspaces. Panel windows reserve space along a desktop edge, just like panels and taskbars, preventing maximized windows from overlapping them. The edge is chosen based on the alignment option. Override windows are not under the control of the window manager. Hints are ignored. This type of window can be useful for certain situations.
- 54,564
I have conky setup this way, but it runs down the right of the screen. I use fbpanel to affect the no overlap.
~/.conkyrc:
own_window yes
own_window_type dock
own_window_transparent yes
maximum_width 160
gap_x 1755
gap_y 1
~/.config/fbpanel/default:
Global {
edge = right
allign = center
margin = 0
widthtype = pixel
width = 0
height = 172
transparent = true
tintcolor = #000000
alpha = 0
setdocktype = true
setpartialstrut = true
autohide = false
heightWhenHidden = 2
roundcorners = true
roundcornersradius = 7
layer = below
MaxElemHeight = 32
setlayer = true
}
- 1