summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/i3status-rust/config.toml10
-rw-r--r--user/sway/config3
2 files changed, 11 insertions, 2 deletions
diff --git a/user/i3status-rust/config.toml b/user/i3status-rust/config.toml
new file mode 100644
index 0000000..775b23e
--- /dev/null
+++ b/user/i3status-rust/config.toml
@@ -0,0 +1,10 @@
+[theme]
+theme = "native"
+
+[[block]]
+block = "battery"
+
+[[block]]
+block = "time"
+interval = 5
+format = " $timestamp.datetime(f:'%R %-d. %b') "
diff --git a/user/sway/config b/user/sway/config
index 3fafa93..b4158ce 100644
--- a/user/sway/config
+++ b/user/sway/config
@@ -204,8 +204,7 @@ bar {
position top
# When the status_command prints a new line to stdout, swaybar updates.
- # The default just shows the current date and time.
- status_command while date +'%Y-%m-%d %X'; do sleep 1; done
+ status_command i3status-rs
colors {
statusline #ffffff