Adding qutebrowser configs

This commit is contained in:
Chris Cochrun 2020-10-21 06:23:09 -05:00
parent 3bed180ab3
commit 84957355a4
13 changed files with 36 additions and 3338 deletions

View file

@ -393,7 +393,8 @@
(not c.size_hints.program_position)) (not c.size_hints.program_position))
;; Prevent clients from being unreachable after screen count changes. ;; Prevent clients from being unreachable after screen count changes.
(awful.placement.no_offscreen c)) (awful.placement.no_offscreen c))
(awful.client.focus.byidx 1))) (awful.client.focus.byidx 1)
(: c :activate [])))
(client.connect_signal "focus" (fn [c] (set c.border_color beautiful.border_focus))) (client.connect_signal "focus" (fn [c] (set c.border_color beautiful.border_focus)))

View file

@ -1,4 +1,5 @@
(local awful (require "awful")) (local awful (require "awful"))
(local gears (require "gears"))
(local beautiful (require "beautiful")) (local beautiful (require "beautiful"))
(local keybindings (require "keybindings")) (local keybindings (require "keybindings"))
@ -15,6 +16,7 @@
;; :buttons clientbuttons ;; :buttons clientbuttons
:screen awful.screen.preferred :screen awful.screen.preferred
:placement (+ awful.placement.no_overlap awful.placement.no_offscreen) :placement (+ awful.placement.no_overlap awful.placement.no_offscreen)
;; :shape gears.shape.rounded_rect
} }
} }
@ -29,10 +31,20 @@
:floating true :floating true
:raise true :raise true
:height 900 :height 900
:screen 2 :screen (screen.count)
:placement (+ awful.placement.no_offscreen awful.placement.centered) :placement (+ awful.placement.no_offscreen awful.placement.centered)
} }
} }
{
:rule_any {
:class [
"qutebrowser"
]
}
:properties {
:screen (screen.count)
}
}
{ {
:rule_any { :rule_any {
:class [ :class [

View file

@ -149,11 +149,11 @@ fade-exclude = [
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
# inactive-opacity = 1 # inactive-opacity = 1
inactive-opacity = 0.8; inactive-opacity = 0.7;
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
# frame-opacity = 1.0 # frame-opacity = 1.0
frame-opacity = 0.7; frame-opacity = 0.8;
# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0) # Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
# menu-opacity = 1.0 # menu-opacity = 1.0

View file

@ -6,5 +6,5 @@
config_version: 2 config_version: 2
settings: settings:
content.notifications: colors.webpage.darkmode.enabled:
https://www.reddit.com: false global: true

View file

@ -1 +1,2 @@
https://yewtu.be/feed/subscriptions Subscriptions - YewTube https://yewtu.be/feed/subscriptions Subscriptions - YewTube
https://portal.azure.com/#@tfcconnection.org/dashboard/private/e5f3455d-3737-47d8-852b-1847a3b4801b Dashboard - Microsoft Azure

View file

@ -28,20 +28,6 @@
## Type: Bool ## Type: Bool
c.auto_save.session = True c.auto_save.session = True
## Backend to use to display websites. qutebrowser supports two different
## web rendering engines / backends, QtWebKit and QtWebEngine. QtWebKit
## was discontinued by the Qt project with Qt 5.6, but picked up as a
## well maintained fork: https://github.com/annulen/webkit/wiki -
## qutebrowser only supports the fork. QtWebEngine is Qt's official
## successor to QtWebKit. It's slightly more resource hungry than
## QtWebKit and has a couple of missing features in qutebrowser, but is
## generally the preferred choice.
## Type: String
## Valid values:
## - webengine: Use QtWebEngine (based on Chromium).
## - webkit: Use QtWebKit (based on WebKit, similar to Safari).
# c.backend = 'webengine'
## This setting can be used to map keys to other keys. When the key used ## This setting can be used to map keys to other keys. When the key used
## as dictionary-key is pressed, the binding for the key used as ## as dictionary-key is pressed, the binding for the key used as
## dictionary-value is invoked instead. This is useful for global ## dictionary-value is invoked instead. This is useful for global
@ -766,7 +752,7 @@ c.colors.hints.match.fg = base02
## `colors.webpage.darkmode.algorithm` is set to `lightness-hsl` or ## `colors.webpage.darkmode.algorithm` is set to `lightness-hsl` or
## `brightness-rgb`. ## `brightness-rgb`.
## Type: Float ## Type: Float
# c.colors.webpage.darkmode.contrast = 0.0 c.colors.webpage.darkmode.contrast = 0.7
## Render all web contents using a dark theme. Example configurations ## Render all web contents using a dark theme. Example configurations
## from Chromium's `chrome://flags`: - "With simple HSL/CIELAB/RGB-based ## from Chromium's `chrome://flags`: - "With simple HSL/CIELAB/RGB-based
@ -778,7 +764,7 @@ c.colors.hints.match.fg = base02
## `colors.webpage.darkmode.threshold.background` to 205. - "With ## `colors.webpage.darkmode.threshold.background` to 205. - "With
## selective inversion of everything": Combines the two variants above. ## selective inversion of everything": Combines the two variants above.
## Type: Bool ## Type: Bool
c.colors.webpage.darkmode.enabled = False c.colors.webpage.darkmode.enabled = True
## Render all colors as grayscale. This only has an effect when ## Render all colors as grayscale. This only has an effect when
## `colors.webpage.darkmode.algorithm` is set to `lightness-hsl` or ## `colors.webpage.darkmode.algorithm` is set to `lightness-hsl` or
@ -801,14 +787,14 @@ c.colors.webpage.darkmode.enabled = False
## - always: Apply dark mode filter to all images. ## - always: Apply dark mode filter to all images.
## - never: Never apply dark mode filter to any images. ## - never: Never apply dark mode filter to any images.
## - smart: Apply dark mode based on image content. ## - smart: Apply dark mode based on image content.
# c.colors.webpage.darkmode.policy.images = 'never' c.colors.webpage.darkmode.policy.images = 'smart'
## Which pages to apply dark mode to. ## Which pages to apply dark mode to.
## Type: String ## Type: String
## Valid values: ## Valid values:
## - always: Apply dark mode filter to all frames, regardless of content. ## - always: Apply dark mode filter to all frames, regardless of content.
## - smart: Apply dark mode filter to frames based on background color. ## - smart: Apply dark mode filter to frames based on background color.
# c.colors.webpage.darkmode.policy.page = 'smart' c.colors.webpage.darkmode.policy.page = 'smart'
## Threshold for inverting background elements with dark mode. Background ## Threshold for inverting background elements with dark mode. Background
## elements with brightness above this threshold will be inverted, and ## elements with brightness above this threshold will be inverted, and
@ -2089,7 +2075,7 @@ c.tabs.title.alignment = 'center'
## the search engine name to the search term, e.g. `:open google ## the search engine name to the search term, e.g. `:open google
## qutebrowser`. ## qutebrowser`.
## Type: Dict ## Type: Dict
c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}', 'yt': 'https://yewtu.be/search?q={}', 'mel': 'https://melpa.org/#/?q={}'} c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}', 'yt': 'https://yewtu.be/search?q={}', 'mel': 'https://melpa.org/#/?q={}', 'y': 'https://www.youtube.com/results?search_query={}'}
## Page(s) to open at the start. ## Page(s) to open at the start.
## Type: List of FuzzyUrl, or FuzzyUrl ## Type: List of FuzzyUrl, or FuzzyUrl
@ -2314,6 +2300,7 @@ config.bind('J', 'tab-prev')
# config.bind('{{', 'navigate prev -t') # config.bind('{{', 'navigate prev -t')
# config.bind('}}', 'navigate next -t') # config.bind('}}', 'navigate next -t')
config.bind('v', 'hint links spawn --detach mpv --force-window yes {hint-url}') config.bind('v', 'hint links spawn --detach mpv --force-window yes {hint-url}')
config.bind('gv', 'spawn --detach mpv --force-window yes {url}')
## Bindings for caret mode ## Bindings for caret mode
# config.bind('$', 'move-to-end-of-line', mode='caret') # config.bind('$', 'move-to-end-of-line', mode='caret')

1
qutebrowser/greasemonkey Symbolic link
View file

@ -0,0 +1 @@
/home/chris/.local/share/qutebrowser/greasemonkey

View file

@ -1 +1,5 @@
yt https://yewtu.be/feed/subscriptions yt https://yewtu.be/feed/subscriptions
sp https://tfcconnection.sharepoint.com/sites/TeensForChrist/Shared%20Documents/Forms/AllItems.aspx
ama https://smile.amazon.com/
azu https://portal.azure.com/#@tfcconnection.org/dashboard/private/e5f3455d-3737-47d8-852b-1847a3b4801b
ac https://azure-costs.com/app/teams/personal/dashboards?active=e47b9bb7-1701-400e-9cbd-195c9cfda2c2&cycle=monthly

1
qutebrowser/userscripts Symbolic link
View file

@ -0,0 +1 @@
/home/chris/.local/share/qutebrowser/userscripts

2
scripts/fehbg.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
feh --no-fehbg --bg-fill '/home/chris/Pictures/wallpapers/RoyalKing.png'

2
scripts/fileusage.sh Executable file
View file

@ -0,0 +1,2 @@
#!/usr/bin/sh
btrfs fi usage / | rg Free | awk '{print $3}'