diff options
author | xengineering <me@xengineering.eu> | 2023-03-16 21:23:13 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-03-16 21:23:13 +0100 |
commit | 1fd045367b5ebf5070a51a0caa97ccb705e20c4c (patch) | |
tree | 28effd80859c416a0b4bf7cd750008d5da84a331 /sway | |
parent | 3a04140db140e94c8fc3cf176d0b802458120817 (diff) | |
download | dotfiles-1fd045367b5ebf5070a51a0caa97ccb705e20c4c.tar dotfiles-1fd045367b5ebf5070a51a0caa97ccb705e20c4c.tar.zst dotfiles-1fd045367b5ebf5070a51a0caa97ccb705e20c4c.zip |
Switch to minimal swaybar config
This is far easier to configure than waybar.
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} |" |