mirror of
https://gitlab.com/linuxstuff/dotfiles.git
synced 2026-06-19 04:06:00 +02:00
moved magic number for offsetY to var
This commit is contained in:
@@ -56,7 +56,7 @@ override-redirect = true
|
||||
tray-detached = true
|
||||
tray-maxsize = 15
|
||||
tray-offset-x= 86
|
||||
tray-offset-y = 4px
|
||||
tray-offset-y = 0px
|
||||
tray-padding = 3
|
||||
tray-position = left
|
||||
tray-scale = 0.8
|
||||
|
||||
@@ -29,7 +29,7 @@ override-redirect = true
|
||||
tray-detached = true
|
||||
tray-maxsize = 15
|
||||
tray-offset-x= 86
|
||||
tray-offset-y = 4px
|
||||
tray-offset-y = 0px
|
||||
tray-padding = 3
|
||||
tray-position = left
|
||||
tray-scale = 0.8
|
||||
|
||||
@@ -56,7 +56,7 @@ override-redirect = true
|
||||
tray-detached = true
|
||||
tray-maxsize = 15
|
||||
tray-offset-x= 86
|
||||
tray-offset-y = 4px
|
||||
tray-offset-y = 0px
|
||||
tray-padding = 3
|
||||
tray-position = left
|
||||
tray-scale = 0.8
|
||||
|
||||
@@ -28,6 +28,7 @@ STATUSFILE="$HOME/.config/polybar/scripts/.polypopup.floating_popup"
|
||||
|
||||
WIN_ID=""
|
||||
WIN_NAME_MOVEALONG_ONE='^Polybar tray window$'
|
||||
WIN_OFFSETY_MOVEALONG=6
|
||||
WIN_ID_MOVEALONG_ONE=
|
||||
WIN_NAME=""
|
||||
WIN_CLASS=""
|
||||
@@ -430,7 +431,7 @@ function winmove() {
|
||||
# Tray
|
||||
#echo "WIN_ID_MOVEALONG_ONE $WIN_ID_MOVEALONG_ONE"
|
||||
#xdotool windowmove $WIN_ID_MOVEALONG_ONE $1 $2
|
||||
xdotool 2>/dev/null 1>&2 windowmove $WIN_ID_MOVEALONG_ONE $WIN_POSX_MOVEALONG_ONE $(($2 + 4))
|
||||
xdotool 2>/dev/null 1>&2 windowmove $WIN_ID_MOVEALONG_ONE $WIN_POSX_MOVEALONG_ONE $(($2 + $WIN_OFFSETY_MOVEALONG))
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user