From 8562298d833dd8a60d030779b94e16532f8baedf Mon Sep 17 00:00:00 2001 From: Uyanide Date: Mon, 20 Apr 2026 12:30:30 +0200 Subject: [PATCH] update --- config/niri/.config/niri/config/binds.kdl | 4 +++- config/niri/.config/niri/config/styles.kdl | 11 ++++++++--- config/shell/.config/zsh/conf.d/10-env.zsh | 5 +++++ config/shell/.config/zsh/conf.d/60-alias.zsh | 2 +- config/shell/.zprofile | 1 + config/yazi/.config/yazi/package.toml | 6 +++--- .../yazi/.config/yazi/plugins/git.yazi/README.md | 14 ++++++++------ 7 files changed, 29 insertions(+), 14 deletions(-) diff --git a/config/niri/.config/niri/config/binds.kdl b/config/niri/.config/niri/config/binds.kdl index 9340acf..ee2428f 100644 --- a/config/niri/.config/niri/config/binds.kdl +++ b/config/niri/.config/niri/config/binds.kdl @@ -12,6 +12,7 @@ binds { // Apps Mod+C repeat=false { spawn "code"; } Mod+E repeat=false { spawn "dolphin" "--new-window"; } + Mod+Shift+E repeat=false { spawn "nautilus" "--new-window"; } Mod+W repeat=false { spawn-sh "zen || zen-browser"; } Mod+B repeat=false { spawn-sh "pkill -x -n btop || ghostty +new-window -e btop"; } Mod+Shift+T repeat=false { spawn "ghostty" "+new-window"; } @@ -22,6 +23,7 @@ binds { Mod+O repeat=false { spawn-sh "pkill -x -n pwvucontrol || pwvucontrol"; } Ctrl+Alt+Delete repeat=false { spawn-sh "pkill -x wlogout || wlogout"; } Mod+P repeat=false { spawn-sh "wl-mirror $(niri msg --json focused-output | jq -r .name)"; } + Mod+H repeat=false { spawn "hexecute"; } // Quickshell @@ -32,7 +34,7 @@ binds { Mod+I repeat=false { spawn "qs" "ipc" "call" "idleInhibitor" "toggle"; } Mod+Alt+R repeat=false { spawn "qs" "ipc" "call" "recording" "startOrStop"; } Mod+Alt+G repeat=false { spawn "qs" "ipc" "call" "recording" "saveReplay"; } - Mod+Shift+E repeat=false { spawn "qs" "ipc" "call" "sunset" "toggle"; } + Mod+S repeat=false { spawn "qs" "ipc" "call" "sunset" "toggle"; } Mod+X repeat=false { spawn "qs" "ipc" "call" "notes" "openRecent"; } Mod+Shift+X repeat=false { spawn "qs" "ipc" "call" "notes" "create"; } diff --git a/config/niri/.config/niri/config/styles.kdl b/config/niri/.config/niri/config/styles.kdl index 21994a2..53c3567 100644 --- a/config/niri/.config/niri/config/styles.kdl +++ b/config/niri/.config/niri/config/styles.kdl @@ -64,10 +64,15 @@ prefer-no-csd animations { // off // slowdown 3.0 - + workspace-switch { - duration-ms 300 - curve "ease-out-cubic" + duration-ms 300 + curve "ease-out-cubic" + } + + overview-open-close { + duration-ms 300 + curve "ease-out-cubic" } } diff --git a/config/shell/.config/zsh/conf.d/10-env.zsh b/config/shell/.config/zsh/conf.d/10-env.zsh index 2640aa6..0d1c2ee 100644 --- a/config/shell/.config/zsh/conf.d/10-env.zsh +++ b/config/shell/.config/zsh/conf.d/10-env.zsh @@ -42,3 +42,8 @@ if (( $+commands[fnm] )); then eval "$(fnm env --shell zsh --use-on-cd)" fi +# bat + +if (( $+commands[bat] )); then + export BAT_THEME="Catppuccin Mocha" +fi diff --git a/config/shell/.config/zsh/conf.d/60-alias.zsh b/config/shell/.config/zsh/conf.d/60-alias.zsh index eccf9bb..feff212 100644 --- a/config/shell/.config/zsh/conf.d/60-alias.zsh +++ b/config/shell/.config/zsh/conf.d/60-alias.zsh @@ -187,7 +187,7 @@ if (( $+commands[git] )); then } pingo() { - cd "$HOME/Repositories/PGdP" || return 1 + cd "$HOME/Repositories/Uni" || return 1 local repo repo=$(uy_git_repo_from_clipboard) || return 1 local dir_name="${repo:t:r}" diff --git a/config/shell/.zprofile b/config/shell/.zprofile index 83c63f2..c578f01 100644 --- a/config/shell/.zprofile +++ b/config/shell/.zprofile @@ -44,6 +44,7 @@ fi # Paths [[ -f "$HOME/.cargo/env" ]] && source "$HOME/.cargo/env" +(( $+commands[opam] )) && eval "$(opam env)" prepend_path "$HOME/go/bin" prepend_path "$HOME/.local/bin" prepend_path "$HOME/.local/scripts" diff --git a/config/yazi/.config/yazi/package.toml b/config/yazi/.config/yazi/package.toml index 5bc6e09..277f141 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 = "babfd0f" -hash = "26db011a778f261d730d4f5f8bf24b3f" +rev = "442d908" +hash = "6849444b7c2df08eace83f3f86fb55a3" [[plugin.deps]] use = "yazi-rs/plugins:smart-enter" -rev = "babfd0f" +rev = "442d908" hash = "187cc58ba7ac3befd49c342129e6f1b6" [[plugin.deps]] diff --git a/config/yazi/.config/yazi/plugins/git.yazi/README.md b/config/yazi/.config/yazi/plugins/git.yazi/README.md index c014b38..8080861 100644 --- a/config/yazi/.config/yazi/plugins/git.yazi/README.md +++ b/config/yazi/.config/yazi/plugins/git.yazi/README.md @@ -25,14 +25,16 @@ And register it as fetchers in your `~/.config/yazi/yazi.toml`: ```toml [[plugin.prepend_fetchers]] -id = "git" -url = "*" -run = "git" +id = "git" # Remove if Yazi > v26.1.22 +url = "*" +run = "git" +group = "git" [[plugin.prepend_fetchers]] -id = "git" -url = "*/" -run = "git" +id = "git" # Remove if Yazi > v26.1.22 +url = "*/" +run = "git" +group = "git" ``` ## Advanced