From 4c5c8a784650c633afe8d25e795bb0d01dd07f66 Mon Sep 17 00:00:00 2001 From: Jeferson Siqueira Date: Mon, 31 Aug 2020 17:36:20 +0100 Subject: [PATCH] adding keyboard layout widget to powerarrow-dark --- themes/powerarrow-dark/theme.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/themes/powerarrow-dark/theme.lua b/themes/powerarrow-dark/theme.lua index 29bc468..03d75b1 100644 --- a/themes/powerarrow-dark/theme.lua +++ b/themes/powerarrow-dark/theme.lua @@ -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),