From 4c250aecf99d1e670b870fecf087e547d4b42d52 Mon Sep 17 00:00:00 2001 From: Niklas Date: Sat, 6 Mar 2021 23:00:33 +0100 Subject: [PATCH] new notify system --- .config/i3/config | 3 +-- .config/polybar/90-polybar | 0 .config/polybar/config | 8 +++++++- 3 files changed, 8 insertions(+), 3 deletions(-) mode change 100755 => 100644 .config/polybar/90-polybar mode change 100755 => 100644 .config/polybar/config diff --git a/.config/i3/config b/.config/i3/config index f02ecc4..5f3739d 100755 --- a/.config/i3/config +++ b/.config/i3/config @@ -188,8 +188,7 @@ exec --no-startup-id picom -b exec --no-startup-id feh --bg-scale ~/.cache/last-bg exec_always --no-startup-id $HOME/.config/polybar/launch.sh #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 ~/.config/i3/setupScreensaver.sh exec --no-startup-id amixer -q -D pulse set Capture cap - +exec --no-startup-id deadd-notification-center diff --git a/.config/polybar/90-polybar b/.config/polybar/90-polybar old mode 100755 new mode 100644 diff --git a/.config/polybar/config b/.config/polybar/config old mode 100755 new mode 100644 index 99ba094..ea78651 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -44,7 +44,7 @@ font-1 = "Hack Nerd Font:style=Regular:pixelsize=10;2" modules-left = i3 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-padding = 2 @@ -224,6 +224,12 @@ type = custom/ipc hook-0 = $XDG_CONFIG_HOME/polybar/is-muted.sh inital = 1 +[module/notify] +type = custom/script +exec = "echo " +click-left = kill -s USR1 $(pidof deadd-notification-center) +interval = 0 + [settings] screenchange-reload = true ;compositing-background = xor