25.11 fixes

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2025-12-03 14:13:17 +01:00
parent edda49ee66
commit 1e20d645eb
2 changed files with 56 additions and 50 deletions

View File

@@ -185,19 +185,27 @@ in {
]; ];
}; };
gestures = { # gestures = {
workspace_swipe = true; # workspace_swipe = true;
workspace_swipe_fingers = "4"; # workspace_swipe_fingers = "4";
workspace_swipe_distance = "300"; # workspace_swipe_distance = "300";
workspace_swipe_invert = true; # workspace_swipe_invert = true;
workspace_swipe_min_speed_to_force = "30"; # workspace_swipe_min_speed_to_force = "30";
workspace_swipe_cancel_ratio = "0.5"; # workspace_swipe_cancel_ratio = "0.5";
workspace_swipe_create_new = false; # workspace_swipe_create_new = false;
workspace_swipe_direction_lock = false; # workspace_swipe_direction_lock = false;
workspace_swipe_direction_lock_threshold = "10"; # workspace_swipe_direction_lock_threshold = "10";
workspace_swipe_forever = true; # workspace_swipe_forever = true;
workspace_swipe_use_r = false; # workspace_swipe_use_r = false;
}; # };
gesture = [
"4, horizontal, workspace"
# "3, down, mod: ALT, close"
# "3, up, mod: SUPER, scale: 1.5, fullscreen"
# "3, left, scale: 1.5, float"
];
dwindle = { dwindle = {
preserve_split = true; # you probably want this preserve_split = true; # you probably want this
@@ -278,7 +286,7 @@ in {
"dimaround, title:^(terminal-file-picker)$" "dimaround, title:^(terminal-file-picker)$"
"center, title:^(terminal-file-picker)$" "center, title:^(terminal-file-picker)$"
"size 80% 80%, title:^(terminal-file-picker)$" "size 80% 80%, title:^(terminal-file-picker)$"
"size: 30% 30%, initialTitle:^(Select Calendar)$" "size 30% 30%, initialTitle:^(Select Calendar)$"
]; ];

View File

@@ -206,64 +206,62 @@ in {
}; };
opener = { opener = {
"edit" = [ "edit" = [
{ run = ''hx "$0" "$@"''; desc = "Helix"; block = true; } { run = ''hx "$@"''; desc = "Helix"; block = true; }
{ run = ''codium "$0" "$@"''; desc = "VS Code"; orphan = true; } { run = ''codium "$@"''; desc = "VS Code"; orphan = true; }
{ run = ''antigravity "$0" "$0"''; desc = "Antigravity"; orphan = true; } { run = ''cat "$@" | wl-copy''; desc = "Copy Contents"; }
{ run = ''cat "$0" "$@" | wl-copy''; desc = "Copy Contents"; }
]; ];
"play" = [ "play" = [
{ run = ''mpv "$0" "$@"''; desc = "mpv"; orphan = true; } { run = ''mpv "$@"''; desc = "MPV"; orphan = true; }
{ run = ''mpv --vf=negate "$0" "$@"''; desc = "mpv inverted"; orphan = true; } { run = ''mpv --vf=negate "$@"''; desc = "MPV inverted"; orphan = true; }
{ run = ''mediainfo "$0"; echo "Press enter to return to yazi"; read''; block = true; desc = "Show mediainfo"; } { run = ''mediainfo "$1"; echo "Press enter to return to yazi"; read''; block = true; desc = "Show mediainfo"; }
]; ];
"archive" = [ "archive" = [
{ run = ''unar "$0" "$@"''; desc = "Extract here"; } { run = ''unar "$@"''; desc = "Extract here"; }
{ run = ''tar -x "$0" "$@"''; desc = "tar -x"; } { run = ''tar -x "$@"''; desc = "tar -x"; }
{ run = ''unzip "$0" "$@"''; desc = "unzip"; } { run = ''unzip "$@"''; desc = "unzip"; }
]; ];
"image" = [ "image" = [
{ run = ''imv "$0" "$@"''; desc = "imv"; orphan = true; } { run = ''imv "$@"''; desc = "IMV"; orphan = true; }
{ run = ''gimp "$0" "$@"''; desc = "gimp"; orphan = true; } { run = ''gimp "$@"''; desc = "Gimp"; orphan = true; }
{ run = ''swww img --transition-type wipe --transition-angle 60 --transition-step 120 --transition-fps 120 "$0"''; desc = "swww wallpaper"; } { run = ''swww img --transition-type wipe --transition-angle 60 --transition-step 120 --transition-fps 120 "$1"''; desc = "swww wallpaper"; }
{ run = ''exiftool "$0"; echo "Press enter to return to yazi"; read''; desc = "View Exif Data"; } { run = ''exiftool "$1"; echo "Press enter to return to yazi"; read''; desc = "View Exif Data"; }
{ run = ''for f in "$0"; do magick "$f" -auto-orient "''${f%.*}.pdf"; done''; desc = "Convert to PDF"; } { run = ''for f in "$1"; do magick "$f" -auto-orient "''${f%.*}.pdf"; done''; desc = "Convert to PDF"; }
]; ];
"svg" = [ "svg" = [
{ run = ''inkscape "$0" "$@"''; desc = "inkscape"; orphan = true; } { run = ''inkscape "$@"''; desc = "Inkscape"; orphan = true; }
{ run = ''firefox "$0" "$@"''; desc = "firefox"; orphan = true; } { run = ''firefox "$@"''; desc = "Firefox"; orphan = true; }
]; ];
"font" = [ "font" = [
{ run = ''fontpreview "$0" "$@"''; desc = "fontpreview"; orphan = true; } { run = ''fontpreview "$@"''; desc = "Fontpreview"; orphan = true; }
{ run = ''fontforge "$0" "$@"''; desc = "fortforge"; orphan = true; } { run = ''fontforge "$@"''; desc = "Fortforge"; orphan = true; }
]; ];
"document" = [ "document" = [
{ run = ''zathura "$0" "$@"''; desc = "zathura"; orphan = true; } { run = ''zathura "$@"''; desc = "Zathura"; orphan = true; }
{ run = ''xournal "$0" "$@"''; desc = "xournal"; orphan = true; } { run = ''firefox "$@"''; desc = "Firefox"; orphan = true; }
{ run = ''firefox "$0" "$@"''; desc = "firefox"; orphan = true; } { run = ''nxgs flip "$@"''; desc = "nxgs flip"; }
{ run = ''nxgs flip "$0" "$@"''; desc = "nxgs flip"; } { run = ''nxgs rotate "$@"''; desc = "nxgs rotate"; }
{ run = ''nxgs rotate "$0" "$@"''; desc = "nxgs rotate"; } { run = ''nxgs interactive-merge "$@"''; block = true; desc = "nxgs merge"; }
{ run = ''nxgs interactive-merge "$0" "$@"''; block = true; desc = "nxgs merge"; }
]; ];
"browser" = [ "browser" = [
{ run = ''firefox "$0" "$@"''; desc = "firefox"; orphan = true; } { run = ''firefox "$@"''; desc = "Firefox"; orphan = true; }
{ run = ''chromium --enable-features=UseOzonePlatform --ozone-platform=wayland "$0" "$@"''; desc = "chromium"; orphan = true; } { run = ''chromium --enable-features=UseOzonePlatform --ozone-platform=wayland "$@"''; desc = "Chromium"; orphan = true; }
{ run = ''w3m "$0" "$@"''; desc = "w3m"; } { run = ''w3m "$@"''; desc = "w3m"; }
{ run = ''lynx "$0" "$@"''; desc = "lynx"; } { run = ''lynx "$@"''; desc = "Lynx"; }
]; ];
"office" = [ "office" = [
{ run = ''libreoffice "$0" "$@"''; desc = "libreoffice"; orphan = true; } { run = ''libreoffice "$@"''; desc = "LibreOffice"; orphan = true; }
{ run = ''libreoffice --view "$0" "$@"''; desc = "libreoffice read-only"; orphan = true; } { run = ''libreoffice --view "$@"''; desc = "LibreOffice read-only"; orphan = true; }
]; ];
"shell" = [ "shell" = [
{ run = ''bash -c "$0"; echo "Press enter to return to yazi"; read''; desc = "bash -c"; } { run = ''bash -c "$1"; echo "Press enter to return to yazi"; read''; desc = "bash -c"; }
{ run = ''fish -c "$0"; echo "Press enter to return to yazi"; read''; desc = "fish -c"; } { run = ''fish -c "$1"; echo "Press enter to return to yazi"; read''; desc = "fish -c"; }
{ run = ''sh -c "$0"; echo "Press enter to return to yazi"; read''; desc = "sh -c"; } { run = ''sh -c "$1"; echo "Press enter to return to yazi"; read''; desc = "sh -c"; }
]; ];
"python" = [ "python" = [
{ run = ''python "$@"; echo "Press enter to return to yazi"; read''; desc = "python"; block = true; } { run = ''python "$@"; echo "Press enter to return to yazi"; read''; desc = "Python"; block = true; }
]; ];
"directory" = [ "directory" = [
{ run = ''lazygit "$0"''; desc = "lazygit"; } { run = ''lazygit "$1"''; desc = "LazyGit"; }
]; ];
}; };
open.rules = [ open.rules = [