1
0
Fork 0
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:
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

View file

@ -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),