i3-notifier icon indicating copy to clipboard operation
i3-notifier copied to clipboard

How to get the same theme as on the screenshot?

Open antoyo opened this issue 3 years ago • 2 comments

Hi. How to get the same theme as on the screenshot? Is this a rofi theme? If so, is there a way to only use it with i3-notifier? Thanks!

antoyo avatar Apr 18 '21 15:04 antoyo

I was able to configure mine (not well as I only started looking into once I saw your comment but still) by adding another theme in the rofi-themes directory in the library install location.

In case you don't already know how to find that you can follow these steps:

  • run pip show i3-notifier | grep Location
    This will show you were the i3notifier package was installed
    (the i3-notifier script seems to be installed directly into the bin path, whereas the i3notifier package was installed in a lib dir)
  • cd to that location
  • cd to ./i3notifier/rofi-theme
  • Add your theme (I found this collection of themes useful)
  • Change your theme = "..." to your new theme name

It does not hot reload the theme for some reason so I had to run

# In fish
kill -9 (ps -e | grep i3-notifier | awk '{ print $1 }'); i3-notifier; sleep 1s; notify-send 'Hello World'

# In bash
kill -9 $(ps -e | grep i3-notifier | awk '{ print $1 }'); i3-notifier; sleep 1s; notify-send 'Hello World'

In order to test different theme options.

oldwomanjosiah avatar May 01 '21 03:05 oldwomanjosiah

Did you check the config file under the example folder?

Essentially you should have a $HOME/.config/i3/i3_notifier_config.py that contains theme = "widget" line.

sencer avatar Jun 26 '21 19:06 sencer

Thanks. It worked!

antoyo avatar Mar 10 '23 16:03 antoyo