diff options
| author | eric.marin <maarin.eric@gmail.com> | 2025-11-12 10:27:37 +0100 |
|---|---|---|
| committer | eric.marin <maarin.eric@gmail.com> | 2025-11-26 16:06:49 +0100 |
| commit | c2acdf9cca1de631c7d1c60d7cfba2a7ab816e59 (patch) | |
| tree | 79e704ab15eb53e01150f48b551cf3fc0216af71 | |
| parent | c56a3edcb64643785941caea60e7c99e234c6018 (diff) | |
| download | dotfiles-c2acdf9cca1de631c7d1c60d7cfba2a7ab816e59.tar.gz dotfiles-c2acdf9cca1de631c7d1c60d7cfba2a7ab816e59.zip | |
updated waybar
it's a bit wonky but now all modules have a constant width
| -rw-r--r-- | nvim/lua/plugins/nvim-lspconfig.lua | 5 | ||||
| -rwxr-xr-x | scripts/set_background | 2 | ||||
| -rw-r--r-- | wallust/wallust.toml | 2 | ||||
| -rw-r--r-- | waybar/config | 34 |
4 files changed, 37 insertions, 6 deletions
diff --git a/nvim/lua/plugins/nvim-lspconfig.lua b/nvim/lua/plugins/nvim-lspconfig.lua index 713a87b..45f77b7 100644 --- a/nvim/lua/plugins/nvim-lspconfig.lua +++ b/nvim/lua/plugins/nvim-lspconfig.lua @@ -112,6 +112,11 @@ local config = function() lsp.config("zls", { capabilities = capabilities, }) + -- Python + lsp.enable("pyright") + lsp.config("pyright", { + capabilities = capabilities, + }) end return { diff --git a/scripts/set_background b/scripts/set_background index 161a272..9a29ffa 100755 --- a/scripts/set_background +++ b/scripts/set_background @@ -14,7 +14,7 @@ wallust run $argv[1]; and begin set -U img $argv[1] swww img $argv[1] makoctl reload - notify-send -i $argv[1] "Wallust" "Changed wallpaper and palette." + notify-send -i $img "Wallust" "Changed wallpaper and palette." end; or begin notify-send -u critical "Wallust" "Failed to change palette" end; diff --git a/wallust/wallust.toml b/wallust/wallust.toml index 6214911..94a6665 100644 --- a/wallust/wallust.toml +++ b/wallust/wallust.toml @@ -1,4 +1,4 @@ -backend = "fastresize" +backend = "kmeans" check_contrast = true color_space = "lab" fallback_generator = "complementary" diff --git a/waybar/config b/waybar/config index a4b1dfc..675e08d 100644 --- a/waybar/config +++ b/waybar/config @@ -26,8 +26,19 @@ "on-click": "foot -T nmtui -o pad=0x0 nmtui" }, "pulseaudio": { - "format": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {volume}%", - "format-muted": "<span font-family='Symbols Nerd Font Mono'></span> {volume}%", + "states": { + "notempty": 9, + "notfull": 99, + }, + "format": "<span font-family='Symbols Nerd Font Mono'>{icon}</span>{volume}%", + "format-notfull": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {volume}%", + "format-notempty": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {volume}%", + "format-muted": "<span font-family='Symbols Nerd Font Mono'></span>{volume}%", + "format-muted-notfull": "<span font-family='Symbols Nerd Font Mono'></span> {volume}%", + "format-muted-notempty": "<span font-family='Symbols Nerd Font Mono'></span> {volume}%", + "format-bluetooth": "<span font-family='Symbols Nerd Font Mono'>{icon}</span>{volume}%", + "format-bluetooth-notfull": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {volume}%", + "format-bluetooth-notempty": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {volume}%", "format-icons": { "default": ["", "", ""], }, @@ -44,7 +55,13 @@ }, "backlight": { "device": "intel_backlight", - "format": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {percent}%", + "states": { + "notempty": 10, + "notfull": 100, + }, + "format": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {percent}%", + "format-notfull": "<span font-family='Symbols Nerd Font Mono'>{icon}</span>{percent}%", + "format-notempty": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {percent}%", "format-icons": ["", "", "", "", "", "", "", "", ""], "tooltip": false }, @@ -77,21 +94,30 @@ "tooltip-format": "{used:0.1f}GiB / {total:0.1f}GiB" }, "disk": { - "format": "<span font-family='Symbols Nerd Font Mono'></span> {percentage_used}%", + "states": { + "notempty": 10, + "notfull": 100, + }, + "format": "<span font-family='Symbols Nerd Font Mono'></span> {percentage_used}%", + "format-notfull": "<span font-family='Symbols Nerd Font Mono'></span>{percentage_used}%", + "format-notempty": "<span font-family='Symbols Nerd Font Mono'></span> {percentage_used}%", "tooltip-format": "{used} / {total}" }, "battery": { "interval": 5, "states": { + "notempty": 9, "warning": 25, "notfull": 99, }, "format": "<span font-family='Symbols Nerd Font Mono'>{icon}</span>{capacity}%", "format-notfull": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {capacity}%", "format-warning": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {capacity}%", + "format-notempty": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {capacity}%", "format-charging": "<span font-family='Symbols Nerd Font Mono'></span>{capacity}%", "format-charging-notfull": "<span font-family='Symbols Nerd Font Mono'></span> {capacity}%", "format-charging-warning": "<span font-family='Symbols Nerd Font Mono'></span> {capacity}%", + "format-charging-notempty": "<span font-family='Symbols Nerd Font Mono'></span> {capacity}%", "format-icons": ["","","","","","","","","","",""], }, "clock": { |
