mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat: vicinae, update servers
This commit is contained in:
parent
0e91b2184d
commit
edd507c0ec
20 changed files with 188 additions and 187 deletions
|
|
@ -1,19 +1,8 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
{config, ...}: let
|
||||
cfg = config.programs.anyrun;
|
||||
inherit (lib.meta) getExe;
|
||||
in {
|
||||
programs.niri.settings.binds = {
|
||||
"Mod+D".action = let
|
||||
sh = config.lib.niri.actions.spawn "sh" "-c";
|
||||
in
|
||||
sh (getExe cfg.package);
|
||||
};
|
||||
programs.anyrun = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
config = {
|
||||
x = {fraction = 0.5;};
|
||||
y = {fraction = 0.3;};
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ in {
|
|||
personalBindings = {
|
||||
"Mod+Return".action = sh ''${getExe config.programs.alacritty.package}'';
|
||||
"Mod+T".action.toggle-window-floating = {};
|
||||
"Mod+D".action = sh ''${getExe config.programs.vicinae.package} toggle'';
|
||||
#"Mod+D".action = sh ''${getExe config.programs.fuzzel.package} -D no -T "${getExe config.programs.alacritty.package} --command"'';
|
||||
#"Mod+D".action = sh ''${noctalia} launcher toggle'';
|
||||
#"Mod+Shift+D".action = sh ''${noctalia} launcher clipboard'';
|
||||
|
|
|
|||
31
home/environments/niri/vicinae.nix
Normal file
31
home/environments/niri/vicinae.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
brotab
|
||||
oath-toolkit
|
||||
];
|
||||
programs.vicinae = {
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
extensions =
|
||||
(with inputs.vicinae-extensions.packages.${pkgs.stdenv.hostPlatform.system}; [
|
||||
bluetooth
|
||||
nix
|
||||
mullvad
|
||||
player-pilot
|
||||
wifi-commander
|
||||
ssh
|
||||
niri
|
||||
brotab
|
||||
])
|
||||
++ [
|
||||
(inputs.vicinae.packages.${pkgs.stdenv.hostPlatform.system}.mkVicinaeExtension rec {
|
||||
pname = "vicinae-rbw";
|
||||
src = inputs.${pname}.outPath;
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -13,7 +13,6 @@
|
|||
enable = true;
|
||||
defaultApplications = {
|
||||
"inode/directory" = "pcmanfm.desktop";
|
||||
"text/plain" = "nvim.desktop";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue