From 10485788c48ef78c5f5ed05935e692a2efe7303f Mon Sep 17 00:00:00 2001 From: mintycube <90507714+mintycube@users.noreply.github.com> Date: Sat, 18 May 2024 13:40:06 +0500 Subject: [PATCH] run pipewire through dwm instead of xprofile --- .config/suckless/dwm/config.h | 2 ++ .config/x11/xprofile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/suckless/dwm/config.h b/.config/suckless/dwm/config.h index 26de7d6..3c3b7a1 100644 --- a/.config/suckless/dwm/config.h +++ b/.config/suckless/dwm/config.h @@ -85,6 +85,7 @@ static char *colors[][ColCount] = { static const char *const autostart[] = { // "st", NULL, "dwmblocks", NULL, + "pipewire", NULL, NULL /* terminate */ }; @@ -257,6 +258,7 @@ static const Key on_empty_keys[] = { /* modifier key function argument */ {0, XK_e, spawn, SHCMD("st fuz -lf") }, {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_grave, spawn, {.v = (const char*[]){"dmenunerdsymbols", NULL } } }, {0, XK_BackSpace, spawn, {.v = (const char*[]){"sysact", NULL } } }, diff --git a/.config/x11/xprofile b/.config/x11/xprofile index 47fa4b0..a5088cb 100755 --- a/.config/x11/xprofile +++ b/.config/x11/xprofile @@ -8,7 +8,7 @@ setbg & # set the background with the `setbg` script xrdb "${XDG_CONFIG_HOME:-$HOME/.config}"/x11/xresources & 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 pidof -sx "$program" || "$program" &