From 9b8b1def565ca14872c7cdb076cb54deade7039c Mon Sep 17 00:00:00 2001 From: Mateja Date: Wed, 28 Apr 2021 20:02:31 +0200 Subject: Use Rofi instead of AwesomeWM prompt widget. --- .config/awesome/rc.lua | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index dc109c7..71528d4 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -97,8 +97,6 @@ awful.screen.connect_for_each_screen(function(s) -- Each screen has its own tag table. awful.tag(my_tags, s, awful.layout.layouts[1]) - -- Create a promptbox for each screen - s.mypromptbox = awful.widget.prompt() -- Create an imagebox widget which will contain an icon indicating which layout we're using. -- We need one layoutbox per screen. s.mylayoutbox = awful.widget.layoutbox(s) @@ -123,7 +121,6 @@ awful.screen.connect_for_each_screen(function(s) { -- Left widgets layout = wibox.layout.fixed.horizontal, s.mytaglist, - s.mypromptbox, }, nil, -- Middle widget { -- Right widgets @@ -181,8 +178,8 @@ globalkeys = gears.table.join( {description = "select previous", group = "layout"}), -- Prompt - awful.key({ modkey }, "r", function () awful.screen.focused().mypromptbox:run() end, - {description = "run prompt", group = "launcher"}), + awful.key({ modkey }, "r", function () awful.spawn("rofi -show run") end, + {description = "Use Rofi to start a new program.", group = "launcher"}), -- Widgets awful.key({ modkey }, "space", function () mykeyboardlayout.next_layout() end, -- cgit v1.2.3