Merge pull request #45 from arvchristos/keyboardlayout

Edit KEYBOARD module with indicators (Caps,Num,Scroll)
This commit is contained in:
Nathaniel 2018-03-25 03:30:40 -07:00 committed by GitHub
commit 7134af3215
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -363,15 +363,27 @@ format = <label>
;;;;;;;;;;;;;;;
;; KEYBOARD ;;
;; KEYBOARD ;;
;;;;;;;;;;;;;;;
[module/keyboard]
type = internal/xkeyboard
blacklist-0 = num lock
blacklist-1 = scroll lock
format = <label-layout>
format-padding = 1
label-layout = %{A1:mintlocale & disown:} %{A3:mintlocale & disown:} %layout%%{A} %{A}
type = internal/xkeyboard
blacklist-0 = scroll lock
format = <label-layout> <label-indicator>
format-spacing = 0
; Available tokens:
; %layout%
; %name%
; %number%
; Default: %layout%
label-layout = %{A1:mintlocale & disown:} %{A3:mintlocale & disown:} %layout%%{A} %{A}
; Available tokens:
; %name%
; Default: %name%
label-indicator = %name%
label-indicator-padding = 2
label-indicator-background = #8139e8
;;;;;;;;;;;;;;