From 8d1537474010438c793530bf6dca6a7ccdb092f4 Mon Sep 17 00:00:00 2001 From: fbt Date: Thu, 29 Sep 2016 16:03:55 +0300 Subject: [PATCH] also new example conf --- moltenbar | 2 +- rc.yaml.example | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/moltenbar b/moltenbar index 887ae0b..2b17aa3 100755 --- a/moltenbar +++ b/moltenbar @@ -110,7 +110,7 @@ options = {} OptionParser.new do |opts| opts.banner = "Usage: moltenvar [-c]" - opts.on("-cCONFIG", "--config=CONFIG") do |v| + opts.on("-cCONFIG_PATH", "--config=CONFIG_PATH", "Specify and alternative config location") do |v| options[:config_file] = v end end.parse! diff --git a/rc.yaml.example b/rc.yaml.example index 94fbdc1..a8fefcb 100644 --- a/rc.yaml.example +++ b/rc.yaml.example @@ -1,6 +1,6 @@ # vim: ft=yaml sw=2 et -#geometry: '1902x14+9+9' +#geometry: '1262x14+9+9' bspwm: true height: 14 gap: 9 @@ -13,7 +13,7 @@ modules: - bspwm_taskbar - load_average - network -format: "<%= panel_data['bspwm_pager'] %><%= panel_data['bspwm_taskbar'] %>%{r}%{F<%= config['colours']['bg_focused'] %>}%{F-}%{B<%= config['colours']['bg_focused'] %>} LA: <%= panel_data['load_average'] %> Network: <%= panel_data['network'] %> <%= panel_data['date'] %> %{B-}" +format: "<%= @panel_data['bspwm_pager'] %><%= @panel_data['bspwm_taskbar'] %>%{r}%{F<%= @config['colours']['bg_focused'] %>}%{F-}%{B<%= @config['colours']['bg_focused'] %>} LA: <%= @panel_data['load_average'] %> Network: <%= @panel_data['network'] %> <%= @panel_data['date'] %> %{B-}" colours: fg: '#f9f9f9' fg_focused: '#f9f9f9' @@ -28,8 +28,8 @@ mod: blacklist: -h bspwm_taskbar: - begin: "%{F<%= config['colours']['bg'] %>}%{B<%= config['colours']['bg_focused'] %>}%{F-} " - end: "%{F<%= config['colours']['bg_focused'] %>} %{B-} " + begin: "%{F<%= @config['colours']['bg'] %>}%{B<%= @config['colours']['bg_focused'] %>}%{F-} " + end: "%{F<%= @config['colours']['bg_focused'] %>} %{B-} " date: format: '%A, %Y.%m.%d %H:%M:%S' load_average: