From ea2b5600f46bdbfbef8735384f4f4bd2d82ae1ed Mon Sep 17 00:00:00 2001 From: Joshua Yun Date: Sun, 10 Aug 2025 16:00:03 -0400 Subject: config changes 8/10/25 --- nvim/lua/plugins/plugins.lua | 2 +- shell/zprofile | 9 ++++++--- waybar/config | 18 +++++++++++++++--- 3 files changed, 22 insertions(+), 7 deletions(-) diff --git a/nvim/lua/plugins/plugins.lua b/nvim/lua/plugins/plugins.lua index ad3d8e3..0f7a9ea 100755 --- a/nvim/lua/plugins/plugins.lua +++ b/nvim/lua/plugins/plugins.lua @@ -56,7 +56,7 @@ return { verible = function(_, opts) vim.lsp.enable('verible') vim.lsp.config('verible', { - cmd = { "verible-verilog-ls", "--rules=+line-length=length:200" }, + cmd = { "verible-verilog-ls", "--rules=+line-length=length:400" }, filetypes = { "systemverilog", "verilog" }, root_markers = { ".git" }, }) diff --git a/shell/zprofile b/shell/zprofile index 8cf0ae3..06e9d43 100644 --- a/shell/zprofile +++ b/shell/zprofile @@ -1,14 +1,17 @@ -# Rust binaries +# Path variables export PATH=$PATH:$HOME/.cargo/bin/ - -# Local binaries / scripts export PATH=$PATH:$HOME/.local/bin +export PATH=$PATH:$HOME/.local/riscv/bin +# XDG Variables export XDG_CONFIG_HOME="$HOME/.config" # zshrc directory export ZDOTDIR="$XDG_CONFIG_HOME/zsh" +# Make Electron apps behave well +export ELECTRON_OZONE_PLATFORM_HINT=wayland + [[ -f ~/.zshrc ]] && . ~/.zshrc # [ "$(tty)" = "/dev/tty1" ] && ! pidof -s Hyprland >/dev/null 2>&1 && exec Hyprland diff --git a/waybar/config b/waybar/config index 319fcca..a24d239 100644 --- a/waybar/config +++ b/waybar/config @@ -2,11 +2,23 @@ "layer": "top", "modules-left": ["niri/workspaces"], "modules-center": ["hyprland/window"], - "modules-right": ["cpu", "memory", "temperature", "pulseaudio", "clock", "tray"], + "modules-right": ["cpu", "memory", "temperature", "pulseaudio", "battery", "clock", "tray"], + + "battery": { + "bat": "BAT1", + "interval": 60, + "states": { + "warning": 20, + "critical": 10 + }, + "format": "{capacity}% {icon}", + "format-icons": ["", "", "", "", ""], + }, "cpu": { "interval": 5, - "format": "CPU: {icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}", + // "format": "CPU: {icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}", + "format": "CPU:{usage}%", "format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"], }, @@ -26,7 +38,7 @@ "pulseaudio": { "format": "{volume}% {icon} ", "format-bluetooth": "{volume}% {icon}", - "format-muted": "", + "format-muted": "󰝟", "format-icons": { "default": ["", ""] }, -- cgit v1.2.3