gnome-shell-extension-awesome-tiles icon indicating copy to clipboard operation
gnome-shell-extension-awesome-tiles copied to clipboard

Could you please implement specific gaps for each side (e.g. in percent).

Open GentleGhostCoder opened this issue 2 years ago • 0 comments

Could you please implement specific gaps for each side (e.g. in percent). Here is an example like:

inputs:

const topGridPortion = 10
const bottomGridPortion = 100
const leftGridPortion = 10
const rightGridPortion = 10

calculation before move_resize_frame:

x = x+(workArea.gaps.x*(leftGridPortion/100-1))
w = w-(workArea.gaps.x*(leftGridPortion/100-1))-(workArea.gaps.x*(rightGridPortion/100-1))
y = y+(workArea?.gaps.y*(topGridPortion/100-1))
h = h-(workArea.gaps.y*(topGridPortion/100-1))-(workArea.gaps.y*(bottomGridPortion/100-1))

Would be cool if it was in the original extension.

GentleGhostCoder avatar Aug 30 '22 19:08 GentleGhostCoder