run pipewire through dwm instead of xprofile

This commit is contained in:
mintycube 2024-05-18 13:40:06 +05:00
parent 1969591faa
commit 10485788c4
2 changed files with 3 additions and 1 deletions

View File

@ -85,6 +85,7 @@ static char *colors[][ColCount] = {
static const char *const autostart[] = { static const char *const autostart[] = {
// "st", NULL, // "st", NULL,
"dwmblocks", NULL, "dwmblocks", NULL,
"pipewire", NULL,
NULL /* terminate */ NULL /* terminate */
}; };
@ -257,6 +258,7 @@ static const Key on_empty_keys[] = {
/* modifier key function argument */ /* modifier key function argument */
{0, XK_e, spawn, SHCMD("st fuz -lf") }, {0, XK_e, spawn, SHCMD("st fuz -lf") },
{0, XK_f, spawn, SHCMD("st fuz") }, {0, XK_f, spawn, SHCMD("st fuz") },
{0, XK_t, spawn, SHCMD("st fuz-test") },
{0, XK_w, spawn, {.v = (const char*[]){"firefox", NULL } } }, {0, XK_w, spawn, {.v = (const char*[]){"firefox", NULL } } },
{0, XK_grave, spawn, {.v = (const char*[]){"dmenunerdsymbols", NULL } } }, {0, XK_grave, spawn, {.v = (const char*[]){"dmenunerdsymbols", NULL } } },
{0, XK_BackSpace, spawn, {.v = (const char*[]){"sysact", NULL } } }, {0, XK_BackSpace, spawn, {.v = (const char*[]){"sysact", NULL } } },

View File

@ -8,7 +8,7 @@ setbg & # set the background with the `setbg` script
xrdb "${XDG_CONFIG_HOME:-$HOME/.config}"/x11/xresources & xrdb "${XDG_CONFIG_HOME:-$HOME/.config}"/x11/xresources &
xrdbpid=$! # Uncomment to use Xresources colors/settings on startup xrdbpid=$! # Uncomment to use Xresources colors/settings on startup
autostart="mpd dunst unclutter pipewire remapd clipmenud picom" autostart="mpd dunst unclutter remapd clipmenud picom"
for program in $autostart; do for program in $autostart; do
pidof -sx "$program" || "$program" & pidof -sx "$program" || "$program" &