tChanged popup style - scripts - various script and utils
(HTM) git clone git://z3bra.org/scripts
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit b32d68f499b1beb3e5fa6bf5546a20369e10e0b2
(DIR) parent d602db1dc15ba4f134785eabbfe49e01ec093f96
(HTM) Author: z3bra <willy@mailoo.org>
Date: Fri, 17 Oct 2014 12:03:02 +0200
Changed popup style
Diffstat:
M popup | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/popup b/popup
t@@ -9,7 +9,7 @@ SLEEP=3
# bar options
font='-*-stlarch-medium-r-*-*-10-*-*-*-*-*-*-*'
font="$font,-*-gohufont-medium-*-*--11-*-*-*-*-*-iso10646-1"
-bg="#ff333333"
+bg="#ff1d1d1d"
fg="#ffffffff"
hl="#ff6ac0fd"
t@@ -17,9 +17,8 @@ IFS=' x' read x y <<< `xrandr | grep '*' | sed 1q | awk '{print $1}'`
width=300
height=30
-offx=$(( x/2 - $width - 74 ))
-offx=1610
-offy=1040
+offx=$(( x - $width - 10 ))
+offy=$(( y - $height - 10 ))
title=""
geom=${width}x${height}+${offx}+${offy}