some stuff

This commit is contained in:
Matt Nish-Lapidus 2025-02-26 22:18:59 -05:00
parent 8200fed53f
commit 31f443be36
15 changed files with 992 additions and 77 deletions

View file

@ -123,8 +123,9 @@
protonplus
fstl
nwg-look
librewolf
# screen recording and streaming
kooha
obs-studio
obs-studio-plugins.wlrobs
@ -202,7 +203,7 @@
categories = [ "System" ];
};
mirror-laptop = {
name = "mirror laptop to external display";
name = "mirror laptop";
exec = "/home/emene/.local/bin/mirror-laptop";
categories = [ "System" ];
};

View file

@ -72,23 +72,6 @@ in {
}
];
}
{
name = "laptop-mirror";
exec = [ "notify-send shikane \"Profile $SHIKANE_PROFILE_NAME has been applied\"" "wl-present mirror eDP-1 & sleep .5; wl-present fullscreen-output HDMI-A-1; wl-present fullscreen" ];
output = [
{
enable = true;
search = [ "m=TL140ADXP04-0" "s=" "v=Thermotrex Corporation" ];
mode = "2560x1600@240Hz";
position = "0,0";
adaptive_sync = true;
}
{
enable = true;
search = "n/HDMI-[ABC]-[1-9]";
}
];
}
];
};
}

View file

@ -7,6 +7,7 @@
initLua = ../../homes/emenel/dotfiles/dot_config/yazi/init.lua;
keymap = {
manager.prepend_keymap = [
{ on = "!"; run = "shell '$SHELL' --block"; desc = "Open shell here"; }
{ on = ["c" "d"]; run = "shell 'ripdrag \"$@\" -x 2>/dev/null &' --confirm"; desc = "Drag selection";}
{ on = ["c" "c"]; run = "yank"; desc = "Copy file"; }
{ on = ["c" "n"]; run = "copy filename"; desc = "Copy file name"; }
@ -25,7 +26,6 @@
{ on = "M"; run = "plugin mount"; }
{ on = "p"; run = "plugin smart-paste"; desc = "Paste into the hovered directory or CWD"; }
{ on = ["g" "l"]; run = "plugin lazygit"; desc = "lazygit"; }
{ on = "F"; run = "plugin jump-to-char"; desc = "jump to char"; }
{ on = "k"; run = "plugin arrow -1"; desc = "up"; }
{ on = "j"; run = "plugin arrow 1"; desc = "down"; }
{ on = "<Up>"; run = "plugin arrow -1"; desc = "up"; }
@ -36,7 +36,15 @@
{ on = "<Enter>"; run = "plugin smart-enter"; desc = "Enter the child directory, or open the file"; }
{ on = "<Right>"; run = "plugin smart-enter"; desc = "Enter the child directory, or open the file"; }
{ on = "<Backspace>"; run = "remove"; }
{ on = ["t" "i"]; run = "inspect"; desc = "inspect"; }
{ on = [ "t" "s" ]; run = "plugin what-size"; desc = "Calc size of selection or cwd"; }
{ on = ["d" "u"]; run = "plugin restore"; desc = "Restore last deleted files/folders"; }
{ on = ["d" "d"]; run = "remove"; desc = "Delete files/folders"; }
{ on = ["F" "g"]; run = "plugin fg"; desc = "Find file by content (fuzzy)"; }
{ on = ["F" "G"]; run = "plugin fg rg"; desc = "Find file by content (ripgrep)"; }
{ on = ["F" "f"]; run = "plugin fg fzf"; desc = "Find file by name (fuzzy)"; }
];
};
settings = {
@ -46,6 +54,10 @@
show_symlink = true;
};
opener = {
open = [
{ run = "plugin open-with-cmd --args=block"; desc = "Open with command in the terminal"; }
{ run = "plugin open-with-cmd"; desc = "Open with command"; }
];
edit = [
{ run = "emacsclient -r -n \"$@\""; desc = "open in current emacsclient"; orphan = true; }
];
@ -68,6 +80,9 @@
{ mime = "application/x-xz"; run = "ouch"; }
{ mime = "application/octet-stream"; run = "ouch"; }
{ name = "*.el"; run = "code"; }
{ name = "*.lisp"; run = "code"; }
{ name = "*.org"; run = "glow"; }
{ name = "*"; run = "file-extra-metadata"; }
{ name = "*.md"; run = "glow"; }
{ mime = "{image,audio,video}/*"; run = "mediainfo";}
@ -94,6 +109,8 @@
name = "*/";
run = "git";
}
{ id = "simple-tag"; name = "*"; run = "simple-tag"; }
{ id = "simple-tag"; name = "*/"; run = "simple-tag"; }
];
};
};