From c7dd71eae646118780e29df79265823fc2c4f458 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Tue, 9 Feb 2021 11:38:14 +0100 Subject: Enabling qutebrowser session, Added zathurarc copy to clipboard instead of primary selection --- .zsh_aliases | 3 ++- install | 2 ++ qutebrowser/config.py | 3 +++ zathura/zathurarc | 1 + 4 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 zathura/zathurarc diff --git a/.zsh_aliases b/.zsh_aliases index 71a4b9f..adbb8f0 100644 --- a/.zsh_aliases +++ b/.zsh_aliases @@ -103,7 +103,8 @@ alias ..='cd ..' alias ...='cd ../..' alias ....='cd ../../..' -alias norm='ruby ~/git/norminette/norminette.rb' +alias norminette='ruby ~/git/norminette/norminette.rb' +alias norm='norminette' getrfc() { curl "https://ietf.org/rfc/rfc$1.txt" > "$HOME/rfc/rfc$1.txt" diff --git a/install b/install index 79f9011..f728a27 100755 --- a/install +++ b/install @@ -52,6 +52,8 @@ create_dotfile_link_same .newsboat/config create_dotfile_link qutebrowser/config.py .config/qutebrowser/config.py +create_dotfile_link zathura/zathurarc .config/zathura/zathurarc + ln -sv "$DOTDIR/bin" "$HOME/bin" ############################################################################### diff --git a/qutebrowser/config.py b/qutebrowser/config.py index e528fb3..b4ca99e 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -59,6 +59,9 @@ c.colors.webpage.bg = 'black' # Disabling white flash before page lo # c.content.proxy = 'socks://localhost:9050/' # tor c.content.autoplay = False +c.auto_save.session = True +c.session.lazy_restore = True + # base16-qutebrowser (https://github.com/theova/base16-qutebrowser) # Base16 qutebrowser template by theova # Solarized Dark scheme by Ethan Schoonover (modified by aramisgithub) diff --git a/zathura/zathurarc b/zathura/zathurarc new file mode 100644 index 0000000..ea10740 --- /dev/null +++ b/zathura/zathurarc @@ -0,0 +1 @@ +set selection-clipboard clipboard -- cgit