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
_desktop/qutebrowser/bookmarks/urls
_desktop/qutebrowser/local-config.py
_desktop/qutebrowser/quickmarks
_desktop/qutebrowser/qsettings
_desktop/qutebrowser/greasemonkey
**/qutebrowser/autoconfig.yml
**/qutebrowser/bookmarks/urls
**/qutebrowser/local-config.py
**/qutebrowser/quickmarks
**/qutebrowser/qsettings
**/qutebrowser/greasemonkey
**/.netrwhist

View File

@ -4,7 +4,7 @@
mkdir -p ~/.config ~/.local/bin
# link config
for i in clipit dunst neofetch qutebrowser zathura; do
for i in clipit dunst neofetch zathura; do
rm -rf ~/.config/${i}
ln -sf $XDG_DATA_HOME/repos/dotfiles/_desktop/${i} ~/.config
done
@ -16,4 +16,4 @@ for i in dconf gtk-3.0; do
done
# 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 */
{ NULL, NULL, "st", 0, 0, 1, 0, -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 },
{ "Slack", NULL, NULL, 1 << 7, 0, 0, 0, -1 },
{ "workfx", NULL, NULL, 1 << 9, 0, 0, 1, -1 },
@ -104,12 +103,12 @@ static Key keys[] = {
TAGKEYS( XK_0, 9)
/* apps n'shit */
//{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_Return, spawn, SHCMD("BROWSER=qutebrowser st") },
{ SHTKEY, XK_Return, spawn, SHCMD("BROWSER=workqt st -n work") },
{ MODKEY, XK_Return, spawn, SHCMD("BROWSER=firefox st") },
{ SHTKEY, XK_Return, spawn, SHCMD("BROWSER=workfx st -n work") },
{ 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'") },
{ 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_e, togglescratch, {.ui = 0 } },
{ SHTKEY, XK_e, togglescratch, {.ui = 1 } },