24.05 Uakari

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-06-06 19:08:41 +02:00
parent 4f01013081
commit 8552ffd861
7 changed files with 74 additions and 51 deletions

View File

@@ -19,13 +19,13 @@ let
};
north = {
main = {
name = "DP-4";
name = "DP-1";
resolution = "2560x1440";
position = "1920x0";
scale = "1.0";
};
left = {
name = "HDMI-A-2";
name = "HDMI-A-1";
resolution = "1920x1080";
position = "0x360";
scale = "1.0";

View File

@@ -24,47 +24,47 @@ lib.mkIf (user != "tv")
show_symlink = true;
append_keymap = [
{ on = [ "<C-g>" ]; run = "lazygit"; desc = "Run Lazygit in current directory"; }
{ on = [ "<C-D>" ]; exec = ''shell 'dragon -x -i -T "$1"' --confirm''; }
{ on = [ "<C-D>" ]; run = ''shell 'dragon -x -i -T "$1"' --confirm''; }
];
};
opener = {
edit = [
{ exec = ''hx "$@"''; desc = "helix"; block = true;}
{ exec = ''codium "$@"''; orphan = true;}
{ exec = ''nano "$@"''; desc = "nano"; block = true;}
{ run = ''hx "$@"''; desc = "helix"; block = true;}
{ run = ''codium "$@"''; orphan = true;}
{ run = ''nano "$@"''; desc = "nano"; block = true;}
];
play = [
{ exec = ''mpv "$@"''; }
{ exec = ''mediainfo "$1"; echo "Press enter to exit"; read''; block = true; desc = "Show mediainfo";}
{ run = ''mpv "$@"''; }
{ run = ''mediainfo "$1"; echo "Press enter to exit"; read''; block = true; desc = "Show mediainfo";}
];
archive = [
{ exec = ''unar "$1"''; desc = "Extract here"; }
{ run = ''unar "$1"''; desc = "Extract here"; }
];
image = [
{ exec = ''imv "$@"''; desc = "imv";}
{ exec = ''gimp "$@"''; desc = "gimp";}
{ exec = ''swww img "$@"''; desc = "swww wallpaper";}
{ run = ''imv "$@"''; desc = "imv";}
{ run = ''gimp "$@"''; desc = "gimp";}
{ run = ''swww img "$@"''; desc = "swww wallpaper";}
];
font = [
{ exec = ''fontpreview "$@"''; desc = "fontpreview"; }
{ run = ''fontpreview "$@"''; desc = "fontpreview"; }
];
document = [
{ exec = ''zathura "$@"''; desc = "zathura"; }
{ exec = ''firefox "$@"''; desc = "firefox"; }
{ run = ''zathura "$@"''; desc = "zathura"; }
{ run = ''firefox "$@"''; desc = "firefox"; }
];
browser = [
{ exec = ''firefox "$@"''; desc = "firefox"; }
{ run = ''firefox "$@"''; desc = "firefox"; }
];
office = [
{ exec = ''libreoffice "$@"''; desc = "libreoffice"; }
{ exec = ''libreoffice --view "$@"''; desc = "libreoffice read-only"; }
{ run = ''libreoffice "$@"''; desc = "libreoffice"; }
{ run = ''libreoffice --view "$@"''; desc = "libreoffice read-only"; }
];
shell = [
{ exec = ''sh -c "$@"''; desc = "sh -c"; }
{ exec = ''bash -c "$@"''; desc = "bash -c"; }
{ run = ''sh -c "$@"''; desc = "sh -c"; }
{ run = ''bash -c "$@"''; desc = "bash -c"; }
];
python = [
{ exec = ''python "$@"''; desc = "python"; }
{ run = ''python "$@"''; desc = "python"; }
];
};
open.rules = [