This commit is contained in:
vxclutch
2026-05-23 19:19:53 -04:00
parent 3047669cd7
commit 6d9ee0868d
3 changed files with 65 additions and 64 deletions

View File

@@ -1,10 +1,7 @@
vim.lsp.enable { vim.lsp.enable {
"bashls",
"gopls", "gopls",
"lua_ls", "lua_ls",
"clangd", "clangd",
"jdtls",
"rust-analyzer",
} }
vim.diagnostic.config { virtual_text = true, underline = true, signs = false } vim.diagnostic.config { virtual_text = true, underline = true, signs = false }

View File

@@ -21,6 +21,9 @@ local tags = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }
local bar_font = "BigBlueTermPlus Nerd Font:style=Regular" local bar_font = "BigBlueTermPlus Nerd Font:style=Regular"
local is_desktop
if os.execute("command -v nmcli >/dev/null 2>&1") == 0 then is_desktop = nil else is_desktop = "yes" end
local blocks = { local blocks = {
oxwm.bar.block.ram({ oxwm.bar.block.ram({
format = "Ram: {used}/{total} GB", format = "Ram: {used}/{total} GB",
@@ -34,7 +37,7 @@ local blocks = {
color = colors.lavender, color = colors.lavender,
underline = false, underline = false,
}), }),
oxwm.bar.block.shell({ is_desktop or oxwm.bar.block.shell({
format = "{}", format = "{}",
command = "nmcli -t -f STATE general", command = "nmcli -t -f STATE general",
color = colors.red, color = colors.red,
@@ -45,7 +48,7 @@ local blocks = {
floating = true, floating = true,
} }
}), }),
oxwm.bar.block.static({ is_desktop or oxwm.bar.block.static({
text = "", text = "",
interval = 999999999, interval = 999999999,
color = colors.lavender, color = colors.lavender,

View File

@@ -2,6 +2,7 @@ export TERM=xterm-256color
export XDG_DOWNLOAD_DIR="$HOME/downloads" export XDG_DOWNLOAD_DIR="$HOME/downloads"
export XDG_PROJECTS_DIR="$HOME/programming" export XDG_PROJECTS_DIR="$HOME/programming"
export XDG_DESKTOP_DIR="$HOME" export XDG_DESKTOP_DIR="$HOME"
export XDG_DOCUMENTS_DIR="$HOME/media" export XDG_DOCUMENTS_DIR="$HOME/media"
export XDG_MUSIC_DIR="$HOME/media" export XDG_MUSIC_DIR="$HOME/media"