diff --git a/arch_install b/arch_install index 02f5eda..b71d593 100755 --- a/arch_install +++ b/arch_install @@ -106,7 +106,7 @@ set_pkgs() { pkgs_base+=' base linux-zen linux-firmware intel-ucode lvm2 ' pkgs_base+=' fish bluez cronie git man-db' # netctl - pkgs_base+=' netctl dhclient ifplugged wpa_supplicant dialog' + pkgs_base+=' netctl dhcpd ifplugged wpa_supplicant dialog' pkgs_base+=" $(pacman -Sgq base-devel)" if $IS_BIOS;then diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py index 040c34b..fe9e0c0 100644 --- a/qutebrowser/.config/qutebrowser/config.py +++ b/qutebrowser/.config/qutebrowser/config.py @@ -19,15 +19,96 @@ c.session.lazy_restore = True # Type: Bool c.auto_save.session = True -# User agent to send. Unset to send the default. Note that the value +# User agent to send. The following placeholders are defined: * +# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`: +# The underlying WebKit version (set to a fixed value with +# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for +# QtWebEngine. * `{qt_version}`: The underlying Qt version. * +# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for +# QtWebEngine. * `{upstream_browser_version}`: The corresponding +# Safari/Chrome version. * `{qutebrowser_version}`: The currently +# running qutebrowser version. The default value is equal to the +# unchanged user agent of QtWebKit/QtWebEngine. Note that the value # read from JavaScript is always the global value. -# Type: String +# Type: FormatString c.content.headers.user_agent = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36' +# User agent to send. The following placeholders are defined: * +# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`: +# The underlying WebKit version (set to a fixed value with +# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for +# QtWebEngine. * `{qt_version}`: The underlying Qt version. * +# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for +# QtWebEngine. * `{upstream_browser_version}`: The corresponding +# Safari/Chrome version. * `{qutebrowser_version}`: The currently +# running qutebrowser version. The default value is equal to the +# unchanged user agent of QtWebKit/QtWebEngine. Note that the value +# read from JavaScript is always the global value. +# Type: FormatString +config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}) AppleWebKit/{webkit_version} (KHTML, like Gecko) {upstream_browser_key}/{upstream_browser_version} Safari/{webkit_version}', 'https://web.whatsapp.com/') + +# User agent to send. The following placeholders are defined: * +# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`: +# The underlying WebKit version (set to a fixed value with +# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for +# QtWebEngine. * `{qt_version}`: The underlying Qt version. * +# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for +# QtWebEngine. * `{upstream_browser_version}`: The corresponding +# Safari/Chrome version. * `{qutebrowser_version}`: The currently +# running qutebrowser version. The default value is equal to the +# unchanged user agent of QtWebKit/QtWebEngine. Note that the value +# read from JavaScript is always the global value. +# Type: FormatString +config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}; rv:71.0) Gecko/20100101 Firefox/71.0', 'https://accounts.google.com/*') + +# User agent to send. The following placeholders are defined: * +# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`: +# The underlying WebKit version (set to a fixed value with +# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for +# QtWebEngine. * `{qt_version}`: The underlying Qt version. * +# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for +# QtWebEngine. * `{upstream_browser_version}`: The corresponding +# Safari/Chrome version. * `{qutebrowser_version}`: The currently +# running qutebrowser version. The default value is equal to the +# unchanged user agent of QtWebKit/QtWebEngine. Note that the value +# read from JavaScript is always the global value. +# Type: FormatString +config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99 Safari/537.36', 'https://*.slack.com/*') + +# User agent to send. The following placeholders are defined: * +# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`: +# The underlying WebKit version (set to a fixed value with +# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for +# QtWebEngine. * `{qt_version}`: The underlying Qt version. * +# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for +# QtWebEngine. * `{upstream_browser_version}`: The corresponding +# Safari/Chrome version. * `{qutebrowser_version}`: The currently +# running qutebrowser version. The default value is equal to the +# unchanged user agent of QtWebKit/QtWebEngine. Note that the value +# read from JavaScript is always the global value. +# Type: FormatString +config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}; rv:71.0) Gecko/20100101 Firefox/71.0', 'https://docs.google.com/*') + +# Load images automatically in web pages. +# Type: Bool +config.set('content.images', True, 'chrome-devtools://*') + +# Load images automatically in web pages. +# Type: Bool +config.set('content.images', True, 'devtools://*') + # Enable JavaScript. # Type: Bool config.set('content.javascript.enabled', True, 'file://*') +# Enable JavaScript. +# Type: Bool +config.set('content.javascript.enabled', True, 'chrome-devtools://*') + +# Enable JavaScript. +# Type: Bool +config.set('content.javascript.enabled', True, 'devtools://*') + # Enable JavaScript. # Type: Bool config.set('content.javascript.enabled', True, 'chrome://*/*') @@ -68,7 +149,7 @@ c.scrolling.smooth = True # Hide the statusbar unless a message is shown. # Type: Bool -c.statusbar.hide = True +c.statusbar.hide = False # When to show favicons in the tab bar. # Type: String @@ -95,7 +176,7 @@ c.tabs.last_close = 'close' # - never: Always hide the tab bar. # - multiple: Hide the tab bar if only one tab is open. # - switching: Show the tab bar when switching tabs. -c.tabs.show = 'switching' +c.tabs.show = 'multiple' # Duration (in milliseconds) to show the tab bar before hiding it when # tabs.show is set to 'switching'. @@ -185,6 +266,10 @@ c.colors.keyhint.suffix.fg = '#cc5757' # Type: QssColor c.colors.keyhint.bg = 'rgba(30, 30, 30, 95%)' +# Foreground color of the statusbar. +# Type: QssColor +c.colors.statusbar.normal.fg = 'gray' + # Background color of the statusbar. # Type: QssColor c.colors.statusbar.normal.bg = '#202020' @@ -197,6 +282,11 @@ c.colors.statusbar.command.bg = '#202020' # Type: QssColor c.colors.statusbar.caret.selection.bg = '#cc5757' +# Foreground color of the URL in the statusbar on successful load +# (https). +# Type: QssColor +c.colors.statusbar.url.success.https.fg = 'gray' + # Background color of the tab bar. # Type: QssColor c.colors.tabs.bar.bg = '#202020' @@ -275,7 +365,7 @@ c.fonts.prompts = '16px Inter' # Font used in the statusbar. # Type: Font -c.fonts.statusbar = '16px Hack' +c.fonts.statusbar = '14px Hack' # Font used in the tab bar. # Type: QtFont diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 7f8b5db..679fcb9 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -10,7 +10,7 @@ set -g set-titles-string "#T" #sneaky bar set -g status off set -g default-terminal "tmux-256color" -set -ga terminal-overrides ',xterm*:smcup@:rmcup@' +# set -ga terminal-overrides ',xterm*:smcup@:rmcup@' # }}} #Theming# {{{ set -g status-bg default