Преглед на файлове

The JSON protocol does not seem to support color names

Or rather the frontend had changed syntax, because this used to work.
This will suffice until we come up with proper syntax or something...
Alois Mahdal преди 6 години
родител
ревизия
b0f2cda5c4
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      dotfiles/i3/bin/i3staplus

+ 1
- 1
dotfiles/i3/bin/i3staplus Целия файл

@@ -11,7 +11,7 @@ kb_layout() {
11 11
     )
12 12
     case $layout in
13 13
         us) color='' ;;
14
-        *)  color=',"color": "red"' ;;
14
+        *)  color=',"color": "#ff0000"' ;;
15 15
     esac
16 16
     printf '{"full_text": " %s"%s},' \
17 17
         "$layout" "$color"