Compare commits
No commits in common. "da5a12a06ede6aedca18758b4d832e2905df029e" and "3dbf7c91309709e818adb7e0cce968c391b12fd5" have entirely different histories.
da5a12a06e
...
3dbf7c9130
3
programs
3
programs
@ -2,7 +2,7 @@
|
|||||||
# essentials
|
# essentials
|
||||||
#
|
#
|
||||||
ttf-jetbrains-mono
|
ttf-jetbrains-mono
|
||||||
ttf-ibm-plex
|
ttf-terminus-nerd
|
||||||
wqy-microhei
|
wqy-microhei
|
||||||
ttf-roboto
|
ttf-roboto
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
@ -141,7 +141,6 @@ html-xml-utils
|
|||||||
# for general compiling from source
|
# for general compiling from source
|
||||||
cmake
|
cmake
|
||||||
ninja
|
ninja
|
||||||
meson
|
|
||||||
fakeroot
|
fakeroot
|
||||||
autoconf
|
autoconf
|
||||||
automake
|
automake
|
||||||
|
@ -85,3 +85,6 @@ function prob_cpp; echo $EDITOR src/(basename (xsel -b)).cpp; end
|
|||||||
abbr -a cpp --function prob_cpp
|
abbr -a cpp --function prob_cpp
|
||||||
function prob_py; echo $EDITOR src/(basename (xsel -b)).py; end
|
function prob_py; echo $EDITOR src/(basename (xsel -b)).py; end
|
||||||
abbr -a py --function prob_py
|
abbr -a py --function prob_py
|
||||||
|
# in .config/nvim/typst.vim there is a bind that copies the path
|
||||||
|
function prob_pdf; echo zathura (xsel -b); end
|
||||||
|
abbr -a pdf --function prob_pdf
|
||||||
|
@ -36,10 +36,8 @@ let mapleader = ","
|
|||||||
" easier binds to use system clipboard with
|
" easier binds to use system clipboard with
|
||||||
nmap <leader>y "+y
|
nmap <leader>y "+y
|
||||||
vmap <leader>y "+y
|
vmap <leader>y "+y
|
||||||
" <leader>d is for debugging
|
nmap <leader>c "+c
|
||||||
" and nobody uses clipboard c amirite or amirite
|
vmap <leader>c "+c
|
||||||
nmap <leader>c "+d
|
|
||||||
vmap <leader>c "+d
|
|
||||||
|
|
||||||
set shell=/bin/sh
|
set shell=/bin/sh
|
||||||
|
|
||||||
|
@ -29,6 +29,6 @@ function TypstWatch()
|
|||||||
endfunc
|
endfunc
|
||||||
nnoremap <silent><leader>fc :call TypstWatch()<cr>
|
nnoremap <silent><leader>fc :call TypstWatch()<cr>
|
||||||
|
|
||||||
nnoremap <silent><leader>fr :silent exec "!zathura --fork " . expand("%:p:r") . ".pdf &"<cr>
|
nnoremap <silent><leader>fr :call setreg("+", expand("%:p:r") . ".pdf")<cr>:echo "Copied path."<cr>
|
||||||
|
|
||||||
au Filetype typst let g:AutoPairs = {'(':')', '[':']', '{':'}',"'":"'",'"':'"', '$':'$', "```" : "```", "`": "`"}
|
au Filetype typst let g:AutoPairs = {'(':')', '[':']', '{':'}',"'":"'",'"':'"', '$':'$', "```" : "```", "`": "`"}
|
||||||
|
@ -35,4 +35,4 @@ fade-out-step = 0.05;
|
|||||||
fade-delta = 5;
|
fade-delta = 5;
|
||||||
|
|
||||||
# corner
|
# corner
|
||||||
corner-radius = 5;
|
# corner-radius = 8;
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
config.load_autoconfig()
|
config.load_autoconfig()
|
||||||
|
|
||||||
# Style
|
# Colors
|
||||||
|
|
||||||
c.window.transparent = True
|
|
||||||
|
|
||||||
c.colors.webpage.bg = "#444444"
|
c.colors.webpage.bg = "#444444"
|
||||||
c.colors.completion.category.bg = "#111111"
|
c.colors.completion.category.bg = "#111111"
|
||||||
@ -11,12 +9,12 @@ c.colors.statusbar.private.bg = "black"
|
|||||||
c.colors.statusbar.command.private.bg = "black"
|
c.colors.statusbar.command.private.bg = "black"
|
||||||
c.colors.hints.bg = "black"
|
c.colors.hints.bg = "black"
|
||||||
c.colors.hints.fg = "white"
|
c.colors.hints.fg = "white"
|
||||||
c.colors.tabs.bar.bg = "transparent"
|
c.colors.tabs.bar.bg = "black"
|
||||||
|
|
||||||
c.colors.tabs.even.bg = "#66111111"
|
c.colors.tabs.even.bg = "#000000"
|
||||||
c.colors.tabs.odd.bg = c.colors.tabs.even.bg
|
c.colors.tabs.odd.bg = "#000000"
|
||||||
c.colors.tabs.selected.even.bg = "#dd444455"
|
c.colors.tabs.selected.even.bg = "#333333"
|
||||||
c.colors.tabs.selected.odd.bg = c.colors.tabs.selected.even.bg
|
c.colors.tabs.selected.odd.bg = "#444444"
|
||||||
|
|
||||||
c.colors.webpage.darkmode.algorithm = "lightness-hsl"
|
c.colors.webpage.darkmode.algorithm = "lightness-hsl"
|
||||||
c.colors.webpage.darkmode.contrast = 0.5
|
c.colors.webpage.darkmode.contrast = 0.5
|
||||||
@ -29,22 +27,16 @@ c.prompt.radius = 0
|
|||||||
|
|
||||||
# Fonts
|
# Fonts
|
||||||
|
|
||||||
c.fonts.default_size = "12pt"
|
c.fonts.default_family = "JetBrains Mono"
|
||||||
c.fonts.default_family = "IBM Plex Sans"
|
|
||||||
c.fonts.prompts = "default_size default_family"
|
c.fonts.prompts = "default_size default_family"
|
||||||
|
|
||||||
c.fonts.web.family.serif = "IBM Plex Sans"
|
|
||||||
c.fonts.web.family.sans_serif = "IBM Plex Sans"
|
|
||||||
c.fonts.web.family.standard = "IBM Plex Sans"
|
|
||||||
c.fonts.web.family.fixed = "JetBrains Mono"
|
|
||||||
|
|
||||||
config.bind('td', 'config-cycle colors.webpage.darkmode.enabled true false;; restart')
|
config.bind('td', 'config-cycle colors.webpage.darkmode.enabled true false;; restart')
|
||||||
|
|
||||||
# General settings
|
# General settings
|
||||||
|
|
||||||
c.url.default_page = "~/.config/qutebrowser/homepage.html"
|
c.url.default_page = "~/.config/qutebrowser/homepage.html"
|
||||||
c.url.start_pages = "~/.config/qutebrowser/homepage.html"
|
c.url.start_pages = "~/.config/qutebrowser/homepage.html"
|
||||||
c.url.searchengines = {"DEFAULT":"https://xo.wtf/search?q={}"}
|
c.url.searchengines = {"DEFAULT":"https://search.disroot.org/search?q={}"}
|
||||||
c.downloads.location.directory = "~/quar/"
|
c.downloads.location.directory = "~/quar/"
|
||||||
|
|
||||||
c.zoom.default = "90%"
|
c.zoom.default = "90%"
|
||||||
@ -56,20 +48,10 @@ c.downloads.remove_finished = 1000
|
|||||||
# Bar settings
|
# Bar settings
|
||||||
|
|
||||||
c.tabs.max_width = 300
|
c.tabs.max_width = 300
|
||||||
c.tabs.position = "top"
|
c.tabs.favicons.show = "never"
|
||||||
|
c.tabs.position = "bottom"
|
||||||
c.statusbar.show = "in-mode"
|
c.statusbar.show = "in-mode"
|
||||||
c.statusbar.widgets = [ "keypress", "progress" ]
|
c.statusbar.widgets = [ "keypress", "progress" ]
|
||||||
c.tabs.indicator.width = 0
|
|
||||||
c.tabs.position = "top"
|
|
||||||
c.tabs.title.format = "{audio}{current_title}"
|
|
||||||
c.tabs.padding = dict(
|
|
||||||
bottom=5,
|
|
||||||
left=5,
|
|
||||||
right=5,
|
|
||||||
top=5,
|
|
||||||
)
|
|
||||||
c.tabs.title.alignment = "left"
|
|
||||||
c.tabs.favicons.show = "always"
|
|
||||||
|
|
||||||
# Hints
|
# Hints
|
||||||
|
|
||||||
@ -146,6 +128,6 @@ c.fileselect.single_file.command = ["st", "-e", "fish", "-C", "set -x OUTPUT {};
|
|||||||
# (thank you very much dima https://github.com/qutebrowser/qutebrowser/issues/6281)
|
# (thank you very much dima https://github.com/qutebrowser/qutebrowser/issues/6281)
|
||||||
config.bind("<Ctrl-d>", "jseval -q window.scrollBy({top: window.innerHeight/2, left: 0, behavior: 'smooth'});")
|
config.bind("<Ctrl-d>", "jseval -q window.scrollBy({top: window.innerHeight/2, left: 0, behavior: 'smooth'});")
|
||||||
config.bind("<Ctrl-u>", "jseval -q window.scrollBy({top: -window.innerHeight/2, left: 0, behavior: 'smooth'});")
|
config.bind("<Ctrl-u>", "jseval -q window.scrollBy({top: -window.innerHeight/2, left: 0, behavior: 'smooth'});")
|
||||||
config.bind("G", "jseval -q window.scrollBy({top: document.body.scrollHeight + 1e6, left: 0, behavior: 'smooth'});")
|
config.bind("G", "jseval -q window.scrollBy({top: document.body.scrollHeight, left: 0, behavior: 'smooth'});")
|
||||||
config.bind("gg", "jseval -q window.scrollBy({top: -document.body.scrollHeight - 1e6, left: 0, behavior: 'smooth'});")
|
config.bind("gg", "jseval -q window.scrollBy({top: -document.body.scrollHeight, left: 0, behavior: 'smooth'});")
|
||||||
c.scrolling.smooth = True
|
c.scrolling.smooth = True
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
|
||||||
<title>Homepage</title>
|
|
||||||
</head>
|
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
background: black;
|
background: black;
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
# elon musk moment
|
|
||||||
<Multi_key> <X> <x> : "𝕏"
|
|
@ -1,6 +1,5 @@
|
|||||||
# include default settings
|
# include default settings
|
||||||
include "%L"
|
include "%L"
|
||||||
|
|
||||||
|
# emoji
|
||||||
include "%H/.config/xcompose/emoji"
|
include "%H/.config/xcompose/emoji"
|
||||||
|
|
||||||
include "%H/.config/xcompose/letters"
|
|
||||||
|
@ -1,28 +1,14 @@
|
|||||||
# might break things, but more secure
|
|
||||||
set sandbox strict
|
|
||||||
|
|
||||||
set statusbar-home-tilde true
|
|
||||||
|
|
||||||
# make things fit better
|
|
||||||
set smooth-scroll "true"
|
|
||||||
set scroll-page-aware true
|
|
||||||
set adjust-open width
|
|
||||||
|
|
||||||
set font "IBM Plex Sans 12"
|
|
||||||
|
|
||||||
set recolor-darkcolor "#ffffff"
|
set recolor-darkcolor "#ffffff"
|
||||||
set recolor-lightcolor rgba(0,0,0,0)
|
set recolor-lightcolor "#000000"
|
||||||
set recolor true
|
# set recolor true
|
||||||
set recolor-keephue true
|
|
||||||
set recolor-reverse-video true
|
|
||||||
|
|
||||||
set default-bg "#000000ff"
|
set default-bg "#000000ff"
|
||||||
set index-bg "#000000"
|
set index-bg "#000000"
|
||||||
set index-active-bg "#111111"
|
set index-active-bg "#111111"
|
||||||
set index-active-fg "#FFFFFF"
|
set index-active-fg "#FFFFFF"
|
||||||
set inputbar-bg rgba(0,0,0,0.5)
|
set inputbar-bg "#000000"
|
||||||
set inputbar-fg "#CCCCCC"
|
set inputbar-fg "#CCCCCC"
|
||||||
set statusbar-bg rgba(0,0,0,0.5)
|
set statusbar-bg "#000000"
|
||||||
|
|
||||||
set selection-clipboard clipboard
|
set selection-clipboard clipboard
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user