Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use different .dunstrc, Is it possible? #1100

Closed
LinArcX opened this issue Aug 19, 2022 · 4 comments
Closed

use different .dunstrc, Is it possible? #1100

LinArcX opened this issue Aug 19, 2022 · 4 comments

Comments

@LinArcX
Copy link

LinArcX commented Aug 19, 2022

To achieve this, I create these hacky functions:

dunst_right()
{
  dunst -c ~/.config/dunst/dunstrc_right &
  notify-send "this is new message at the right" &
  kill `pidof dunst`
}

dunst_center()
{
  dunst -c ~/.config/dunst/dunstrc_center &
  notify-send "this is new message at the center" &
  kill `pidof dunst`
}


The are two problems:

  1. Popup messages always appear at the top-right corner, even if I use dunstrc_center.

  2. kill dunst isn't working.

@LinArcX
Copy link
Author

LinArcX commented Aug 19, 2022

I found the solution:

dunst_right()
{
  dunst -conf ~/.config/dunst/dunstrcr &
  notify-send "center";
  sleep 4;
  kill -9 `pidof dunst`
}

dunst_center()
{
  dunst -conf ~/.config/dunst/dunstrcc &
  notify-send "center";
  sleep 4;
  kill -9 `pidof dunst`
}

@apprehensions
Copy link
Contributor

#1120

@fwsmit
Copy link
Member

fwsmit commented Apr 16, 2023

Clsoing, as it seems a solution has been found

@fwsmit fwsmit closed this as completed Apr 16, 2023
@playdougher
Copy link

but previous notifications will be gone when killing dunst

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants