diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-10-08 14:42:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-08 14:42:48 +0200 |
commit | 6cb0e58c6d26efa2bca9b3710df08ed1aea09aea (patch) | |
tree | 1036293744616474f190d30f7ae5428579e82900 /sway/config | |
parent | Merge pull request #2789 from RyanDwyer/reload-idle (diff) | |
parent | Allow status_command to be disabled via IPC (diff) | |
download | sway-6cb0e58c6d26efa2bca9b3710df08ed1aea09aea.tar.gz sway-6cb0e58c6d26efa2bca9b3710df08ed1aea09aea.tar.zst sway-6cb0e58c6d26efa2bca9b3710df08ed1aea09aea.zip |
Merge pull request #2791 from RyanDwyer/status-command-optional
swaybar: allow null status_command
Diffstat (limited to 'sway/config')
-rw-r--r-- | sway/config/bar.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sway/config/bar.c b/sway/config/bar.c index 48a632fb..b8695798 100644 --- a/sway/config/bar.c +++ b/sway/config/bar.c | |||
@@ -99,10 +99,6 @@ struct bar_config *default_bar_config(void) { | |||
99 | if (!(bar->bindings = create_list())) { | 99 | if (!(bar->bindings = create_list())) { |
100 | goto cleanup; | 100 | goto cleanup; |
101 | } | 101 | } |
102 | if (!(bar->status_command = | ||
103 | strdup("while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done"))) { | ||
104 | goto cleanup; | ||
105 | } | ||
106 | // set default colors | 102 | // set default colors |
107 | if (!(bar->colors.background = strndup("#000000ff", 9))) { | 103 | if (!(bar->colors.background = strndup("#000000ff", 9))) { |
108 | goto cleanup; | 104 | goto cleanup; |