mirror of
https://github.com/ksyasuda/rice.git
synced 2025-12-05 02:53:39 -08:00
add files
This commit is contained in:
38
qutebrowser/config.py
Normal file
38
qutebrowser/config.py
Normal file
@@ -0,0 +1,38 @@
|
||||
import dracula.draw
|
||||
|
||||
# Load existing settings made via :set
|
||||
config.load_autoconfig(True)
|
||||
|
||||
c.content.blocking.method = "both"
|
||||
c.content.default_encoding = "utf-8"
|
||||
c.content.pdfjs = True # display pdfs
|
||||
c.zoom.default = "125%"
|
||||
|
||||
c.url.default_page = "https://dash.sudacode.com"
|
||||
c.editor.command = ["alacritty", "-e", "vim", "{}"]
|
||||
c.url.searchengines["a"] = "https://wiki.archlinux.org/?search={}"
|
||||
c.url.searchengines["ap"] = "https://www.archlinux.org/packages/?sort=&q={}"
|
||||
c.url.searchengines["aur"] = "https://aur.archlinux.org/packages/?K={}"
|
||||
c.url.searchengines["gh"] = "https://github.com/search?q={}&type=Code"
|
||||
c.url.searchengines["r"] = "https://www.reddit.com/r/{}"
|
||||
|
||||
c.aliases["gd"] = "open -t http://192.168.4.77:4000"
|
||||
|
||||
config.bind(
|
||||
"<Ctrl-Shift-m>",
|
||||
"hint links spawn --detach mpv {hint-url}",
|
||||
)
|
||||
config.bind(
|
||||
"<Ctrl-Shift-d>",
|
||||
"hint links spawn --detach alacritty -e yt-dlp {hint-url}",
|
||||
)
|
||||
|
||||
config.bind("<Ctrl-=>'", "zoom-in")
|
||||
config.bind("<Ctrl+->'", "zoom-out")
|
||||
|
||||
config.bind("<j>", "scroll-px 0 150")
|
||||
|
||||
config.bind("<k>", "scroll-px 0 -150")
|
||||
|
||||
|
||||
dracula.draw.blood(c, {"spacing": {"vertical": 6, "horizontal": 8}})
|
||||
Reference in New Issue
Block a user