diff --git a/mod/bspwm_pager b/mod/bspwm_pager index 2ecf073..9b4c7e1 100644 --- a/mod/bspwm_pager +++ b/mod/bspwm_pager @@ -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]