Merge branch 'master' of builder.virt:git/moltenbar

This commit is contained in:
Jack L. Frost 2017-05-30 15:09:08 +03:00
commit 5e5815efb1
2 changed files with 6 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class BspwmPager < Worker
next unless @my_config['monitors'].include?(m_name)
end
if state[:monitors].count > 2 or @my_config['show_single_monitor']
if state[:monitors].count > 1 or @my_config['show_single_monitor']
if m[:focused]
out << "%{B#{@config['colours']['mon_focused']}} #{m_name} %{B-}"
else
@ -56,6 +56,10 @@ class BspwmPager < Worker
end
m[:desktops].each do |d_name, d|
if @my_config['blacklist'] != nil
next if @my_config['blacklist'].include?(d_name)
end
if d[:focused]
out << "%{B#{@config['colours']['bg_focused']}} #{d_name} %{B-}"
elsif d[:urgent]

View File

@ -25,6 +25,7 @@ mod:
bspwm_pager:
colour_focused: '#f9f9f9'
show_empty_desktops: false
show_single_monitor: false
# monitors:
# - "WMHDMI1"
blacklist: