Compare commits

...

5 Commits

Author SHA1 Message Date
4a21d1cee7
nvim: swap more underlines and undercurls in theme 2024-03-16 15:21:39 -04:00
8213a5cb7d
qutebrowser, zathura: style changes
use liberation sans instead of IBM Plex
2024-03-16 15:20:45 -04:00
d3413eee28
fish: only source aliases if interactive 2024-03-16 15:19:49 -04:00
649725f483
nvim: back to pyright
mypy is slow and boring
2024-03-04 21:41:48 -05:00
989528a889
cleanup: add .sqlite_history 2024-03-04 21:41:13 -05:00
8 changed files with 49 additions and 28 deletions

View File

@ -2,7 +2,6 @@
# essentials # essentials
# #
ttf-jetbrains-mono ttf-jetbrains-mono
ttf-ibm-plex
wqy-microhei wqy-microhei
ttf-roboto ttf-roboto
noto-fonts noto-fonts
@ -127,6 +126,7 @@ syncthing
inkscape inkscape
typescript typescript
typescript-language-server typescript-language-server
pyright
bash-language-server bash-language-server
vscode-css-languageserver vscode-css-languageserver
rust-analyzer rust-analyzer

View File

@ -6,7 +6,7 @@ pipx install \
cppman \ cppman \
git+https://github.com/dogeystamp/testr git+https://github.com/dogeystamp/testr
pipx install python-lsp-server # pipx install python-lsp-server
pipx inject python-lsp-server \ # pipx inject python-lsp-server \
python-lsp-black \ # python-lsp-black \
pylsp-mypy # pylsp-mypy

View File

@ -1,5 +1,6 @@
# dynamic swallow (dwm patch) # dynamic swallow (dwm patch)
function swal function swal
return
if command -v dwmswallow > /dev/null if command -v dwmswallow > /dev/null
dwmswallow "$WINDOWID" $argv dwmswallow "$WINDOWID" $argv
end end
@ -7,6 +8,10 @@ end
alias mpv='swal -c mpv; command mpv' 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 # run this before opening, e.g., mpv or zathura
abbr -a -- ds swal; abbr -a -- ds swal;

View File

@ -90,16 +90,16 @@ end
-- table declares LSPs to be set up -- table declares LSPs to be set up
-- as well as settings per server (overrides defaults) -- as well as settings per server (overrides defaults)
local servers = { local servers = {
--pyright = {}, pyright = {},
pylsp = { -- pylsp = {
settings = { -- settings = {
plugins = { -- plugins = {
['python-lsp-black'] = {}, -- ['python-lsp-black'] = {},
['python-pyflakes'] = {}, -- ['python-pyflakes'] = {},
['pylsp-mypy'] = {}, -- ['pylsp-mypy'] = {},
}, -- },
}, -- },
}, -- },
clangd = {}, clangd = {},
tsserver = {}, tsserver = {},
bashls = {}, bashls = {},

View File

@ -82,6 +82,17 @@ Group.link("@type.qualifier", groups["keyword.return"])
Group.new("NormalFloat", colors.noir_1, colors.noir_9, no) 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/) -- imports (see .config/nvim/lua/)

View File

@ -11,12 +11,16 @@ 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.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.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.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.algorithm = "lightness-hsl"
c.colors.webpage.darkmode.contrast = 0.5 c.colors.webpage.darkmode.contrast = 0.5
@ -28,13 +32,14 @@ c.prompt.radius = 0
# Fonts # Fonts
c.fonts.default_size = "12pt" c.fonts.default_size = "13pt"
c.fonts.default_family = "IBM Plex Sans" c.fonts.default_family = "Liberation Sans"
c.fonts.prompts = "default_size default_family" 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.serif = "Liberation Sans"
c.fonts.web.family.sans_serif = "IBM Plex Sans" c.fonts.web.family.sans_serif = "Liberation Sans"
c.fonts.web.family.standard = "IBM Plex Sans" c.fonts.web.family.standard = "Liberation Sans"
c.fonts.web.family.fixed = "JetBrains Mono" 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')
@ -46,7 +51,7 @@ c.url.start_pages = "~/.config/qutebrowser/homepage.html"
c.url.searchengines = {"DEFAULT":"https://searx.be/search?q={}"} c.url.searchengines = {"DEFAULT":"https://searx.be/search?q={}"}
c.downloads.location.directory = "~/quar/" c.downloads.location.directory = "~/quar/"
c.zoom.default = "90%" c.zoom.default = "100%"
# Downloads # Downloads
@ -59,7 +64,7 @@ c.tabs.position = "top"
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.indicator.width = 0
c.tabs.position = "top" c.tabs.position = "bottom"
c.tabs.title.format = "{audio}{current_title}" c.tabs.title.format = "{audio}{current_title}"
c.tabs.padding = dict( c.tabs.padding = dict(
bottom=5, bottom=5,
@ -134,7 +139,7 @@ config.bind(",fL", "hint links userscript fixlink-tab.sh")
config.bind(",fo", "spawn --userscript fixlink.sh") config.bind(",fo", "spawn --userscript fixlink.sh")
# dismiss on-screen messages # dismiss on-screen messages
config.bind("<escape>", "clear-messages") config.bind("<escape>", "clear-messages;; search")
# homegrown file selector # homegrown file selector
c.fileselect.handler = "external" c.fileselect.handler = "external"

View File

@ -4,7 +4,7 @@ set statusbar-home-tilde true
set scroll-page-aware true set scroll-page-aware true
set adjust-open width set adjust-open width
set font "IBM Plex Sans 12" set font "Liberation Sans 13"
set recolor-darkcolor "#dddddd" set recolor-darkcolor "#dddddd"
set recolor-lightcolor rgba(0,0,0,0) set recolor-lightcolor rgba(0,0,0,0)
@ -18,7 +18,6 @@ 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 rgba(0,0,0,0.5)
set inputbar-fg "#CCCCCC" set inputbar-fg "#CCCCCC"
set highlight-transparency 0.75
set statusbar-bg rgba(0,0,0,0.5) set statusbar-bg rgba(0,0,0,0.5)
set render-loading false set render-loading false

View File

@ -13,6 +13,7 @@ rm -rf \
~/.avidemux6 \ ~/.avidemux6 \
~/.xsel.log \ ~/.xsel.log \
~/.gnuplot_history \ ~/.gnuplot_history \
~/.sqlite_history \
~/.gnome \ ~/.gnome \
~/.wavemonrc \ ~/.wavemonrc \
~/.viminfo \ ~/.viminfo \