Merge pull request #283 from aajjbb/feature/powerarrow-dark/keyboard-widget

adding keyboard layout widget to powerarrow-dark
This commit is contained in:
Luca CPZ 2020-10-19 14:37:23 +00:00 committed by GitHub
commit fc134083d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -91,6 +91,8 @@ theme.titlebar_maximized_button_normal_inactive = theme.dir .. "/icons/titlebar/
local markup = lain.util.markup
local separators = lain.util.separators
local keyboardlayout = awful.widget.keyboardlayout:new()
-- Textclock
local clockicon = wibox.widget.imagebox(theme.widget_clock)
local clock = awful.widget.watch(
@ -316,6 +318,7 @@ function theme.at_screen_connect(s)
{ -- Right widgets
layout = wibox.layout.fixed.horizontal,
wibox.widget.systray(),
keyboardlayout,
spr,
arrl_ld,
wibox.container.background(mpdicon, theme.bg_focus),