From 506bca095d5c414ae6521d59fdb05cb16d008504 Mon Sep 17 00:00:00 2001 From: bd Date: Wed, 4 Sep 2024 18:03:58 -0400 Subject: Re-add librewolf browser :( --- .config/guix/modules/base.scm | 2 ++ .config/guix/modules/dwm/config.def.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.config/guix/modules/base.scm b/.config/guix/modules/base.scm index 2e9baba..3fac601 100644 --- a/.config/guix/modules/base.scm +++ b/.config/guix/modules/base.scm @@ -41,6 +41,7 @@ gnuzilla ;; icecat image ;; flameshot imagemagick ;; imagemagick + librewolf ;; librewolf linux ;; sysstat mail ;; offlineimap man ;; man-pages @@ -96,6 +97,7 @@ gimp icecat imagemagick + librewolf mpv )) diff --git a/.config/guix/modules/dwm/config.def.h b/.config/guix/modules/dwm/config.def.h index 2946cf5..9069f9f 100644 --- a/.config/guix/modules/dwm/config.def.h +++ b/.config/guix/modules/dwm/config.def.h @@ -36,6 +36,7 @@ static const Rule rules[] = { /* class instance title tags mask isfloating monitor */ { "Emacs", NULL, NULL, 1 << 0, 0, -1 }, { "Icecat", NULL, NULL, 1 << 1, 0, -1 }, + { "librewolf",NULL, NULL, 1 << 1, 0, -1 }, { "Zathura", NULL, NULL, 1 << 2, 0, -1 }, { "libreoffice",NULL, NULL, 1 << 3, 0, -1 }, { "Gimp", NULL, NULL, 1 << 4, 1, -1 }, @@ -86,6 +87,7 @@ static const char *flameselect[] = { "flameshot", "launcher", NULL }; static const char *flameall[] = { "flameshot", "full", NULL }; /* other applications */ static const char *icecmd[] = { "icecat", NULL }; +static const char *wolfcmd[] = { "librewolf", NULL }; static const char *termcmd[] = { "emacsclient", "-nc", NULL }; @@ -95,6 +97,7 @@ static const Key keys[] = { { MODKEY|ShiftMask, XK_l, spawn, SHCMD("xset s activate; slock") }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, { MODKEY|ShiftMask, XK_b, spawn, {.v = icecmd } }, + { MODKEY|ShiftMask, XK_c, spawn, {.v = wolfcmd } }, { MODKEY|ShiftMask, XK_o, spawn, SHCMD("xdotool type $(grep -v '^#' /home/bdunahu/.local/bin/bookmarks.txt | dmenu -i -l 4 | awk '{print $NF}')") }, { MODKEY|ShiftMask, XK_p, spawn, SHCMD("passmenu --type") }, { 0, XK_F2, spawn, {.v = lowerbgt } }, -- cgit v1.2.3