diff --git a/docs/dependencies b/docs/dependencies index 16b11ea..abd7f62 100644 --- a/docs/dependencies +++ b/docs/dependencies @@ -27,6 +27,7 @@ If you want to use an alternative, change it in options.h and/or keybinds.h and - Required for dmenu desktop entries.. ## Software + This build of speedwm comes with binds for software. You can add, change and remove keybinds by editing 'keybinds.h' and running 'make clean install'. @@ -34,7 +35,7 @@ You can add, change and remove keybinds by editing 'keybinds.h' and running 'mak - speedwm-extras - Important metapackage containing extra scripts that speedwm makes use of. (https://codeberg.org/speedie/speedwm-extras) - st (Terminal) -- qutebrowser (Web browser) +- Chromium (Web browser) - htop (Status monitor) - newsboat (RSS reader) - zathura (PDF reader) diff --git a/host.mk b/host.mk index aa15f29..e7ffc8e 100644 --- a/host.mk +++ b/host.mk @@ -16,7 +16,7 @@ PAGEDIR = "/home/anon/Projects/speediegq/projects" FREETYPELIBS = -lfontconfig -lXft FREETYPEINC = /usr/include/freetype2 EXCFLAGS = -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-array-bounds -CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Ofast -march=native ${INCS} ${CPPFLAGS} #${EXCFLAGS} +CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Ofast -march=native ${INCS} ${CPPFLAGS} ${EXCFLAGS} LDFLAGS = ${LIBS} -g # OpenBSD support diff --git a/keybinds.h b/keybinds.h index e47d13e..d5d1542 100644 --- a/keybinds.h +++ b/keybinds.h @@ -52,7 +52,7 @@ static Key keys[] = { { MODIFIER1|SHIFT, -1, XK_Return, spawn, cmd( TERMINAL ) }, { MODIFIER1|SHIFT, -1, XK_s, spawn, cmd( "speedwm-screenshotutil -s" ) }, { MODIFIER1|SHIFT, -1, XK_f, spawn, cmd( TERMINAL "lf || lf" ) }, - { MODIFIER1|SHIFT, -1, XK_w, spawn, cmd( "qutebrowser" ) }, + { MODIFIER1|SHIFT, -1, XK_w, spawn, cmd( "chromium || chromium-bin" ) }, { MODIFIER1|SHIFT, -1, XK_o, spawn, cmd( "speedwm-dfmpeg" ) }, { MODIFIER1|SHIFT, -1, XK_d, spawn, cmd( TERMINAL "iron" ) }, { MODIFIER1|SHIFT, -1, XK_t, spawn, cmd( TERMINAL "nvim" ) }, diff --git a/rules.h b/rules.h index 6065d2c..3fc4bb9 100644 --- a/rules.h +++ b/rules.h @@ -19,12 +19,16 @@ /* For terminal applications */ #define TERMINAL_CLASS "st" +/* Web browser */ +#define BROWSER_CLASS "chromium-bin-browser-chromium" /* This is the class for chromium-bin on Gentoo. Use xprop to find out your class. */ + static const Rule rules[] = { /* class instance title tags mask isfloating ispermanent isterminal noswallow monitor unmanaged ignoretransient float x,y,w,h scratch key */ { TERMINAL_CLASS, NULL, NULL, 0, 0, 0, 1, 0, -1, 0, 0, -1, 0 }, { "Zathura", NULL, NULL, 0, 0, 0, 0, 0, -1, 0, 0, -1, 0 }, { "qutebrowser", NULL, NULL, 0, 0, 0, 0, 0, -1, 0, 0, -1, 0 }, { "Navigator", NULL, NULL, 0, 0, 0, 0, 0, -1, 0, 0, -1, 0 }, + { BROWSER_CLASS, NULL, NULL, 0, 0, 0, 0, 0, -1, 0, 0, -1, 0 }, { "mpv", NULL, NULL, 0, 0, 0, 0, 0, -1, 0, 0, -1, 0 }, { "tabbed", NULL, NULL, 0, 0, 0, 0, 1, -1, 0, 0, -1, 0 }, { "trayer", NULL, NULL, 0, 1, 1, 0, 1, -1, 1, 0, -1, 0 },