also new example conf

This commit is contained in:
Jack L. Frost 2016-09-29 16:03:55 +03:00
parent 64e1442d93
commit 8d15374740
2 changed files with 5 additions and 5 deletions

View File

@ -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!

View File

@ -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: