mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
28 lines
944 B
Markdown
28 lines
944 B
Markdown
# Gmail Notifications
|
|

|
|
|
|
I use [Polybar](https://github.com/jaagr/polybar) and use this repo as module to it for getting notified about my gmail.
|
|
|
|
## Installation
|
|
|
|
```
|
|
git clone https://github.com/SyfiMalik/gmail-notifications.git ~/.config/polybar/
|
|
mv ~/.config/polybar/gmail-notifications ~/.config/polybar/gmail
|
|
cd ~/.config/polybar/gmail
|
|
./run.py
|
|
```
|
|
|
|
You'll be prompted to login to your gmail, login there, allow gmail4polybar and you'll be given a code to enter in the terminal. Enter the code and you're good to go. Now follow below steps to recieve gmail notifications in the tray.
|
|
|
|
Add these lines to your polybar main config.
|
|
|
|
```ini
|
|
[module/gmail]
|
|
type = custom/script
|
|
exec = ~/.config/polybar/gmail/launch.py
|
|
tail = true
|
|
click-left = xdg-open https://mail.google.com
|
|
```
|
|
|
|
and yeah, don't forget to enable 'gmail' module.
|