new notify system

This commit is contained in:
Niklas 2021-03-06 23:00:33 +01:00
parent 5932cf96ee
commit 4c250aecf9
3 changed files with 8 additions and 3 deletions

View File

@ -188,8 +188,7 @@ exec --no-startup-id picom -b
exec --no-startup-id feh --bg-scale ~/.cache/last-bg exec --no-startup-id feh --bg-scale ~/.cache/last-bg
exec_always --no-startup-id $HOME/.config/polybar/launch.sh exec_always --no-startup-id $HOME/.config/polybar/launch.sh
#exec --no-startup-id pactl set-sink-mute 0 1 #exec --no-startup-id pactl set-sink-mute 0 1
exec --no-startup-id dunst
exec --no-startup-id alacritty --class=scratchpad_f1 exec --no-startup-id alacritty --class=scratchpad_f1
exec --no-startup-id ~/.config/i3/setupScreensaver.sh exec --no-startup-id ~/.config/i3/setupScreensaver.sh
exec --no-startup-id amixer -q -D pulse set Capture cap exec --no-startup-id amixer -q -D pulse set Capture cap
exec --no-startup-id deadd-notification-center

0
.config/polybar/90-polybar Executable file → Normal file
View File

8
.config/polybar/config Executable file → Normal file
View File

@ -44,7 +44,7 @@ font-1 = "Hack Nerd Font:style=Regular:pixelsize=10;2"
modules-left = i3 modules-left = i3
modules-center = modules-center =
modules-right = playerctl pulseaudio wlan mute-mic wireguard-status battery date modules-right = playerctl pulseaudio mute-mic wireguard-status notify date
tray-position = right tray-position = right
tray-padding = 2 tray-padding = 2
@ -224,6 +224,12 @@ type = custom/ipc
hook-0 = $XDG_CONFIG_HOME/polybar/is-muted.sh hook-0 = $XDG_CONFIG_HOME/polybar/is-muted.sh
inital = 1 inital = 1
[module/notify]
type = custom/script
exec = "echo "
click-left = kill -s USR1 $(pidof deadd-notification-center)
interval = 0
[settings] [settings]
screenchange-reload = true screenchange-reload = true
;compositing-background = xor ;compositing-background = xor