From d660d1ee2cc2dead3edf1ece5cc6a24cb85f0432 Mon Sep 17 00:00:00 2001 From: Uyanide Date: Mon, 11 May 2026 01:39:23 +0200 Subject: [PATCH] update --- config/helix/.config/helix/languages.toml | 9 +++++++++ config/niri/.config/niri/config/misc.kdl | 2 +- config/scripts/.local/snippets/set_display | 2 +- config/wallpaper/.config/wallreel/config.json | 4 ++-- config/wallpaper/Pictures/backgrounds | 2 +- config/yazi/.config/yazi/keymap.toml | 2 +- config/yazi/.config/yazi/package.toml | 4 ++-- config/yazi/.config/yazi/yazi.toml | 10 +++++----- 8 files changed, 22 insertions(+), 13 deletions(-) diff --git a/config/helix/.config/helix/languages.toml b/config/helix/.config/helix/languages.toml index cb8bfea..910fcd4 100644 --- a/config/helix/.config/helix/languages.toml +++ b/config/helix/.config/helix/languages.toml @@ -5,3 +5,12 @@ indent = { tab-width = 4, unit = " " } [[language]] name = "cpp" indent = { tab-width = 4, unit = " " } + +[[language]] +name = "python" +formatter = { command = "ruff", args = ["format", "-"] } +language-servers = ["ruff"] + +[language-server.ruff] +command = "ruff" +args = ["server"] diff --git a/config/niri/.config/niri/config/misc.kdl b/config/niri/.config/niri/config/misc.kdl index 7a332b3..395b060 100644 --- a/config/niri/.config/niri/config/misc.kdl +++ b/config/niri/.config/niri/config/misc.kdl @@ -1,7 +1,7 @@ screenshot-path "~/Pictures/Screenshots/niri_screenshot_%Y-%m-%d_%H-%M-%S.png" debug { - render-drm-device "/dev/dri/renderD129" + render-drm-device "/dev/dri/renderD128" honor-xdg-activation-with-invalid-serial } diff --git a/config/scripts/.local/snippets/set_display b/config/scripts/.local/snippets/set_display index a0f46de..9a2ea66 100644 --- a/config/scripts/.local/snippets/set_display +++ b/config/scripts/.local/snippets/set_display @@ -9,7 +9,7 @@ # Constants niri_config_file="$HOME/.config/niri/config/misc.kdl" -prefer_order=(nvidia intel) +prefer_order=(intel nvidia) # Get vendor and path of each GPU default_card_path="$(find /dev/dri/card* 2>/dev/null | head -n 1)" diff --git a/config/wallpaper/.config/wallreel/config.json b/config/wallpaper/.config/wallreel/config.json index f385423..7f24b5a 100644 --- a/config/wallpaper/.config/wallreel/config.json +++ b/config/wallpaper/.config/wallreel/config.json @@ -14,7 +14,7 @@ }, "action": { "onSelected": "qs ipc call background set '{{ path }}'; change-colortheme -c '{{ colorHex }}'", - "onPreview": "qs ipc call background preview '{{ path }}'; change-colortheme -c '{{ colorHex }}' quickshell niri", + "onPreview": "exit 0; qs ipc call background preview '{{ path }}'; change-colortheme -c '{{ colorHex }}' quickshell niri", "quitOnSelected": true, "saveState": [ { @@ -23,7 +23,7 @@ "command": "qs ipc call colors get mPrimary" } ], - "onRestore": "qs ipc call background preview ''; change-colortheme -c '{{ flavor }}' quickshell niri" + "onRestore": "exit 0; qs ipc call background preview ''; change-colortheme -c '{{ flavor }}' quickshell niri" }, "cache": { "maxImageEntries": 300 diff --git a/config/wallpaper/Pictures/backgrounds b/config/wallpaper/Pictures/backgrounds index 5984c56..48f5388 160000 --- a/config/wallpaper/Pictures/backgrounds +++ b/config/wallpaper/Pictures/backgrounds @@ -1 +1 @@ -Subproject commit 5984c56815be66b8ccc3948906476227802a8bcd +Subproject commit 48f5388c45336ffcc1700bf862c0cf41cf07ad22 diff --git a/config/yazi/.config/yazi/keymap.toml b/config/yazi/.config/yazi/keymap.toml index 511c173..9441d49 100755 --- a/config/yazi/.config/yazi/keymap.toml +++ b/config/yazi/.config/yazi/keymap.toml @@ -1,6 +1,6 @@ # A TOML linter such as https://taplo.tamasfe.dev/ can use this schema to validate your config0 # If you encounter any issues, please make an issue at https://github.com/yazi-rs/schemas. -"$schema" = "https://yazi-rs.github.io/schemas/keymap.json" +#:schema https://yazi-rs.github.io/schemas/keymap.json [mgr] prepend_keymap = [ diff --git a/config/yazi/.config/yazi/package.toml b/config/yazi/.config/yazi/package.toml index 14b594e..6e93545 100644 --- a/config/yazi/.config/yazi/package.toml +++ b/config/yazi/.config/yazi/package.toml @@ -1,11 +1,11 @@ [[plugin.deps]] use = "yazi-rs/plugins:git" -rev = "26512c7" +rev = "4ffa48f" hash = "6849444b7c2df08eace83f3f86fb55a3" [[plugin.deps]] use = "yazi-rs/plugins:smart-enter" -rev = "26512c7" +rev = "4ffa48f" hash = "187cc58ba7ac3befd49c342129e6f1b6" [[plugin.deps]] diff --git a/config/yazi/.config/yazi/yazi.toml b/config/yazi/.config/yazi/yazi.toml index d7e00e9..8392871 100755 --- a/config/yazi/.config/yazi/yazi.toml +++ b/config/yazi/.config/yazi/yazi.toml @@ -1,6 +1,6 @@ # A TOML linter such as https://taplo.tamasfe.dev/ can use this schema to validate your config. # If you encounter any issues, please make an issue at https://github.com/yazi-rs/schemas. -"$schema" = "https://yazi-rs.github.io/schemas/yazi.json" +#:schema https://yazi-rs.github.io/schemas/yazi.json [mgr] ratio = [1, 3, 4] @@ -86,10 +86,10 @@ suppress_preload = false [plugin] fetchers = [ # Mimetype - { id = "mime", url = "*/", run = "mime.dir", prio = "high" }, - { id = "mime", url = "*", run = "mime.local", if = "!mime", prio = "high" }, - { id = "git", url = "*", run = "git", prio = "normal" }, - { id = "git", url = "*/", run = "git", prio = "normal" }, + { id = "mime", url = "*/", run = "mime.dir", prio = "high", group = "mime" }, + { id = "mime", url = "*", run = "mime.local", if = "!mime", prio = "high", group = "mime" }, + { id = "git", url = "*", run = "git", prio = "normal", group = "mime" }, + { id = "git", url = "*/", run = "git", prio = "normal", group = "mime" }, ] preloaders = [ # Image