music qutebrowser profile

This commit is contained in:
dogeystamp 2024-09-30 20:30:23 -04:00
parent db7cf5d9ee
commit 1b196370b3
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
4 changed files with 15 additions and 7 deletions

View File

@ -0,0 +1,12 @@
config.load_autoconfig(False)
c.input.mode_override = "passthrough"
c.statusbar.show = "never"
c.tabs.show = "multiple"
c.bindings.default["passthrough"] = {}
c.bindings.commands["passthrough"] = {
"<ctrl-escape>": "mode-leave"
}
c.auto_save.session = True
c.url.start_pages = "https://mus.dogeystamp.com"

View File

@ -11,10 +11,7 @@ all: dwm
.c.o:
${CC} -c ${CFLAGS} $<
${OBJ}: config.h config.mk
config.h:
cp config.def.h $@
${OBJ}: config.def.h config.mk
dwm: ${OBJ}
${CC} -o $@ ${OBJ} ${LDFLAGS}

View File

@ -105,7 +105,6 @@ static const char termcmd[] = "alacritty msg create-window || alacritty";
static const char *freshtermcmd[] = { "alacritty", NULL };
static const char *browsercmd[] = { "qutebrowser", NULL };
static const char *pwdcmd[] = { "keepassxc", NULL };
static const char *musiccmd[] = { "sonixd", NULL };
static const char *upvol[] = { "/usr/bin/pactl", "set-sink-volume", "0", "+5%", NULL };
static const char *downvol[] = { "/usr/bin/pactl", "set-sink-volume", "0", "-5%", NULL };
static const char *mutevol[] = { "/usr/bin/pactl", "set-sink-mute", "0", "toggle", NULL };
@ -124,7 +123,7 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_b, spawn, {.v = browsercmd } },
{ MODKEY|ShiftMask, XK_k, spawn, {.v = pwdcmd } },
{ MODKEY|ShiftMask, XK_d, spawn, SHCMD("qbprof dsc") },
{ MODKEY|ShiftMask, XK_m, spawn, {.v = musiccmd } },
{ MODKEY|ShiftMask, XK_m, spawn, SHCMD("qbprof mus") },
{ MODKEY|ControlMask, XK_l, spawn, {.v = (const char*[]){ "/usr/local/bin/slock", NULL} } },
{ MODKEY|ShiftMask, XK_s, spawn, SHCMD("~/.local/bin/deskutils/suspend.sh") },
{ 0, XK_Print, spawn, SHCMD("~/.local/bin/deskutils/screenshot.sh") },

View File

@ -324,7 +324,7 @@ static int depth;
static Colormap cmap;
/* configuration, allows nested code to access above variables */
#include "config.h"
#include "config.def.h"
/* compile-time check if all tags fit into an unsigned int bit array. */
struct NumTags { char limitexceeded[LENGTH(tags) > 31 ? -1 : 1]; };