For now, let's stay with firefox, sadly.

This commit is contained in:
Bartek Stalewski 2022-05-15 01:35:47 +02:00
parent 53b30e9ab5
commit 46b5a458f6
8 changed files with 11 additions and 12 deletions

12
.gitignore vendored
View File

@ -1,7 +1,7 @@
_desktop/qutebrowser/autoconfig.yml **/qutebrowser/autoconfig.yml
_desktop/qutebrowser/bookmarks/urls **/qutebrowser/bookmarks/urls
_desktop/qutebrowser/local-config.py **/qutebrowser/local-config.py
_desktop/qutebrowser/quickmarks **/qutebrowser/quickmarks
_desktop/qutebrowser/qsettings **/qutebrowser/qsettings
_desktop/qutebrowser/greasemonkey **/qutebrowser/greasemonkey
**/.netrwhist **/.netrwhist

View File

@ -4,7 +4,7 @@
mkdir -p ~/.config ~/.local/bin mkdir -p ~/.config ~/.local/bin
# link config # link config
for i in clipit dunst neofetch qutebrowser zathura; do for i in clipit dunst neofetch zathura; do
rm -rf ~/.config/${i} rm -rf ~/.config/${i}
ln -sf $XDG_DATA_HOME/repos/dotfiles/_desktop/${i} ~/.config ln -sf $XDG_DATA_HOME/repos/dotfiles/_desktop/${i} ~/.config
done done
@ -16,4 +16,4 @@ for i in dconf gtk-3.0; do
done done
# copy firefox wrapper # copy firefox wrapper
#ln -sf $XDG_DATA_HOME/repos/dotfiles/_desktop/firefox ~/.local/bin ln -sf $XDG_DATA_HOME/repos/dotfiles/_desktop/firefox ~/.local/bin

View File

@ -51,7 +51,6 @@ static const Rule rules[] = {
/* class instance title tags mask isfloating isterminal noswallow monitor */ /* class instance title tags mask isfloating isterminal noswallow monitor */
{ NULL, NULL, "st", 0, 0, 1, 0, -1 }, { NULL, NULL, "st", 0, 0, 1, 0, -1 },
{ "firefox", NULL, NULL, 2, 0, 0, 1, -1 }, { "firefox", NULL, NULL, 2, 0, 0, 1, -1 },
{ NULL, "qutebrowser", NULL, 2, 0, 0, 1, -1 },
{ "Ferdi", NULL, NULL, 1 << 2, 0, 0, 0, -1 }, { "Ferdi", NULL, NULL, 1 << 2, 0, 0, 0, -1 },
{ "Slack", NULL, NULL, 1 << 7, 0, 0, 0, -1 }, { "Slack", NULL, NULL, 1 << 7, 0, 0, 0, -1 },
{ "workfx", NULL, NULL, 1 << 9, 0, 0, 1, -1 }, { "workfx", NULL, NULL, 1 << 9, 0, 0, 1, -1 },
@ -104,12 +103,12 @@ static Key keys[] = {
TAGKEYS( XK_0, 9) TAGKEYS( XK_0, 9)
/* apps n'shit */ /* apps n'shit */
//{ MODKEY, XK_Return, spawn, {.v = termcmd } }, //{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_Return, spawn, SHCMD("BROWSER=qutebrowser st") }, { MODKEY, XK_Return, spawn, SHCMD("BROWSER=firefox st") },
{ SHTKEY, XK_Return, spawn, SHCMD("BROWSER=workqt st -n work") }, { SHTKEY, XK_Return, spawn, SHCMD("BROWSER=workfx st -n work") },
{ MODKEY, XK_space, spawn, SHCMD("dmenu_run -c -i -l 20") }, { MODKEY, XK_space, spawn, SHCMD("dmenu_run -c -i -l 20") },
{ MODKEY, XK_i, spawn, SHCMD("scrot -f -s 'scrot_%Y-%m-%d_%H-%M-%S_%s.png'") }, { MODKEY, XK_i, spawn, SHCMD("scrot -f -s 'scrot_%Y-%m-%d_%H-%M-%S_%s.png'") },
{ SHTKEY, XK_i, spawn, SHCMD("scrot 'scrot_%Y-%m-%d_%H-%M-%S_%s.png'") }, { SHTKEY, XK_i, spawn, SHCMD("scrot 'scrot_%Y-%m-%d_%H-%M-%S_%s.png'") },
{ MODKEY, XK_m, spawn, SHCMD("pgrep -x neomutt > /dev/null || BROWSER=qutebrowser st -n mutt -e neomutt") }, { MODKEY, XK_m, spawn, SHCMD("pgrep -x neomutt > /dev/null || BROWSER=firefox st -n mutt -e neomutt") },
{ MODKEY, XK_q, killclient, {0} }, { MODKEY, XK_q, killclient, {0} },
{ MODKEY, XK_e, togglescratch, {.ui = 0 } }, { MODKEY, XK_e, togglescratch, {.ui = 0 } },
{ SHTKEY, XK_e, togglescratch, {.ui = 1 } }, { SHTKEY, XK_e, togglescratch, {.ui = 1 } },