Added restart dwm function to the shutdown script and made startup sounds mandatory
This commit is contained in:
parent
c96a8addad
commit
dc4a5461ab
|
@ -4,7 +4,6 @@ wal -R # could be changed
|
||||||
picom -b # launches compositor
|
picom -b # launches compositor
|
||||||
/usr/local/bin/dwmblocks & # launches slstatus/dwmblocks
|
/usr/local/bin/dwmblocks & # launches slstatus/dwmblocks
|
||||||
/usr/bin/dunst & # launches dunst daemon
|
/usr/bin/dunst & # launches dunst daemon
|
||||||
paplay /usr/share/sounds/Oxygen-Sys-Special.ogg # autoplay sound, optional
|
|
||||||
nm-applet & # optional, launch network-manager applet
|
nm-applet & # optional, launch network-manager applet
|
||||||
/usr/local/bin/eww daemon & # launch eww in start up, assumes eww is copied to $PATH
|
/usr/local/bin/eww daemon & # launch eww in start up, assumes eww is copied to $PATH
|
||||||
/usr/local/bin/eww open main & # make sure the config is copied
|
/usr/local/bin/eww open main & # make sure the config is copied
|
||||||
|
|
|
@ -405,6 +405,7 @@ static const char *layoutmenu_cmd = "layoutmenu.sh";
|
||||||
|
|
||||||
#if COOL_AUTOSTART_PATCH
|
#if COOL_AUTOSTART_PATCH
|
||||||
static const char *const autostart[] = {
|
static const char *const autostart[] = {
|
||||||
|
"paplay", "/usr/share/sounds/Oxygen-Sys-Special.ogg", NULL,
|
||||||
NULL /* terminate */
|
NULL /* terminate */
|
||||||
};
|
};
|
||||||
#endif // COOL_AUTOSTART_PATCH
|
#endif // COOL_AUTOSTART_PATCH
|
||||||
|
|
|
@ -6,6 +6,7 @@ cat <<EOF | jgmenu --simple --at-pointer
|
||||||
Shutdown, systemctl poweroff
|
Shutdown, systemctl poweroff
|
||||||
Reboot, systemctl reboot
|
Reboot, systemctl reboot
|
||||||
Exit, dwmc quit
|
Exit, dwmc quit
|
||||||
|
Restart dwm, dwmc self_restart
|
||||||
Lock session, slock
|
Lock session, slock
|
||||||
Suspend, systemctl suspend
|
Suspend, systemctl suspend
|
||||||
Hibernate, systemctl hibernate
|
Hibernate, systemctl hibernate
|
||||||
|
|
Loading…
Reference in a new issue