@@ -17,7 +17,7 @@ class BspwmPager < Worker
|
||||
# Example: WMDVI-I-1:o1:o2:f3:f4:O5:f6:f7:f8:f9:fh:LT:TF:G
|
||||
out = []
|
||||
|
||||
string.split(":").each do |part|
|
||||
string[1..-1].split(":").each do |part|
|
||||
n = part[1..-1]
|
||||
|
||||
if @my_config['blacklist'] != nil
|
||||
@@ -27,6 +27,10 @@ class BspwmPager < Worker
|
||||
end
|
||||
|
||||
case part
|
||||
when /^M.+/
|
||||
out << "%{B#{@config['colours']['mon_focused']}} #{n} %{B-}"
|
||||
when /^m.+/
|
||||
out << " #{n} "
|
||||
when /^(O|F|U).+/
|
||||
out << "%{B#{@config['colours']['bg_focused']}} #{n} %{B-}"
|
||||
when /^u.+/
|
||||
|
Reference in New Issue
Block a user