xfce4-notifyd unmanage windows and polybar module
- Enable unmanaged patch - Make xfce4-notifyd windows unmanaged instead of floating - Change notification command to xfce4-notifyd - Update polybar config to use xfce4-notifyd for notification module
This commit is contained in:
@@ -109,6 +109,11 @@ deadd-notification-center-background = ${self.background}
|
||||
deadd-notification-center-underline = ${self.background}
|
||||
deadd-notification-center-overline = ${self.background}
|
||||
|
||||
xfce4-notifyd-foreground = ${self.green}
|
||||
xfce4-notifyd-background = ${self.background}
|
||||
xfce4-notifyd-underline = ${self.background}
|
||||
xfce4-notifyd-overline = ${self.background}
|
||||
|
||||
volume-foreground = ${self.red}
|
||||
volume-background = ${self.background}
|
||||
volume-underline = ${self.background}
|
||||
@@ -265,7 +270,7 @@ font-5 = "IPAPGothic:size=11;3"
|
||||
; modules-right = ipc clock
|
||||
modules-left = powermenu-left powermenu powermenu-right dwm volume-left volume volume-right media-playing-left media-playing-change media-playing-prev media-playing-play-pause media-playing-next media-playing media-playing-right
|
||||
; modules-center =
|
||||
modules-right = kernel-left kernel kernel-right cpu-left cpu cpu-right memory-left memory memory-right filesystem-left filesystem filesystem-right date-left date date-right time-left time time-right deadd-notification-center-left deadd-notification-center deadd-notification-center-right
|
||||
modules-right = kernel-left kernel kernel-right cpu-left cpu cpu-right memory-left memory memory-right filesystem-left filesystem filesystem-right date-left date date-right time-left time time-right xfce4-notifyd-left xfce4-notifyd xfce4-notifyd-right
|
||||
|
||||
; The separator will be inserted between the output of each module
|
||||
separator = ""
|
||||
@@ -1025,6 +1030,43 @@ click-right = "/home/sravan/.scripts/deadd.sh --rofi"
|
||||
; scroll-up = notify-send scroll up
|
||||
; scroll-down = notify-send scroll down
|
||||
|
||||
[module/xfce4-notifyd-left]
|
||||
type = custom/text
|
||||
content = " "
|
||||
content-foreground = ${colors.xfce4-notifyd-background}
|
||||
content-underline = ${colors.xfce4-notifyd-underline}
|
||||
content-overline = ${colors.xfce4-notifyd-overline}
|
||||
content-padding = ${sizes.module-padding}
|
||||
|
||||
[module/xfce4-notifyd-right]
|
||||
type = custom/text
|
||||
content = " "
|
||||
content-foreground = ${colors.xfce4-notifyd-background}
|
||||
content-underline = ${colors.xfce4-notifyd-underline}
|
||||
content-overline = ${colors.xfce4-notifyd-overline}
|
||||
content-padding = ${sizes.module-padding}
|
||||
|
||||
[module/xfce4-notifyd]
|
||||
type = custom/text
|
||||
content = ""
|
||||
|
||||
; "content" has the same properties as "format-NAME"
|
||||
; content-background = #000
|
||||
content-foreground = ${colors.xfce4-notifyd-foreground}
|
||||
content-background = ${colors.xfce4-notifyd-background}
|
||||
content-underline = ${colors.xfce4-notifyd-underline}
|
||||
content-overline = ${colors.xfce4-notifyd-overline}
|
||||
content-padding = ${sizes.module-padding}
|
||||
|
||||
; "click-(left|middle|right)" will be executed using "/bin/sh -c $COMMAND"
|
||||
click-left = "/home/sravan/.scripts/xfce4-notifyd.sh --toggle-center"
|
||||
; click-middle = notify-send middle
|
||||
click-right = "/home/sravan/.scripts/xfce4-notifyd.sh --rofi"
|
||||
|
||||
; "scroll-(up|down)" will be executed using "/bin/sh -c $COMMAND"
|
||||
; scroll-up = notify-send scroll up
|
||||
; scroll-down = notify-send scroll down
|
||||
|
||||
[module/volume-left]
|
||||
type = custom/text
|
||||
content = " "
|
||||
|
Reference in New Issue
Block a user