diff options
Diffstat (limited to 'sway')
-rw-r--r-- | sway/config | 8 | ||||
-rwxr-xr-x | sway/status.sh | 7 |
2 files changed, 14 insertions, 1 deletions
diff --git a/sway/config b/sway/config index f8451bf..165e2c5 100644 --- a/sway/config +++ b/sway/config @@ -214,7 +214,13 @@ bindsym $mod+r mode "resize" bar { position top - swaybar_command waybar + swaybar_command swaybar + + status_command while ~/.config/sway/status.sh; do sleep 1; done + + font pango:DejaVu Sans Mono 10 + + pango_markup enabled colors { statusline #ffffff diff --git a/sway/status.sh b/sway/status.sh new file mode 100755 index 0000000..f29dfc8 --- /dev/null +++ b/sway/status.sh @@ -0,0 +1,7 @@ +#!/bin/sh + + +time="$(date '+KW %W %a %Y-%m-%d %H:%M')" + + +echo "| ${time} |" |