Compare commits
5 Commits
71f8e957bc
...
4a21d1cee7
Author | SHA1 | Date | |
---|---|---|---|
4a21d1cee7 | |||
8213a5cb7d | |||
d3413eee28 | |||
649725f483 | |||
989528a889 |
2
programs
2
programs
@ -2,7 +2,6 @@
|
||||
# essentials
|
||||
#
|
||||
ttf-jetbrains-mono
|
||||
ttf-ibm-plex
|
||||
wqy-microhei
|
||||
ttf-roboto
|
||||
noto-fonts
|
||||
@ -127,6 +126,7 @@ syncthing
|
||||
inkscape
|
||||
typescript
|
||||
typescript-language-server
|
||||
pyright
|
||||
bash-language-server
|
||||
vscode-css-languageserver
|
||||
rust-analyzer
|
||||
|
@ -6,7 +6,7 @@ pipx install \
|
||||
cppman \
|
||||
git+https://github.com/dogeystamp/testr
|
||||
|
||||
pipx install python-lsp-server
|
||||
pipx inject python-lsp-server \
|
||||
python-lsp-black \
|
||||
pylsp-mypy
|
||||
# pipx install python-lsp-server
|
||||
# pipx inject python-lsp-server \
|
||||
# python-lsp-black \
|
||||
# pylsp-mypy
|
||||
|
@ -1,5 +1,6 @@
|
||||
# dynamic swallow (dwm patch)
|
||||
function swal
|
||||
return
|
||||
if command -v dwmswallow > /dev/null
|
||||
dwmswallow "$WINDOWID" $argv
|
||||
end
|
||||
@ -7,6 +8,10 @@ end
|
||||
|
||||
alias mpv='swal -c mpv; command mpv'
|
||||
|
||||
# prevent clobbering files
|
||||
alias mv='mv -n'
|
||||
alias cp='cp -n'
|
||||
|
||||
# run this before opening, e.g., mpv or zathura
|
||||
abbr -a -- ds swal;
|
||||
|
||||
|
@ -90,16 +90,16 @@ end
|
||||
-- table declares LSPs to be set up
|
||||
-- as well as settings per server (overrides defaults)
|
||||
local servers = {
|
||||
--pyright = {},
|
||||
pylsp = {
|
||||
settings = {
|
||||
plugins = {
|
||||
['python-lsp-black'] = {},
|
||||
['python-pyflakes'] = {},
|
||||
['pylsp-mypy'] = {},
|
||||
},
|
||||
},
|
||||
},
|
||||
pyright = {},
|
||||
-- pylsp = {
|
||||
-- settings = {
|
||||
-- plugins = {
|
||||
-- ['python-lsp-black'] = {},
|
||||
-- ['python-pyflakes'] = {},
|
||||
-- ['pylsp-mypy'] = {},
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
clangd = {},
|
||||
tsserver = {},
|
||||
bashls = {},
|
||||
|
@ -82,6 +82,17 @@ Group.link("@type.qualifier", groups["keyword.return"])
|
||||
|
||||
Group.new("NormalFloat", colors.noir_1, colors.noir_9, no)
|
||||
|
||||
-- swap undercurls and underlines
|
||||
for _, v in ipairs({"Error", "Info", "Hint", "Warn"}) do
|
||||
col_name = "diagnostic_" .. string.lower(v)
|
||||
if v == "Warn" then
|
||||
col_name = "diagnostic_warning"
|
||||
end
|
||||
|
||||
Group.new("Diagnostic" .. v, colors[col_name], nil, styles.underline)
|
||||
Group.new("DiagnosticUnderline" .. v, colors[col_name], nil, styles.undercurl)
|
||||
end
|
||||
|
||||
--------------------------------
|
||||
--------------------------------
|
||||
-- imports (see .config/nvim/lua/)
|
||||
|
@ -11,12 +11,16 @@ c.colors.statusbar.private.bg = "black"
|
||||
c.colors.statusbar.command.private.bg = "black"
|
||||
c.colors.hints.bg = "black"
|
||||
c.colors.hints.fg = "white"
|
||||
c.colors.tabs.bar.bg = "transparent"
|
||||
|
||||
c.colors.tabs.even.bg = "#66111111"
|
||||
c.colors.tabs.bar.bg = "#00000000"
|
||||
c.colors.tabs.even.bg = "#11111111"
|
||||
c.colors.tabs.odd.bg = c.colors.tabs.even.bg
|
||||
c.colors.tabs.selected.even.bg = "#dd444455"
|
||||
c.colors.tabs.even.fg = "#aaaaaa"
|
||||
c.colors.tabs.odd.fg = c.colors.tabs.even.fg
|
||||
c.colors.tabs.selected.even.bg = "#55333333"
|
||||
c.colors.tabs.selected.odd.bg = c.colors.tabs.selected.even.bg
|
||||
c.colors.tabs.selected.even.fg = "#ffffff"
|
||||
c.colors.tabs.selected.odd.fg = c.colors.tabs.selected.even.fg
|
||||
|
||||
c.colors.webpage.darkmode.algorithm = "lightness-hsl"
|
||||
c.colors.webpage.darkmode.contrast = 0.5
|
||||
@ -28,13 +32,14 @@ c.prompt.radius = 0
|
||||
|
||||
# Fonts
|
||||
|
||||
c.fonts.default_size = "12pt"
|
||||
c.fonts.default_family = "IBM Plex Sans"
|
||||
c.fonts.default_size = "13pt"
|
||||
c.fonts.default_family = "Liberation Sans"
|
||||
c.fonts.prompts = "default_size default_family"
|
||||
c.fonts.tooltip = "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.serif = "Liberation Sans"
|
||||
c.fonts.web.family.sans_serif = "Liberation Sans"
|
||||
c.fonts.web.family.standard = "Liberation Sans"
|
||||
c.fonts.web.family.fixed = "JetBrains Mono"
|
||||
|
||||
config.bind('td', 'config-cycle colors.webpage.darkmode.enabled true false;; restart')
|
||||
@ -46,7 +51,7 @@ c.url.start_pages = "~/.config/qutebrowser/homepage.html"
|
||||
c.url.searchengines = {"DEFAULT":"https://searx.be/search?q={}"}
|
||||
c.downloads.location.directory = "~/quar/"
|
||||
|
||||
c.zoom.default = "90%"
|
||||
c.zoom.default = "100%"
|
||||
|
||||
# Downloads
|
||||
|
||||
@ -59,7 +64,7 @@ c.tabs.position = "top"
|
||||
c.statusbar.show = "in-mode"
|
||||
c.statusbar.widgets = [ "keypress", "progress" ]
|
||||
c.tabs.indicator.width = 0
|
||||
c.tabs.position = "top"
|
||||
c.tabs.position = "bottom"
|
||||
c.tabs.title.format = "{audio}{current_title}"
|
||||
c.tabs.padding = dict(
|
||||
bottom=5,
|
||||
@ -134,7 +139,7 @@ config.bind(",fL", "hint links userscript fixlink-tab.sh")
|
||||
config.bind(",fo", "spawn --userscript fixlink.sh")
|
||||
|
||||
# dismiss on-screen messages
|
||||
config.bind("<escape>", "clear-messages")
|
||||
config.bind("<escape>", "clear-messages;; search")
|
||||
|
||||
# homegrown file selector
|
||||
c.fileselect.handler = "external"
|
||||
|
@ -4,7 +4,7 @@ set statusbar-home-tilde true
|
||||
set scroll-page-aware true
|
||||
set adjust-open width
|
||||
|
||||
set font "IBM Plex Sans 12"
|
||||
set font "Liberation Sans 13"
|
||||
|
||||
set recolor-darkcolor "#dddddd"
|
||||
set recolor-lightcolor rgba(0,0,0,0)
|
||||
@ -18,7 +18,6 @@ set index-active-bg "#111111"
|
||||
set index-active-fg "#FFFFFF"
|
||||
set inputbar-bg rgba(0,0,0,0.5)
|
||||
set inputbar-fg "#CCCCCC"
|
||||
set highlight-transparency 0.75
|
||||
set statusbar-bg rgba(0,0,0,0.5)
|
||||
|
||||
set render-loading false
|
||||
|
@ -13,6 +13,7 @@ rm -rf \
|
||||
~/.avidemux6 \
|
||||
~/.xsel.log \
|
||||
~/.gnuplot_history \
|
||||
~/.sqlite_history \
|
||||
~/.gnome \
|
||||
~/.wavemonrc \
|
||||
~/.viminfo \
|
||||
|
Loading…
Reference in New Issue
Block a user