summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohannst <stoelp@eit.uni-kl.de>2019-05-19 12:39:16 +0200
committerjohannst <stoelp@eit.uni-kl.de>2019-05-19 12:39:16 +0200
commit5c65d998055cd8748dcaa048c6ad3930f7354e17 (patch)
treec7ee64267df9666ec4c27df0897ef5fdb94cb49b
parentf06a728ad607fcfe8b8fab235c58822f4f5b707c (diff)
downloaddotfiles-5c65d998055cd8748dcaa048c6ad3930f7354e17.tar.gz
dotfiles-5c65d998055cd8748dcaa048c6ad3930f7354e17.zip
i3: added tokyo time + google emoji font
-rw-r--r--i3blocks.conf14
-rw-r--r--i3wm.conf2
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