Add tz_conky and tz.sh

This commit is contained in:
Ceda EI 2018-10-27 02:13:20 +05:30
parent 5e69d5687e
commit f67d56d9c5
2 changed files with 41 additions and 0 deletions

11
tz.sh Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
timezone() {
echo '${font BankGothic Md BT:pixelsize=30}${alignr}'${2}: $(TZ=$1 date +%H:%M)'${font}'
}
timezone Europe/Vilnius Vilnius
timezone Asia/Tehran Tehran
timezone Europe/Oslo Oslo
timezone Europe/Dublin Dublin
timezone Australia/Victoria Victoria

30
tz_conky Normal file
View File

@ -0,0 +1,30 @@
alignment bottom_right
background no
border_width 5
default_color ffffff
double_buffer yes
draw_borders no
draw_outline no
draw_shades no
gap_x 50
gap_y 50
maximum_width 1000
minimum_size 175
no_buffers yes
override_utf8_locale yes
own_window yes
own_window_title conky
own_window_class Conky
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window_type override
text_buffer_size 8000
total_run_times 0
update_interval 1
uppercase no
use_xft yes
xftalpha 1
default_color ffffff
TEXT
${execp ./tz.sh}