diff options
author | Mateja <mail@matejamaric.com> | 2021-04-28 20:02:31 +0200 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2021-04-28 20:02:31 +0200 |
commit | 9b8b1def565ca14872c7cdb076cb54deade7039c (patch) | |
tree | 1c1397262857e697965674fcaa5342491400d33c /.config/awesome | |
parent | 059273d3a6ce35a1430d25835ced2ddf32934f9f (diff) | |
download | dotfiles-9b8b1def565ca14872c7cdb076cb54deade7039c.tar.gz dotfiles-9b8b1def565ca14872c7cdb076cb54deade7039c.zip |
Use Rofi instead of AwesomeWM prompt widget.
Diffstat (limited to '.config/awesome')
-rw-r--r-- | .config/awesome/rc.lua | 7 |
1 files 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, |