From f67d56d9c5f69c73c762fb0b977eec1d1ba741c2 Mon Sep 17 00:00:00 2001 From: Ceda EI Date: Sat, 27 Oct 2018 02:13:20 +0530 Subject: [PATCH] Add tz_conky and tz.sh --- tz.sh | 11 +++++++++++ tz_conky | 30 ++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100755 tz.sh create mode 100644 tz_conky diff --git a/tz.sh b/tz.sh new file mode 100755 index 0000000..75114ff --- /dev/null +++ b/tz.sh @@ -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 diff --git a/tz_conky b/tz_conky new file mode 100644 index 0000000..1bce356 --- /dev/null +++ b/tz_conky @@ -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}