qutebrowser is back.

This commit is contained in:
Bartek Stalewski 2022-05-08 19:12:35 +02:00
parent 6e658074a1
commit 3b55d55cdf
7 changed files with 4929 additions and 15 deletions

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
_desktop/qutebrowser/bookmarks/urls _desktop/qutebrowser/bookmarks/urls
_desktop/qutebrowser/quickmarks _desktop/qutebrowser/quickmarks
_desktop/qutebrowser/qsettings _desktop/qutebrowser/qsettings
_desktop/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 zathura; do for i in clipit dunst neofetch qutebrowser 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

@ -0,0 +1,21 @@
# If a config.py file exists, this file is ignored unless it's explicitly loaded
# via config.load_autoconfig(). For more information, see:
# https://github.com/qutebrowser/qutebrowser/blob/master/doc/help/configuring.asciidoc#loading-autoconfigyml
# DO NOT edit this file by hand, qutebrowser will overwrite it.
# Instead, create a config.py - see :help for details.
config_version: 2
settings:
content.media.audio_capture:
https://meet.google.com: true
content.media.audio_video_capture:
https://meet.google.com: true
content.media.video_capture:
https://meet.google.com: true
content.notifications.enabled:
https://meet.google.com: false
https://www.facebook.com: false
https://www.reddit.com: false
https://www.youtube.com: false
content.register_protocol_handler:
https://mail.google.com?extsrc=mailto&url=%25s: false

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,13 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>(empty)</title>
</head>
<style>
body { background-color: #272822 }
</style>
</html>

View file

@ -48,17 +48,18 @@ static const Rule rules[] = {
* WM_CLASS(STRING) = instance, class * WM_CLASS(STRING) = instance, class
* WM_NAME(STRING) = title * WM_NAME(STRING) = title
*/ */
/* 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 },
{ "Ferdi", NULL, NULL, 1 << 2, 0, 0, 0, -1 }, { NULL, "qutebrowser", NULL, 2, 0, 0, 1, -1 },
{ "Slack", NULL, NULL, 1 << 7, 0, 0, 0, -1 }, { "Ferdi", NULL, NULL, 1 << 2, 0, 0, 0, -1 },
{ "workfx", NULL, NULL, 1 << 9, 0, 0, 1, -1 }, { "Slack", NULL, NULL, 1 << 7, 0, 0, 0, -1 },
{ "sonos-controller-unofficial", NULL, NULL, 1 << 6, 0, 0, 0, -1 }, { "workfx", NULL, NULL, 1 << 9, 0, 0, 1, -1 },
{ NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 }, /* xev */ { NULL, "workqt", NULL, 1 << 9, 0, 0, 1, -1 },
{ NULL, "mutt", NULL, 1 << 3, 0, 1, 1, -1 }, { NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 }, /* xev */
{ NULL, "spterm", NULL, SPTAG(0), 1, 1, 0, -1 }, { NULL, "mutt", NULL, 1 << 3, 0, 1, 1, -1 },
{ NULL, "spwork", NULL, SPTAG(1), 1, 1, 0, -1 }, { NULL, "spterm", NULL, SPTAG(0), 1, 1, 0, -1 },
{ NULL, "spwork", NULL, SPTAG(1), 1, 1, 0, -1 },
}; };
/* layout(s) */ /* layout(s) */
@ -103,8 +104,8 @@ 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=firefox st") }, { MODKEY, XK_Return, spawn, SHCMD("BROWSER=qutebrowser st") },
{ SHTKEY, XK_Return, spawn, SHCMD("BROWSER=workfx st -n work") }, { SHTKEY, XK_Return, spawn, SHCMD("BROWSER=workqt 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'") },