Replace deadd with xfce notifications

- Replace autostart and quit commands
- Remove deadd notification center script & keybinding
- Update man page
This commit is contained in:
Sravan Balaji
2020-10-28 13:17:27 -04:00
parent 48b71050ab
commit 5130e64014
4 changed files with 2 additions and 9 deletions

View File

@@ -15,7 +15,7 @@ declare -a applications_array=(\
"redshift-gtk" \ # Redshift Blue Light Filter
# Background Processes
"picom" \ # Picom Compositor
"deadd-notificat" \ # Deadd Notification Center
"xfce4-notifyd" \ # Xfce Notification Daemon
"greenclip" \ # Greenclip Clipboard Manager
"redshift" \ # Redshift Blue Light Filter
"polkit-gnome-au" \ # GNOME Polkit Authentication Agent

View File

@@ -17,7 +17,7 @@ declare -a applications_array=(\
"flameshot" \ # Flameshot Screenshot Tool
# Background Processes
"picom --config /home/sravan/.config/picom/picom.conf" \ # Picom Compositor
"deadd-notification-center" \ # Deadd Notification Center
"/usr/lib/xfce4/notifyd/xfce4-notifyd" \ # Xfce Notification Daemon
"greenclip daemon" \ # Greenclip Clipboard Manager
"redshift -x" \ # Reset redshift display gamma
"redshift-gtk" \ # Redshift Blue Light Filter

View File

@@ -70,12 +70,10 @@ static const Layout layouts[] = {
/* configuration parameters */
static const char rootdir[] = "/home/sravan/.config"; /* Location of dwm source code */
static const char deaddscriptpath[] = "/home/sravan/.config/deadd/open-notification-center.sh";
/* commands */
static const char *rofiruncmd[] = { "rofi", "-show", "drun", NULL };
static const char *roficlipcmd[] = { "rofi", "-show", "clipboard", NULL };
static const char *deaddcmd[] = { "/bin/bash", deaddscriptpath, NULL };
static const char *lockcmd[] = { "light-locker-command", "--lock", NULL };
static const char *sleepcmd[] = { "systemctl", "suspend", NULL };
static const char *termcmd[] = { "alacritty", NULL };
@@ -94,7 +92,6 @@ static Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = rofiruncmd} },
{ MODKEY, XK_c, spawn, {.v = roficlipcmd} },
{ MODKEY|ShiftMask, XK_n, spawn, {.v = deaddcmd} },
{ MODKEY|ShiftMask, XK_l, spawn, {.v = lockcmd} },
{ MODKEY|ShiftMask, XK_s, spawn, {.v = sleepcmd} },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd} },

4
dwm.1
View File

@@ -80,10 +80,6 @@ for Greenclip clipboard manager
.TP
.B Mod1\-Shift\-n
Spawn
.BR deadd notification center (1)
.TP
.B Mod1\-Shift\-l
Spawn
.BR light-locker(1)
to lock screen.
.TP