[modules/xrandr] Add module to show attached displays

This modules shows attached displays and their states (on or off).
Future versions of this module will order the icons by the relative
order of the screens (left-to-right) and will allow switching monitors
on and off.

see #19
This commit is contained in:
Tobi-wan Kenobi 2016-11-26 08:28:19 +01:00
parent 3dd595477f
commit 4ea0cfae1e
6 changed files with 59 additions and 1 deletions

View file

@ -126,6 +126,9 @@
}
},
"caffeine": {
"states": { "activated": {"prefix": "   " }, "deactivated": { "prefix": "   " } }
"states": { "activated": {"prefix": " caf on " }, "deactivated": { "prefix": " caf off " } }
},
"xrandr": {
"states": { "on": { "prefix": " off "}, "off": { "prefix": " on "} }
}
}

View file

@ -159,5 +159,8 @@
},
"caffeine": {
"states": { "activated": {"prefix": "   " }, "deactivated": { "prefix": "   " } }
},
"xrandr": {
"states": { "on": { "prefix": "   "}, "off": { "prefix": "   "} }
}
}

View file

@ -158,5 +158,8 @@
},
"caffeine": {
"states": { "activated": {"prefix": "   " }, "deactivated": { "prefix": "   " } }
},
"xrandr": {
"states": { "on": { "prefix": "   "}, "off": { "prefix": "   "} }
}
}

View file

@ -159,5 +159,8 @@
},
"caffeine": {
"states": { "activated": {"prefix": "   " }, "deactivated": { "prefix": "   " } }
},
"xrandr": {
"states": { "on": { "prefix": "   "}, "off": { "prefix": "   "} }
}
}

View file

@ -152,5 +152,8 @@
},
"caffeine": {
"states": { "activated": {"prefix": " caf on " }, "deactivated": { "prefix": " caf off " } }
},
"xrandr": {
"states": { "on": { "prefix": " off "}, "off": { "prefix": " on "} }
}
}