adi1090x / rofi

A huge collection of Rofi based custom Applets, Launchers & Powermenus.
GNU General Public License v3.0
6.37k stars 298 forks source link

Use theme with AwesomeWm #78

Closed rainer2208 closed 1 year ago

rainer2208 commented 2 years ago

Hi, I would very much like to use these themes with AwesomeWm, but I can't find any instructions.

I am on Arch.

How can I do so?

Many thanks.

aquinary commented 2 years ago

After installing the theme, you should open the .config/awesome/rc.lua file and go to the place with globalkeys At the end there will be something like

awful.key({ modkey }, "p", function() menubar.show() end,
              {description = "show the menubar", group = "launcher"})

Replace this with

awful.key({ modkey }, "p", function() 
   os.execute('~/.config/rofi/bin/launcher_misc') 
end)

Where _launchermisc is any other file in the bin directory To select a specific theme, open the selected file (for example launcher_misc): theme="${themes[8]}"

I'm not sure that this is the right way, but for me it turned out to be working

rainer2208 commented 2 years ago

@Aquinary , this did the trick, many thanks