From 5c65d998055cd8748dcaa048c6ad3930f7354e17 Mon Sep 17 00:00:00 2001 From: johannst Date: Sun, 19 May 2019 12:39:16 +0200 Subject: i3: added tokyo time + google emoji font --- i3blocks.conf | 14 +++++++++++--- i3wm.conf | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/i3blocks.conf b/i3blocks.conf index eff20d6..16f28bf 100644 --- a/i3blocks.conf +++ b/i3blocks.conf @@ -1,7 +1,6 @@ # dotfiles -- i3blocks # author: johannst - # NOTE: # Env Variables exported to scripts specified in 'command=' # BLOCK_NAME=name # indicator block name '[name]' @@ -97,7 +96,8 @@ border=#b16286 # [date] -command=echo ":$(date '+%Y-%m-%d')" +command=echo "$(date '+%Y-%m-%d')" +label= interval=60 separator=false separator_block_width=5 @@ -105,8 +105,16 @@ separator_block_width=5 border=#458588 [time] -command=echo ":$(date '+%H:%M:%S')" +command=echo "$(date '+%H:%M:%S')" +label= interval=5 # olive border=#98971a +[time] +command=echo "$(TZ='Asia/Tokyo' date '+%H:%M:%S')" +label=🍣 +interval=5 +# white +border=#ffffff + diff --git a/i3wm.conf b/i3wm.conf index 32fee3c..3e0549d 100644 --- a/i3wm.conf +++ b/i3wm.conf @@ -188,7 +188,7 @@ client.background $col_x_whi # bar { - font pango: $my_font, FontAwesome 10 + font pango: $my_font, Noto Color Emoji 10, FontAwesome 10 position top height 22 status_command i3blocks -c ~/.i3/i3blocks.conf -- cgit v1.2.3