mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 19:22:32 +00:00
Merge pull request #283 from aajjbb/feature/powerarrow-dark/keyboard-widget
adding keyboard layout widget to powerarrow-dark
This commit is contained in:
commit
fc134083d1
|
@ -91,6 +91,8 @@ theme.titlebar_maximized_button_normal_inactive = theme.dir .. "/icons/titlebar/
|
||||||
local markup = lain.util.markup
|
local markup = lain.util.markup
|
||||||
local separators = lain.util.separators
|
local separators = lain.util.separators
|
||||||
|
|
||||||
|
local keyboardlayout = awful.widget.keyboardlayout:new()
|
||||||
|
|
||||||
-- Textclock
|
-- Textclock
|
||||||
local clockicon = wibox.widget.imagebox(theme.widget_clock)
|
local clockicon = wibox.widget.imagebox(theme.widget_clock)
|
||||||
local clock = awful.widget.watch(
|
local clock = awful.widget.watch(
|
||||||
|
@ -316,6 +318,7 @@ function theme.at_screen_connect(s)
|
||||||
{ -- Right widgets
|
{ -- Right widgets
|
||||||
layout = wibox.layout.fixed.horizontal,
|
layout = wibox.layout.fixed.horizontal,
|
||||||
wibox.widget.systray(),
|
wibox.widget.systray(),
|
||||||
|
keyboardlayout,
|
||||||
spr,
|
spr,
|
||||||
arrl_ld,
|
arrl_ld,
|
||||||
wibox.container.background(mpdicon, theme.bg_focus),
|
wibox.container.background(mpdicon, theme.bg_focus),
|
||||||
|
|
Loading…
Reference in a new issue